Related to T3393
Details
- Reviewers
zack olasd vlorentz - Group Reviewers
Reviewers - Maniphest Tasks
- T3393: add swhid() method to from_disk classes
- Commits
- rDMODe4566a6605ff: from_disk: get swhid from Content/Directory objects
Diff Detail
- Repository
- rDMOD Data model
- Branch
- from_disk-swhid
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 22155 Build 34475: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 34474: arc lint + arc unit
Event Timeline
Build is green
Patch application report for D5899 (id=21149)
Rebasing onto e09446a6f4...
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.
Build is green
Patch application report for D5899 (id=21151)
Rebasing onto e09446a6f4...
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.
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 e09446a6f4...
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.
Could you make it a method instead of a property, for consistency with swh.model.model?
Build is green
Patch application report for D5899 (id=21168)
Rebasing onto e09446a6f4...
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 T3393
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/358/ for more details.