Commit graph

7 commits

Author SHA1 Message Date
Antoine Lambert
b6c69e5075 aur: Create also a git origin for each listed package repository
It will enable to archive the history of the PKGBUILD file associated
to the AUR package.
2022-09-02 15:58:05 +02:00
Antoine Lambert
d76fbb3447 aur: Modify origin URL for listed packages
Use https://aur.archlinux.org/packages/<package_name> instead
of https://aur.archlinux.org/<package_name>.git
2022-09-02 15:57:57 +02:00
Antoine Lambert
92baa2b45c aur: Store packages index in memory instead of disk
Simplify code for downloading packages index as gzip and deflate
transfer-encodings are automatically decoded by requests, also
do not stream response for a couple of megabytes and store
HTTP responses in memory.

Also add more debug logs to track lister execution.
2022-09-02 15:48:20 +02:00
Valentin Lorentz
ce72969de5 aur: Simplify pathlib logic 2022-08-25 09:41:50 +02:00
Valentin Lorentz
b7ec6cb120 tests: Simplify origin comparison and improve pytest diff on failure
By using a single equality instead of checking len() then zip()
to check one by one, pytest can find the common/missing elements
and print them nicely when the two lists are unequal.
2022-08-24 17:21:24 +02:00
Valentin Lorentz
3ab90cc0cd aur: Fix broken ref 2022-08-19 14:14:37 +02:00
Franck Bret
97b353bf0b Arch User Repository (AUR) lister
Add 'aur' module to swh-lister with data fixtures and tests.
For now, origin url are package vcs (Git) url.
2022-08-19 12:43:15 +02:00