summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2009-09-02commitpkg: Added split package support0.7.0Eric Bélanger1-54/+57
All packages created by the PKGBUILD are uploaded to the staging directory. The output and svn commit messages uses pkgbase instead of pkgname. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> [Allan: minor fix for existing issue] Signed-off-by: Allan McRae <allan@archlinux.org>
2009-09-01makechrootpkg: fixed copying of .install files to chroot for split packagesAllan McRae1-0/+7
Patch-by: Eric Bélanger <eric@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
2009-09-01devtools: clean-up of commitpkgAllan McRae1-9/+1
- replaces backticks by $() - removes support for package names without the arch in them (all our repos now uses the arch in the package name) - removes support for the obsolete and dead [unstable] repo Patch-by: Eric Bélanger <eric@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
2009-09-01Changes required for new server layoutAllan McRae3-3/+3
Signed-off-by: Allan McRae <allan@archlinux.org>
2009-08-19Don't copy makepkg.conf into the chrootEvangelos Foutras1-13/+2
Replacing the chroot's makepkg.conf with our own prevents us from building i686 packages in a i686 chroot on a x86_64 host. [Aaron: Plus additional whitespace edits] Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-19Add communityco like archcoAaron Griffin1-0/+10
Original-idea-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-19archco: Switch svn.archlinux.org -> archlinux.orgAaron Griffin1-2/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-19makechrootpkg: Remove some extra packagesEric Bélanger1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-12Replace '>/dev/null 2>&1' with '&>/dev/null'Aaron Griffin1-1/+1
Original-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-12Fix namcap errors and add PKGBUILDEric Bélanger1-1/+1
[Aaron: swapped 2>&1 >/dev/null to >/dev/null 2>&1 to fix this better] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-12makechrootpkg: Support for split packagesEric Bélanger1-18/+21
Move all built packages in the PKGDEST or WORKDIR (pkgname is now an array). Additional fixes for * inside quotes Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>