summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2009-09-14Make commitpkg not lock up without a messageDan McGee
2009-09-02commitpkg: Added split package support0.7.0Eric Bélanger
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 McRae
Patch-by: Eric Bélanger <eric@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
2009-09-01devtools: clean-up of commitpkgAllan McRae
- 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 McRae
Signed-off-by: Allan McRae <allan@archlinux.org>
2009-08-18Don't copy makepkg.conf into the chrootEvangelos Foutras
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-18Add communityco like archcoAaron Griffin
Original-idea-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-18archco: Switch svn.archlinux.org -> archlinux.orgAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-18makechrootpkg: Remove some extra packagesEric Bélanger
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-12Replace '>/dev/null 2>&1' with '&>/dev/null'Aaron Griffin
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élanger
[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élanger
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>
2009-08-12commitpkg: Add support for 'any' architectureDaniel J Griffiths
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>