Page MenuHomeSoftware Heritage

Add releases notes to metadata returned by api/private/deposit_read.py
ClosedPublic

Authored by vlorentz on Jan 10 2022, 6:08 PM.

Details

Summary

They will be used by the deposit loaders in the release message.

Part 1/2 to resolve T3809

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 D6903 (id=25031)

Rebasing onto d2dfc416d1...

Current branch diff-target is up to date.
Changes applied before test
commit 6286db7a5bb04a0fa2781247c7ebcafffe2cd680
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Mon Jan 10 18:07:37 2022 +0100

    Add releases notes to metadata returned by api/private/deposit_read.py
    
    They will be used by the deposit loaders in the release message.

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

ardumont added a subscriber: ardumont.

lgtm

Thanks.

one suggestion inline.

swh/deposit/api/private/deposit_read.py
174

maybe one of those tests below can entertain that conditional?

This revision is now accepted and ready to land.Jan 10 2022, 6:13 PM

Build is green

Patch application report for D6903 (id=25035)

Rebasing onto d2dfc416d1...

Current branch diff-target is up to date.
Changes applied before test
commit 069d64df0f02dcb2ca832eb9cbea1a6c9c3a5476
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Mon Jan 10 18:07:37 2022 +0100

    Add releases notes to metadata returned by api/private/deposit_read.py
    
    They will be used by the deposit loaders in the release message.

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