Closes T4451.
Details
- Reviewers
douardda anlambert - Group Reviewers
Reviewers - Maniphest Tasks
- T4451: Fetch extrinsic metadata from Gitea/Gogs
- Commits
- rDLDMD7058293909dd: Add Gitea/Gogs metadata fetcher
Diff Detail
- Repository
- rDLDMD Extrinsic Metadata Loaders
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Build has FAILED
Patch application report for D8303 (id=29977)
Rebasing onto 225d68c5b4...
Current branch diff-target is up to date.
Changes applied before test
commit 74d75fb25042ce66df0c25968eddcada736d4e1b Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed Aug 24 12:34:09 2022 +0200 Add Gitea/Gogs metadata fetcher
Link to build: https://jenkins.softwareheritage.org/job/DLDMD/job/tests-on-diff/12/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDMD/job/tests-on-diff/12/console
Build is green
Patch application report for D8303 (id=29978)
Rebasing onto 225d68c5b4...
Current branch diff-target is up to date.
Changes applied before test
commit c190a9ed8180becb59b1b4d5ba82369c39cb02b9 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed Aug 24 12:34:09 2022 +0200 Add Gitea/Gogs metadata fetcher
See https://jenkins.softwareheritage.org/job/DLDMD/job/tests-on-diff/13/ for more details.
ok (but I have a couple of questions)
swh/loader/metadata/gitea.py | ||
---|---|---|
57 | bit weird to have this hardcoded while there is the HTTP_ACCEPT "const" above | |
73 | not gonna tell it's bad, but why do we enforce https only here? | |
85 | there really should be a path/url normalization registry somewhere (not sure where) [unrelated with this diff] |
Build is green
Patch application report for D8303 (id=30251)
Rebasing onto 225d68c5b4...
Current branch diff-target is up to date.
Changes applied before test
commit 7058293909ddc7d55d9fe3f21788ad3282faac11 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed Aug 24 12:34:09 2022 +0200 Add Gitea/Gogs metadata fetcher
See https://jenkins.softwareheritage.org/job/DLDMD/job/tests-on-diff/14/ for more details.
Looks good to me.
swh/loader/metadata/gitea.py | ||
---|---|---|
54 | session has already been created above |