Get a content object either by SWHID or by hashes
Return file data as new node, now supports raw data as a binary text
Add dummy fields for file type, language and license
Related to T4310
Differential D8239
Add missing fields to the Content object Authored by jayeshv on Aug 12 2022, 12:24 PM.
Details
Get a content object either by SWHID or by hashes Related to T4310
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D8239 (id=29718)Rebasing onto 3a1be9a212... First, rewinding head to replay your work on top of it... Applying: Add missing fields to the Content object Changes applied before testcommit b03263b1ff5bd855cef1dd6d8353de86d729d241
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Return file data as new node, now supports raw data as a binary text
Add fields for file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/94/ for more details. Comment Actions Build is green Patch application report for D8239 (id=29720)Rebasing onto 3a1be9a212... First, rewinding head to replay your work on top of it... Applying: Add missing fields to the Content object Changes applied before testcommit 3032b139f20a438465f100c566f4392c657bd000
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Return file data as new node, now supports raw data as a binary text
Add fields for file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/95/ for more details. Comment Actions Build is green Patch application report for D8239 (id=29723)Rebasing onto 3a1be9a212... First, rewinding head to replay your work on top of it... Applying: Add missing fields to the Content object Changes applied before testcommit cbf2016a065b3b1a069adf1cf36862b6427dceb9
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Return file data as new node, now supports raw data as a binary text
Add fields for file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/96/ for more details. Comment Actions Build has FAILED Patch application report for D8239 (id=29769)Rebasing onto 84484e27c1... Current branch diff-target is up to date. Changes applied before testcommit 6622176076f7efd1961056f725cce01170a23e19
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Content can be requested either with a SWHID or with a list of checksums.
Return file data as new node, now supports raw data as a binary text
Add dummy fields for content file type, language and license
Related to T4310Link to build: https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/100/ Comment Actions Build is green Patch application report for D8239 (id=29770)Rebasing onto 84484e27c1... Current branch diff-target is up to date. Changes applied before testcommit 1c9d80be14bdabb2e1567632d9f7ec65a3bee922
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Content can be requested either with a SWHID or with a list of checksums.
Return file data as new node, now supports raw data as a binary text
Add dummy fields for content file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/101/ for more details. Comment Actions Build is green Patch application report for D8239 (id=29775)Rebasing onto 84484e27c1... Current branch diff-target is up to date. Changes applied before testcommit bd93ef7c83e001d1c2d600d064cb80d49a8ea6f6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Content can be requested either with a SWHID or with a list of checksums.
Return file data as new node, now supports raw data as a binary text
Add dummy fields for content file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/102/ for more details. Comment Actions Build is green Patch application report for D8239 (id=29776)Rebasing onto 84484e27c1... Current branch diff-target is up to date. Changes applied before testcommit 2dfc5430f99273232c70b8e6a627c3cdeb43fc16
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Content can be requested either with a SWHID or with a list of checksums.
Return file data as new node, now supports raw data as a binary text
Add dummy fields for content file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/103/ for more details. Comment Actions Build is green Patch application report for D8239 (id=29783)Rebasing onto a9334a0e57... Current branch diff-target is up to date. Changes applied before testcommit f1a110703955a7624f588d4030b27f2493b52b3c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Content can be requested either with a SWHID or with a list of checksums.
Return file data as new node, now supports raw data as a binary text
Add dummy fields for content file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/104/ for more details.
Comment Actions Build is green Patch application report for D8239 (id=29794)Rebasing onto a9334a0e57... Current branch diff-target is up to date. Changes applied before testcommit f0e40e3d5b56ebe84b29237c225d6a65dfc8f51e
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Content can be requested either with a SWHID or with a list of checksums.
Return file data as new node, now supports raw data as a binary text
Add dummy fields for content file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/105/ for more details.
Comment Actions Build is green Patch application report for D8239 (id=29797)Rebasing onto a9334a0e57... Current branch diff-target is up to date. Changes applied before testcommit 4d824dc3636307a6bf1bd01aa49397ef914e4890
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Content can be requested either with a SWHID or with a list of checksums.
Return file data as new node, now supports raw data as a binary text
Add dummy fields for content file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/106/ for more details. Comment Actions I could accept the diff but I think another team member should also review it and gives his opinion about the raw content data retrieval and integration in GraphQL responses.
Comment Actions Ok. I think this needs further discussion. One possible solution is to make a raw content cost 1/2 of the possible max query cost. This will limit the client access to at most one raw string per request. Comment Actions What if we simply don't include this field for now, and add it later if needed? This was we can take time to design it later when we have a use case; instead of designing it now in a way that cannot be changed without breaking backward compatibility Comment Actions Sounds like a plan, I will remove the field for now. Will add that after properly implementing the query cost calculator. Comment Actions Build is green Patch application report for D8239 (id=29805)Rebasing onto a9334a0e57... Current branch diff-target is up to date. Changes applied before testcommit 7d2c51b04d35388679e2eae49454b5ca76a17ada
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Content can be requested either with a SWHID or with a list of checksums.
Return file data as new node, now only returns a URL to download data
Add dummy fields for content file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/107/ for more details. Comment Actions Build is green Patch application report for D8239 (id=29806)Rebasing onto a9334a0e57... Current branch diff-target is up to date. Changes applied before testcommit e68700535510c899d0012f623d3d2af657dcb686
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date: Wed Aug 3 10:35:28 2022 +0200
Add missing fields to the Content object
Content can be requested either with a SWHID or with a list of checksums.
Return file data as new node, now only returns a URL to download data
Add dummy fields for content file type, language and license
Related to T4310See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/108/ for more details. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||