summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-02-17Check if package was already releasedPierre Schmitz1-0/+6
2010-02-17commitpkg: dereference symlinks on package uploadDan McGee1-1/+1
This is a regression introduced after switching to rsync in place of scp; scp dereferenced symlinks automatically without need for a command-line option. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-02-13add dist target to Makefile0.9.2Pierre Schmitz2-0/+4
2010-02-13add common gitignore filePierre Schmitz1-0/+1
2010-02-13apply common coding stylePierre Schmitz11-514/+531
2010-02-13Further fixes to cache_dir handlingAllan McRae1-2/+2
1) Typo cachedir -> cache_dir 2) Use $cache_dir when calling pacman Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-02-13Read cachedir from pacman.conf in working dirAllan McRae1-4/+10
This allows setting a different cachedir for (e.g.) i686 and x86_64 chroots. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-02-13set umask to 0022Pierre Schmitz2-2/+2
this fixes commit 7ce9cd696515c9baf13f2181e64c2ea8df6a4b02
2010-02-13inform the user of activities that might take a longer time0.9.1Pierre Schmitz3-3/+11
2010-02-12Fall back to default if CacheDir is not setPierre Schmitz1-1/+1
2010-02-12supress confusing output of pushd and popd0.9.0Pierre Schmitz2-4/+4
2010-02-12copy files seperately to avoid escaping problemsPierre Schmitz1-3/+1
2010-02-11check install files, tooPierre Schmitz1-1/+1
2010-02-11make sure pacman cache dir existsPierre Schmitz1-0/+1
2010-02-11don't cross filesystems. usefull if you bind a local mirror into your ↵Pierre Schmitz1-1/+1
working copy
2010-02-11update commentPierre Schmitz1-1/+1
2010-02-11abort if not all local source files are under version controlPierre Schmitz1-0/+7
This looks a little hacky. The || true is needed because grep will return 1 if in fact everything is fine. implements FS#18048
2010-02-11Add missing -n option to getopt list for mkarchrootPierre Schmitz1-1/+1
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-11Replace expensive merge with delete and copyPierre Schmitz1-31/+7
2010-02-11avoid useless output in commitpkgPierre Schmitz1-12/+5
2010-02-11simplify and optimize upload processPierre Schmitz1-36/+16
Use rsync instead of scp to be able to continue uploads and get upload verification for free. We also try to commit to svn trunk first to avoid useless uploads (FS#18088).
2010-02-11Revert "add support for community svn"Pierre Schmitz1-4/+1
This reverts commit 0346db0ff79254e720d2da84ba60172fce8d1b76. This commit changed the expected behaviour of archco and truned it into a more complex alias of "svn up <package>".
2010-02-11Reduce verbosity to a sane minimumPierre Schmitz2-30/+1
2010-02-11Read pacman cache dir from pacman.conf or cliPierre Schmitz1-8/+11
2010-02-11Create a working copy instead of using an union layerPierre Schmitz1-67/+52
Use rsync to create a (clean) working copy of the root dir instead of using aufs.
2010-02-11Move build and package logs to WORKDIR, otherwise it is lostPierre Schmitz1-0/+4
2010-01-11add support for community svnIonut Biru1-1/+4
Signed-off-by: Ionut Biru <ionut@archlinux.ro> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2010-01-11devtools: make sure all files are owned by nobody before buildingNezmer1-4/+4
In makechrootpkg, build dirs are chowned to nobody before we move files to "$uniondir/build". This could lead to failure If the files are supposed to be dynamically upgraded when we run makepkg. A common use-case is when we upgrade $pkgver in git,svn PKGBUILDS. Signed-off-by: Nezmer <Nezmer@allurelinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2010-01-11Reset umask before touching the chroot.Byron Clark2-0/+2
This prevents problems when running with a umask that masks permissions for others. Signed-off-by: Byron Clark <byron@theclarkfamily.name> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-18Remove sourcing of makepkg.conf filesAaron Griffin1-5/+0
This is replaced by commit marked "Use the host's SRCDEST and PKGDEST if defined" Noticed-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-16makechrootpkg: Replaced DB_COMPRESSION with 'gz'Eric Bélanger1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
2009-12-16Use the host's SRCDEST and PKGDEST if definedAaron Griffin1-0/+4
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Original-by: Eric Bélanger <snowmaniscool@gmail.com>
2009-10-28Move the determination of unique .install files0.8.0Ronald van Haren1-2/+1
Move this inside the split packages loop Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26checkpkg: Check package cache for old packagesEric Bélanger1-0/+2
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26checkpkg: Made wget quietEric Bélanger1-1/+1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26checkpkg: Added split package supportEric Bélanger1-40/+43
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26Change loop var CARCH to _archFrancois Charette1-4/+4
This is just better practice, as CARCH means something else in makepkg.conf Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26Change "uploading to" message to be less ambiguousFrancois Charette1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06commitpkg: tidy quotes and remove unneeded bracesEvangelos Foutras1-13/+13
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06Move package verification into a separate functionEvangelos Foutras1-2/+14
Also switch to openssl and sha1 checksums. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06makechrootpkg: Ensure SRC/PKGDEST are directoriesAndrea Scarpino1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06commitpkg: tagged msg is now in archreleaseFrançois Charette1-1/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06archrelease: exit if working copy is not committedFrançois Charette1-1/+8
Check with svn diff if the PKGBUILD etc has been committed, and exit with an error message if not. Also moved message from commitpkg to here. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06checkpkg: Set CARCH=any when arch=anyFrançois Charette1-1/+3
Fixes FS#16419 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23commitpkg: Fix pushd for any packagesDaniel J Griffiths1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23commitpkg: introduce abort function for errorsEvangelos Foutras1-29/+13
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23commitpkg: correct svn commit message spacingEvangelos Foutras1-2/+2
[Aaron: Remove trailing whitespace] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23commitpkg: upload all available architecturesEvangelos Foutras1-52/+46
Now commitpkg will go through each architecture defined in the PKGBUILD and if all packages are present, it will upload them and run archrelease for that architecture. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23Move initialization code out of the upload loopEvangelos Foutras1-30/+30
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23commitpkg: get rid of tabs and indent commentsEvangelos Foutras1-23/+23
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>