swh-model: get SWHID from Content/Directory objects in from_disk
Merge request reports
Activity
Build is green
Patch application report for D5899 (id=21149)
Rebasing onto e09446a6...
Current branch diff-target is up to date.
Changes applied before test
commit 4a3289f6c1ac9fe1254e45e0f5adf6388b69fb30 Author: Daniele Serafini <me@danieleserafini.eu> Date: Fri Jun 18 15:45:10 2021 +0100 from_disk: get swhid from Content/Directory objects
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/355/ for more details.
! In !189 (closed), @zack wrote: LGTM in general, but needs unit tests (in addition to the two nitpicks above about docstrings)
I'll wait @vlorentz and @olasd before to write the unit test (in the case they want to use a different approach)
Build is green
Patch application report for D5899 (id=21151)
Rebasing onto e09446a6...
Current branch diff-target is up to date.
Changes applied before test
commit 949098fc1857306ec16e384d2f9c06c330b2ea29 Author: Daniele Serafini <me@danieleserafini.eu> Date: Fri Jun 18 15:45:10 2021 +0100 from_disk: get swhid from Content/Directory objects
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/356/ for more details.
! In !189 (closed), @DanSeraf wrote: I'll wait @vlorentz and @olasd before to write the unit test (in the case they want to use a different approach)
I think you can just go ahead, in the sense that the "hard" part here will be to find the test cases (and implement the needed scaffolding) in the test suite. Even if the approach changes, it will just be a different method/attribute to change, which won't impact the unit tests much (it will "just" impact your implementation of those methods/attributes).
Build is green
Patch application report for D5899 (id=21157)
Rebasing onto e09446a6...
Current branch diff-target is up to date.
Changes applied before test
commit 1a63184095e8ce126821a4c39cef0e157a4b51dc Author: Daniele Serafini <me@danieleserafini.eu> Date: Fri Jun 18 15:45:10 2021 +0100 from_disk: get swhid from Content/Directory objects
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/357/ for more details.
Some references in the commit message have been migrated:
- T3393 is now #3393 (closed)
Build is green
Patch application report for D5899 (id=21168)
Rebasing onto e09446a6...
Current branch diff-target is up to date.
Changes applied before test
commit e4566a6605ff7896a1701892faac3f2ec9ea7d10 Author: Daniele Serafini <me@danieleserafini.eu> Date: Fri Jun 18 15:45:10 2021 +0100 from_disk: get swhid from Content/Directory objects Closes #3393
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/358/ for more details.