This is needed for the /api/1/resolve/(swhid)/ endpoint implementation of swh-web (see D3467).
Details
Details
- Reviewers
vlorentz ardumont - Group Reviewers
Reviewers - Commits
- rDMOD0547a516e6b1: identifiers: Add to_dict method to SWHID class
Diff Detail
Diff Detail
- Repository
- rDMOD Data model
- Branch
- swhid-to-dict
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 13484 Build 20628: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 20627: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
Patch application report for D3465 (id=12264)
Rebasing onto 52ef52ea46...
Current branch diff-target is up to date.
Changes applied before test
commit 0547a516e6b1d197c8a748b8b4d1fb4bacf3ab79 Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Wed Jul 8 16:18:40 2020 +0200 identifiers: Add to_dict method to SWHID class
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/121/ for more details.
Comment Actions
Nothing but I prefer to wrap its use in an utility method rather than importing the attr module in client code.