summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2009-09-21minor syntax fixFrancois Charette1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-21fix indentationFrancois Charette1-9/+9
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-19makechrootpkg: Fixed add_to_db option checkEric Bélanger1-2/+1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18makechrootpkg: fixed copying of split packagesAaron Griffin1-19/+16
This patch fixed copying of packages with splitting (FS#16181) It also adds missing quotes around chrootdir variable. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Attempted fix for SRCDEST/PKGDEST parsingAaron Griffin1-12/+5
- Do *not* overwrite the makepkg.conf in the chroot - Source global makepkg configs for SRCDEST and PKGDEST Original commit 4bc819a20e4029a53d97cfa3cff164b3a497f7fe by Evangelos Foutras <foutrelis@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Remove some extra cleanup umountsAaron Griffin1-2/+0
Leftovers from when we used to bind-mount PKGDEST and SRCDEST Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Remove refs to commitpkg2any in MakefileFrancois Charette1-2/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18remove commitpkg2anyFrancois Charette1-33/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Automate rm of repo-*86* when commiting "any" pkgFrancois Charette1-0/+10
This commit integrates part of the functionality of commitpkg2any in the standard commitpkg script. If the package is for arch=any and there exists ../repos/$repo-{i686,x86_64}, then these are removed. NB: I believe commitpkg2any should be removed, as it encourages converting a pkg to arch=any with the same $pkgver. It is better practice to wait for a new version before releasing the pkg with arch=any. It also saves bandwidth! Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Fixed Makefile to install/uninstall new cmdsEric Bélanger1-0/+6
communityco, commitpkg2any and rebuildpkgs Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Revert "Don't copy makepkg.conf into the chroot"Aaron Griffin1-2/+13
This reverts commit 4bc819a20e4029a53d97cfa3cff164b3a497f7fe. Temporary revert until we get this sorted out Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Fix indentationFrancois Charette1-14/+14
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Add support for community-testing repoDaniel J Griffiths2-0/+5
[Aaron: Added Makefile entries] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-15Make commitpkg not lock up without a messageDan McGee1-2/+2