Page MenuHomeSoftware Heritage

package.loader: Write to the ExtID storage
ClosedPublic

Authored by vlorentz on Mar 26 2021, 5:39 PM.

Details

Summary

This allows future runs of a loader to know a package was already
loaded, without querying each of the revisions individually and
parsing their metadata.

Eventually, this will allow us to get rid of the 'metadata' column
on the 'revision' table entirely.

Test Plan

They shall not pass, because they depend on D5363.

Diff Detail

Event Timeline

Build has FAILED

Patch application report for D5364 (id=19217)

Rebasing onto a32f687151...

Current branch diff-target is up to date.
Changes applied before test
commit 0230b713eb74a2c7d2d0d073d4f9b3461cd13bf5
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 26 17:38:27 2021 +0100

    package.loader: Write to the ExtID storage
    
    This allows future runs of a loader to know a package was already
    loaded, without querying each of the revisions individually and
    parsing their metadata.
    
    Eventually, this will allow us to get rid of the 'metadata' column
    on the 'revision' table entirely.

Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/450/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/450/console

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 26 2021, 5:40 PM
Harbormaster failed remote builds in B20299: Diff 19217!

Build has FAILED

Patch application report for D5364 (id=19217)

Rebasing onto a32f687151...

Current branch diff-target is up to date.
Changes applied before test
commit 0230b713eb74a2c7d2d0d073d4f9b3461cd13bf5
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 26 17:38:27 2021 +0100

    package.loader: Write to the ExtID storage
    
    This allows future runs of a loader to know a package was already
    loaded, without querying each of the revisions individually and
    parsing their metadata.
    
    Eventually, this will allow us to get rid of the 'metadata' column
    on the 'revision' table entirely.

Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/451/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/451/console

Build is green

Patch application report for D5364 (id=19253)

Rebasing onto a32f687151...

Current branch diff-target is up to date.
Changes applied before test
commit e48ced028c5032ee7ddd9f6dda419ebc90699c2e
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Mar 26 17:38:27 2021 +0100

    package.loader: Write to the ExtID storage
    
    This allows future runs of a loader to know a package was already
    loaded, without querying each of the revisions individually and
    parsing their metadata.
    
    Eventually, this will allow us to get rid of the 'metadata' column
    on the 'revision' table entirely.

See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/452/ for more details.

This revision is now accepted and ready to land.Mar 30 2021, 10:09 AM