FS#16128 - [pkgtools] patch to remove repository limitation
Attached to Project:
Community Packages
Opened by tuxce (tuxce) - Thursday, 10 September 2009, 19:06 GMT
Last edited by Gavin Bisesi (Daenyth) - Friday, 11 September 2009, 16:27 GMT
Opened by tuxce (tuxce) - Thursday, 10 September 2009, 19:06 GMT
Last edited by Gavin Bisesi (Daenyth) - Friday, 11 September 2009, 16:27 GMT
|
Details
pkgfile checks only officials repositories, but some repos
like archlinuxfr (http://repo.archlinux.fr) provide a file
list of his packages.
The patch is based on latest git revision 729a714103f9ea31b75301b707d8c4d220861da3 It relies on pacman to get repos and mirrors and user can configure REPOS variable in pkgfile.conf to only enable some repository. |
This task depends upon
Closed by Gavin Bisesi (Daenyth)
Friday, 11 September 2009, 16:27 GMT
Reason for closing: Implemented
Additional comments about closing: Thanks!
Friday, 11 September 2009, 16:27 GMT
Reason for closing: Implemented
Additional comments about closing: Thanks!
0001-Takes-into-account-all-r...
for the errors, you can do something like:
if ! wget -q --limit-rate="$RATELIMIT" "$filelist"
then
if wget -q --limit-rate="$RATELIMIT" "${repo}.db.tar.gz"
then
warn "$repo does not provide file list\n"
repo_done=( "${repo_done[@]}" "$repo" )
continue
else
warn "Could not retrieve %s\n" $filelist
continue
fi
fi