summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-10build: make sure functions.sh gets generated at build timeNatanael Copa1-2/+2
2013-07-09abump: add missing "Natanael Copa1-1/+1
2013-07-09functions: msg should always return successNatanael Copa1-2/+6
Otherwise abuild-sign will end with error
2013-07-09functions: also honor .abuild file at gitbaseDubiousjim1-0/+2
This permits introducing branch-specific modifications to abuild.conf settings. Any settings there override /etc/abuild.conf and $HOME/.abuild/abuild.conf.
2013-07-09various: fancier readconfig, permit env overridesDubiousjim4-24/+71
2013-07-09apkgrel, functions: refactor calculation of APKBUILD's pathDubiousjim2-3/+23
2013-07-09various: s/echo/msg/, s/echo/error/, tweak error messagesDubiousjim6-18/+16
2013-07-09apkgrel: handle missing pkgrel in do_addDubiousjim1-1/+4
2013-07-09apkgrel: tweaks to loops, add quotesDubiousjim1-3/+3
2013-07-09apkgrel: show_plain, show_prettyDubiousjim1-2/+18
2013-07-09apkgrel: --clean-git enhancementsDubiousjim1-2/+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 pathDubiousjim2-1/+23
2013-07-09abump: tweak upgrade/cvelistDubiousjim1-8/+5
2013-07-09abump: move loop inside do_bump, refine locals, introduce subshellDubiousjim1-33/+33
2013-07-09abuild-sign: fix a race conditionDubiousjim1-1/+1
2013-07-09abuild-sign: wrap cd in a subshell, use set -eDubiousjim1-2/+5
2013-07-09abuild-sign: make vars localDubiousjim1-0/+2
2013-07-09abuild-sign: reformat error outputDubiousjim1-7/+9
2013-07-09abuild_keygen: several tweaksDubiousjim1-9/+6
* make vars local * refactor calculation of default_name * make non_interactive=1 * tweak error message * tweak sed command
2013-07-09various: use long options, rework usagesDubiousjim6-93/+167
2013-07-09Makefile: remove distDubiousjim1-13/+1
as discussed in http://lists.alpinelinux.org/alpine-devel/3122.html
2013-07-09various: move conf-loading and i/o to functionsDubiousjim8-101/+128
2013-07-09abuild-sign: refactorDubiousjim1-22/+25
2013-07-09abuild-keygen: refactorDubiousjim1-58/+61
2013-07-08various: tweak opening comments, whitespaceDubiousjim5-14/+6
Also remove incomplete efforts at listing "Depends on: ..."
2013-07-08various: add descriptions, attribution, licenseDubiousjim4-0/+27
2013-07-08abuild-sudo, abuild-tar: cosmetic changesDubiousjim2-3/+3
2013-07-08remove unused filesDubiousjim5-597/+0
as discussed in http://lists.alpinelinux.org/alpine-devel/3122.html
2013-07-08abuild: also look in /lib for .a files for -dev subpackageNatanael Copa1-1/+1
2013-07-05build: honor CPPFLAGSTimo Teräs1-2/+2
2013-07-02abuild: automatically replace the config.sub with our versionNatanael Copa4-5/+3372
introduce post_unpack that by default will search for config.sub and config.guess and replace those if found. we ship our own version of those files
2013-07-02abuild: whitespace fixes. use longopts for apkNatanael Copa1-31/+32
2013-07-02abuild: explicitly use so:depends when croscompilingNatanael Copa1-1/+2
2013-07-02abuild: crosscompile support for stripNatanael Copa1-1/+1
2013-07-02abuild: check for more common spell errorsNatanael Copa1-3/+10
check for pkguser, pkggroup, subpackage
2013-05-29==== release 2.14.3 ====v2.14.3Natanael Copa1-1/+1
2013-05-29abuild-sudo: also look for adduser/group in /usr/sbinNatanael Copa1-0/+4
seems like it moved in recent busybox. we need to support both variants
2013-05-29abuild-sudo: print error message if execv failsNatanael Copa1-1/+1
2013-04-26buildrepo: avoid using 'i' as loop variableNatanael Copa1-6/+6
some apkbuilds use it in global context
2013-04-23==== release 2.14.2 ====v2.14.2Natanael Copa1-1/+1
2013-04-23buildrepo: fix clean of old pkgsNatanael Copa1-14/+23
- we need check arch for noarch - we need list packages generated from $linguas
2013-04-23ap: new subcommand: list-apksNatanael Copa1-2/+14
2013-04-23abuild: run subpackage split functions in a subshellNatanael Copa1-3/+3
so subfunctions don't overwrite the global variables like depends, pkgdesc etc.
2013-04-19abuild: add support for optional remote loggingNatanael Copa1-3/+10
via ABUILD_LOG_CMD config option This is supposed to be used on the build servers
2013-03-09buildrepo: faster purging of old packagesNatanael Copa1-2/+15