FS#21126 - [abs] abs checks out repos not enabled in abs.conf

Attached to Project: Arch Linux
Opened by Jonathan Frazier (wide-eye) - Thursday, 07 October 2010, 08:59 GMT
Last edited by Allan McRae (Allan) - Friday, 03 December 2010, 11:35 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
on the second+ run of abs, when it is using rsync not tarballs, abs synchronizes staging repos in addition to what is enabled in abs.conf. The first run using tarballs works as expected.

tested abs 2.4.1 on i686
from abs.conf:
REPOS=(testing core extra community-testing community)

$ abs
==> Downloading tarballs...
==> testing...
==> core...
==> extra...
==> community-testing...
==> community...
$ abs
==> Starting ABS sync...
receiving file list ... done
community-staging/
community-staging/gambas2/
community-staging/gambas2/PKGBUILD
community-staging/gambas2/fix-gbi-gba-path.patch
community-staging/gambas2/gambas2-runtime.install
community-staging/gambas2/gambas2-script.install
community-staging/gambas2/gambas2.desktop
community-staging/gambas2/gambas2.install
community-staging/gambas2/gambas2.png
community/
community/python-configobj/PKGBUILD
extra/
staging/
staging/evince/
staging/evince/PKGBUILD
staging/evince/evince.install
staging/inkscape/
staging/inkscape/PKGBUILD
staging/inkscape/inkscape.install
staging/poppler/
staging/poppler/PKGBUILD
testing/

sent 319 bytes received 364389 bytes 81046.22 bytes/sec
total size is 14871452 speedup is 40.78
   abs.conf (0.6 KiB)
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 03 December 2010, 11:35 GMT
Reason for closing:  Implemented
Additional comments about closing:  http://projects.archlinux.org/abs.git/co mmit/?id=ccc65483
Comment by Allan McRae (Allan) - Thursday, 07 October 2010, 11:56 GMT
So did you read the comment in abs.conf?

#
# Note: If a repo is removed, it is still fetched!
# Repos must be preceded with a ! to prevent fetching
#

Anyway, patches welcome.
Comment by Jonathan Frazier (wide-eye) - Friday, 08 October 2010, 10:30 GMT
Ok, it seems the staging repos are missing from the default abs.conf. Here is a patch for that. Adding them shows that the first run of abs is incomplete as it fails to download tarballs for staging and community-staging.
Comment by Allan McRae (Allan) - Friday, 03 December 2010, 11:26 GMT
Oops.. didn't see your patch, but made some similar adjustment: http://projects.archlinux.org/abs.git/commit/?id=ccc65483

Loading...