Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Maniphest Tasks
- T1385: Monitor output of metadata indexers
- Commits
- rDCIDX1146b7c854eb: Prevent repository normalization from crashing on malformed input.
Diff Detail
Diff Detail
- Repository
- rDCIDX Metadata indexer
- Branch
- harden-maven-repository
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 3512 Build 4550: tox-on-jenkins Jenkins Build 4549: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DCIDX/job/tox/213/ for more details.
swh/indexer/metadata_dictionary.py | ||
---|---|---|
276โ284 | I find this code a bit bloated. Is it possible to have something other than a str or None for these values? (url, group and artifact) ? Isn't this code enough? if 'url' not in repo or repo.get('layout', 'default') != 'default': return group_id = d.get('groupId', '') artifact_id = d.get('artifactId', '') url = os.path.join(repo['url'], group_id.replace('.', '/'), artifact_id) return {'@id': url} Hard to tell since it seems this method has no unit test ๐ |
Comment Actions
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/217/
See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/217/console