Adapt maven lister to list canonical gh urls if any

That means detected github urls {https,git,http}://github.com/${user_repo}(.git) are
canonicalized to https://github.com/${user_repo} format.

This avoids duplication of origins.

Related to T4232
This commit is contained in:
Antoine R. Dumont (@ardumont) 2022-05-20 16:37:15 +02:00
parent 2ffe9c2aea
commit 263db667d0
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8
3 changed files with 92 additions and 38 deletions

View file

@ -1,2 +1,2 @@
swh.core[db,github] >= 2.6
swh.core[db,github] >= 2.8
swh.scheduler >= 0.8