Page MenuHomeSoftware Heritage

Use release instead of revision as anchor in SWHID context instead.
ClosedPublic

Authored by vlorentz on Nov 5 2021, 1:48 PM.

Details

Summary

The next version of package loaders (including deposit loader) will
create release objects instead of revisions.

This commit should be applied at the same time as the package loader
upgrade, as it contains a backward-incompatible API change.

Diff Detail

Repository
rDDEP Push deposit
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D6617 (id=24022)

Rebasing onto d8f9bf38ff...

Current branch diff-target is up to date.
Changes applied before test
commit b14b50eaa9b2e0f0b9e95cf11570f9ee2d859676
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Nov 5 13:46:10 2021 +0100

    Use release instead of revision as anchor in SWHID context instead.
    
    The next version of package loaders (including deposit loader) will
    create release objects instead of revisions.
    
    This commit should be applied at the same time as the package loader
    upgrade, as it contains a backward-incompatible API change.

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

This revision is now accepted and ready to land.Nov 8 2021, 12:15 PM