Add arch lister module (origins from archives).
After a first attempt with D7812 this one use a different strategy to retrieve origins. Fetch and extract "core.files.tar.gz", "extra.files.tar.gz" and "community.files.tar.gz" from archives.archlinux.org. That step ensure that we have a list of "official" packages. Parse metadata from 'desc' file to build origins url. Scrap the origin url to get artifacts metadata that list all versions of a package. It also fetch and extract unofficial 'arm' packages from archlinuxarm.org but in this case we can not get all versions of an arm package. Related T4233
This commit is contained in:
parent
263db667d0
commit
1bf11aa26d
24 changed files with 2755 additions and 0 deletions
1
setup.py
1
setup.py
|
@ -55,6 +55,7 @@ setup(
|
|||
[swh.cli.subcommands]
|
||||
lister=swh.lister.cli
|
||||
[swh.workers]
|
||||
lister.arch=swh.lister.arch:register
|
||||
lister.bitbucket=swh.lister.bitbucket:register
|
||||
lister.cgit=swh.lister.cgit:register
|
||||
lister.cran=swh.lister.cran:register
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue