summaryrefslogtreecommitdiffstats
path: root/commitpkg
AgeCommit message (Collapse)AuthorFilesLines
2011-03-26Abort properly if source files are not under version control (FS#23122).Lukas Fleischer1-7/+7
Remove superfluous subshell code from version control checks in commitpkg, making it exit properly if source files are not under version control. Also, improve correctness of sed(1) commands and use fgrep(1) instead of grep(1) where appropriate. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-23commitpkg: prefix package filenames with ./Dave Reisner1-1/+1
This is a hint to rsync that the file is a path and not a remote module in the case of a package with an epoch in the version. Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-03-23add epoch supportFlorian Pritz1-2/+16
Signed-off-by: Florian Pritz <bluewind@server-speed.net> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-10-19commitpkg: pkgfile might be an absolute path when using PKGDESTPierre Schmitz1-1/+1
2010-09-16commitpkg: error out if ~/staging/$repo doesn't existFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-09-11ad support for multilib-testingPierre Schmitz1-0/+3
2010-09-01add support for community-staging repositoryPierre Schmitz1-0/+3
2010-08-22add initial [multilib] supportPierre Schmitz1-0/+3
2010-08-17add [staging] repositoryPierre Schmitz1-0/+2
2010-06-28local can only be used within functionsPierre Schmitz1-2/+1
2010-06-28check if changelog and install files are commited to svnPierre Schmitz1-1/+14
2010-06-25keep partially transferred filesPierre Schmitz1-1/+1
2010-06-24removed mode lines; was not a good idea after allPierre Schmitz1-3/+0
2010-06-22commitpkg: add newline to make output look more orderlyEric Bélanger1-1/+1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-03-31Force correct remote file permissionsPierre Schmitz1-1/+1
2010-03-03Upload any pkg.tar.* file as long as it is canonicalPierre Schmitz1-4/+16
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-13apply common coding stylePierre Schmitz1-59/+60
2010-02-13inform the user of activities that might take a longer time0.9.1Pierre Schmitz1-2/+7
2010-02-12supress confusing output of pushd and popd0.9.0Pierre Schmitz1-2/+2
2010-02-12copy files seperately to avoid escaping problemsPierre Schmitz1-3/+1
2010-02-11check install files, tooPierre Schmitz1-1/+1
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-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).
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-06commitpkg: tagged msg is now in archreleaseFrançois Charette1-1/+0
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-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-18Add support for community-testing repoDaniel J Griffiths1-0/+3
[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-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 McRae1-1/+1
Signed-off-by: Allan McRae <allan@archlinux.org>
2009-08-12commitpkg: Add support for 'any' architectureDaniel J Griffiths1-0/+8
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-03Adjust commitpkg community serverAaron Griffin1-1/+1
Change community.archlinux.org to aur.archlinux.org to coincide better with the location recommended for SVN checkouts Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-12svn: remove the default -m commit argAaron Griffin1-1/+1
This should force people to add a valid commit message when updating PKGBUILDs and the like. Passing it on the command line still works fine Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-13Use $PKGEXT defined in makepkg.confPierre Schmitz1-2/+2
Also replace some uses of tar with bsdtar Signed-off-by: Pierre Schmitz <pierre@archlinux.de> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-04-04commitpkg: rework for new community layoutDan McGee1-21/+11
Remove the community-specific code that calls tupkg. Make the server variable a bit more dependent on what repo we are uploading to in order to get community working, and finally create the correct symlinks for communitypkg in the Makefile. Note that this change will require the Arch devtools package to get a replace entry for aurtools. Signed-off-by: Dan McGee <dan@archlinux.org>