summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-11make sure pacman cache dir existsPierre Schmitz
2010-02-11don't cross filesystems. usefull if you bind a local mirror into your ↵Pierre Schmitz
working copy
2010-02-11update commentPierre Schmitz
2010-02-11abort if not all local source files are under version controlPierre Schmitz
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 Schmitz
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-11Replace expensive merge with delete and copyPierre Schmitz
2010-02-11avoid useless output in commitpkgPierre Schmitz
2010-02-11simplify and optimize upload processPierre Schmitz
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 Schmitz
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 Schmitz
2010-02-11Read pacman cache dir from pacman.conf or cliPierre Schmitz
2010-02-11Create a working copy instead of using an union layerPierre Schmitz
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 Schmitz
2010-01-11add support for community svnIonut Biru
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 buildingNezmer
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 Clark
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 Griffin
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élanger
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 Griffin
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 Haren
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élanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26checkpkg: Made wget quietEric Bélanger
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élanger
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 Charette
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 Charette
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06commitpkg: tidy quotes and remove unneeded bracesEvangelos Foutras
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06Move package verification into a separate functionEvangelos Foutras
Also switch to openssl and sha1 checksums. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06makechrootpkg: Ensure SRC/PKGDEST are directoriesAndrea Scarpino
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06commitpkg: tagged msg is now in archreleaseFrançois Charette
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-06archrelease: exit if working copy is not committedFrançois Charette
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 Charette
Fixes FS#16419 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23commitpkg: Fix pushd for any packagesDaniel J Griffiths
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23commitpkg: introduce abort function for errorsEvangelos Foutras
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23commitpkg: correct svn commit message spacingEvangelos Foutras
[Aaron: Remove trailing whitespace] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23commitpkg: upload all available architecturesEvangelos Foutras
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 Foutras
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23commitpkg: get rid of tabs and indent commentsEvangelos Foutras
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-21minor syntax fixFrancois Charette
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-21fix indentationFrancois Charette
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18makechrootpkg: Fixed add_to_db option checkEric Bélanger
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 Griffin
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 Griffin
- 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 Griffin
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 Charette
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18remove commitpkg2anyFrancois Charette
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Automate rm of repo-*86* when commiting "any" pkgFrancois Charette
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élanger
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 Griffin
This reverts commit 4bc819a20e4029a53d97cfa3cff164b3a497f7fe. Temporary revert until we get this sorted out Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Fix indentationFrancois Charette
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-18Add support for community-testing repoDaniel J Griffiths
[Aaron: Added Makefile entries] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>