pbget--aurutils
pkgbase/pkgname distinction (
pbget --resolve-pkgbases
)
asp / official repositories
1. Query by
pkgbase
◇
OK, retrieved from
refs/heads/packages/*
(svntogit, TTL=3600)
2. Query by
pkgname
◇
OK, there exists
pkgbase
such that
pkgname == pkgbase
◇
RESOLVE, otherwise
☐ archweb interface
Queries done element-wise (
git
targets)
aur-fetch / AUR
1. Query by
pkgbase
◇
OK, retrieved from
https://aur.archlinux.org/packages (or
pkgbase.gz
)
2. Query by
pkgname
◇
OK, there exists
pkgbase
such that
pkgname == pkgbase
◇
RESOLVE, otherwise
☐ aurweb interface:
aur query -t info
target
Queries done element-wise (
git
targets)
Combined
Check in order:
1. Official repositories
2. AUR
Worst-case no. requests per package:
4 (svntogit/packages, archweb, aur/packages, aurweb)
Directory structure
•
aur fetch
◇
package
/PKGBUILD
◇
Git repository•
asp export
◇
package
/PKGBUILD
◇
Flat directory•
asp checkout
◇
package/repos/
repo-arch
/PKGBUILD
◇
package/trunk/PKGBUILD
◇
Git repositoryAs we can see there is no 1-to-1 correspondence between `aur-fetch` and `asp` in this case.