summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-29prepare release0.9.22Pierre Schmitz
2011-04-29checkpkg: remove checking for old style package namesAllan McRae
All the packages in the Arch repo have been rebuilt to include the architecture in their package names so this workaround is no longer needed. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-29checkpkg: Added epoch supportEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-29Added bash_completion fileEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-17Use GPGKEY to select signing keyAllan McRae
Use the default key from the gpg keyring to sign packages unless GPGKEY is specified (either in makepkg.conf or as an environmental variable). Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-17Copy check() log from chrootAllan McRae
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-17commitpkg: clean up svn after changing arch from any to i686/x86_64Eric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-11prepare release0.9.21Pierre Schmitz
2011-04-11Add simple function to sign packagesPierre Schmitz
Set SIGNPKG to y in makepkg.conf to enable signing.
2011-04-09prepare release0.9.20Pierre Schmitz
2011-04-09archrelease: be more verbosePierre Schmitz
2011-04-08Fix rsync call; quotes wont work herePierre Schmitz
2011-04-02commitpkg: upload signatures if availableDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-02commitpkg: upload all files at the same timeDan McGee
Batch them up using a bash array and then pass them all to a single invocation of rsync. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-02commitpkg: add '-y' to rsyncoptsDan McGee
This allows uploads to possibly be smaller if a similar file exists nearby without the same name. Unlikely in most cases, but we might as well take advantage if they do exist: Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-02commitpkg: move all rsync opts to rsyncopts varDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-02commitpkg: make repo/server selection more modularDan McGee
This gets rid of the ever-expanding conditional we had before and replaces it with two case statements. The first handles the command name. If it ends with 'pkg', we treat the entire first part of the reponame, unless of course 'commitpkg' was called directly. This allows one to add new symlinks such as 'gnome-unstablepkg'. The second handles the server. Well-known repositories are listed and passed to the appropriate server. All unusual repos are assumed to live on gerolde and sent that direction. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-02Unify comment styleDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-28prepare release0.9.19Pierre Schmitz
2011-03-28Don't prefix package name with './' if package is in $PKGDESTRémy Oudompheng
Commit ad593b8b61558da779530a6cb8f4938a273f5553 introduces a problem when $PKGDEST is set and the package to transfer has an absolute pathname. In this case there is no need to add anything to have rsync work properly. Signed-off-by: Rémy Oudompheng <remy@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-26prepare release0.9.18Pierre Schmitz
2011-03-26Be less generic with package extensionAllan McRae
Arch only uses .gz and .xz packages so look for .pkg.tar.?z. This prevents matching potential detached signature files. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-26Update default makepkg.conf and pacman.conf to match the ones from pacman 3.5Pierre Schmitz
2011-03-26Merge branch 'master', remote-tracking branch 'heftig/master'Pierre Schmitz
2011-03-26support optdependsRay Rashif
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-26makechrootpkg: Copy package logs with split packages (fixes FS#23239).Lukas Fleischer
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-26Abort properly if source files are not under version control (FS#23122).Lukas Fleischer
Remove superfluous subshell code from version control checks in commitpkg, making it exit properly if source files are not under version control. Also, improve correctness of sed(1) commands and use fgrep(1) instead of grep(1) where appropriate. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-23commitpkg: prefix package filenames with ./Dave Reisner
This is a hint to rsync that the file is a path and not a remote module in the case of a package with an epoch in the version. Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-23add epoch supportFlorian Pritz
Signed-off-by: Florian Pritz <bluewind@server-speed.net> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-22Make default copydir user-dependentJan Steffens
Eases usage when chroots are shared between multiple users.
2011-03-22Use Btrfs snapshots for chroot copies, when availableJan Steffens
This is much faster than using Rsync to clone. Rsync stays available when the chroots are not on a Btrfs.
2011-03-22Add flock-based locking to chrootsJan Steffens
This prevents accidents when chroots are shared between multiple users.
2011-03-18Remove sudo from archbuildJan Steffens
Archbuild should be called via sudo.
2011-03-18Stop the PACKAGER= and MAKEFLAGS= from piling onJan Steffens
Repeatedly reusing the same chroot kept adding lines to makepkg.conf.
2011-03-18Use the multilib-devel groupJan Steffens
2011-03-18Use variables in Makefile instead of hardcoding stuff in every target.Lukas Fleischer
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-03-18Add ".PHONY" target to Makefile.Lukas Fleischer
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-03-18makechrootpkg: Copy package logs with split packages (fixes FS#23239).Lukas Fleischer
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-03-18Abort properly if source files are not under version control (FS#23122).Lukas Fleischer
Remove superfluous subshell code from version control checks in commitpkg, making it exit properly if source files are not under version control. Also, improve correctness of sed(1) commands and use fgrep(1) instead of grep(1) where appropriate. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-03-14Use readlink -e to canonicalize chrootdirJan Steffens
2011-03-14Fix spellingJan Steffens
2011-03-14Syntax cleanupJan Steffens
No functional change.
2011-01-08prepare release0.9.17Pierre Schmitz
2011-01-08mkarchroot: return 0 if there was no package to update in SyncFirstPierre Schmitz
2011-01-08checkpkg: use sdiff -s to show differences in the file listsPierre Schmitz
This makes it much better readable especially for very large file lists.
2011-01-08checkpkg: get back to working directory after soname checkAllan McRae
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-01-08checkpkg: Do not download oldpkg if in starting directoryAllan McRae
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-01-06mkarchroot: pass inline shell script to chroot0.9.16Pierre Schmitz
2011-01-06prepare releasePierre Schmitz
2011-01-06mkarchroot: Ensure all packages have been updatedPierre Schmitz
In reference to FS#22304 run pacman -Su again if there are still updates available. This is the case for packages listed in SyncFirst.