summaryrefslogtreecommitdiff
path: root/abump.in
AgeCommit message (Collapse)AuthorFilesLines
2019-11-07allow override sharedir for testingNatanael Copa1-1/+1
Aloow overrid sharedir with global ABUILD_SHAREDIR so we test the local functions.sh instead of a system installed functions.sh
2019-11-07rename datadir -> sharedirNatanael Copa1-4/+4
abuild uses datadir as local variable in various functions. Rename the global datadir to sharedir to avoid confusion.
2016-08-23replace deprecated `...` syntax with $(...) in shell scriptsJakub Jirutka1-2/+2
2016-08-23indent heredocs when possibleJakub Jirutka1-12/+12
2016-08-20add .editorconfig and fix code formattingJakub Jirutka1-1/+0
2015-09-28abump: ability to override abuild commandEivind Uggedal1-1/+3
2014-10-30abump: fix bumping repo/name-<version>Natanael Copa1-0/+1
2014-10-30abump: die if version is missingNatanael Copa1-0/+3
2014-03-31fix permissionsNatanael Copa1-0/+0
2013-10-25functions: rename abuild_ver to program_versionNatanael Copa1-2/+2
2013-10-25functions: rename prog to programNatanael Copa1-3/+4
2013-07-26abump: error out on first faild packageNatanael Copa1-7/+11
If some package fails, then stop processing the rest. This is so we don't risk test build the rest for the packages against wrong lib. For example, if 'abump libfoo-2.0 foo-2.0' fails on libfoo, we don't want testbuild foo-2.0, which might end with success against libfoo-1. We also echo the list of packages that was not bumped, so its easy to copy/paste next run.
2013-07-22abump: print what packages failedNatanael Copa1-3/+9
2013-07-19abump: fix the -f/--fixes optionNatanael Copa1-1/+1
2013-07-10abump: fix set -e issueNatanael Copa1-12/+13
It appears that when the subshell has a ||, the 'set -e' within subshell gets invalidated. This will work as expected: ( set -e; false; echo "should not get here" ) While this will not work as expected: ( set -e; false; echo "should not get here" ) || false We resolve it by using $? to detect the status of subshell. We also let the exitcode indicate how many packages that failed. While here we also refactor it so most of the loop happens within the subshell. This lets us set (or increase) rc variable once, and it reduces number of forks which gives slightly better performance.
2013-07-10Revert "abump: verify APKBUILD's version"Natanael Copa1-6/+0
We actually want be able to re-run abump without needing reset the pkgver in case we had to fix things. This reverts commit 8198ded868d4b7b98f8d06a2f0f0d90eaf2ad9da. Conflicts: abump.in
2013-07-09abump: add missing "Natanael Copa1-1/+1
2013-07-09various: s/echo/msg/, s/echo/error/, tweak error messagesDubiousjim1-5/+5
2013-07-09abump: verify that we're in git treeDubiousjim1-0/+1
2013-07-09abump: verify APKBUILD's versionDubiousjim1-0/+6
2013-07-09abump: refactor verification of APKBUILDDubiousjim1-9/+14
* includes renaming pkgname, pkgver
2013-07-09abump, functions: refactor (and verify) calculation of APKBUILD pathDubiousjim1-1/+11
2013-07-09abump: tweak upgrade/cvelistDubiousjim1-8/+5
2013-07-09abump: move loop inside do_bump, refine locals, introduce subshellDubiousjim1-33/+33
2013-07-09various: use long options, rework usagesDubiousjim1-17/+36
2013-07-09various: move conf-loading and i/o to functionsDubiousjim1-10/+13
2013-07-08various: add descriptions, attribution, licenseDubiousjim1-0/+6
2013-02-14abump: add option -f to set "fixes" in commit messageNatanael Copa1-4/+12
2012-02-14abump: add -s option for security updatesNatanael Copa1-6/+12
2011-09-30abump: add -k option to keep existing built packagesNatanael Copa1-3/+8
2010-11-19abump: add usage and support for recursive abuildNatanael Copa1-2/+23
2010-11-19abump: install with make installNatanael Copa1-0/+40