index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-03 | lock_open_* fix possible bug caused symlinked directorieslibretools-20130605 | Luke Shumaker | |
If somewhere in the path to ${path}.lock there was a symlink, then it would fail to inherit the lock from the parent program, and stall. | |||
2013-06-03 | fix bugs with `set -u` in common.sh | Luke Shumaker | |
2013-05-27 | common.sh: unset COLOR variables in a way that is `set -u` safe. | Luke Shumaker | |
2013-05-26 | undo accidental change of permissions on lib/common.sh | Luke Shumaker | |
2013-05-02 | lib/common.sh: use gettext for WARNING/ERROR/done hardcoded text. | Luke Shumaker | |
2013-04-25 | lib/common.sh: Make setup_workdir()/cleanup() safe for programs to not use | Luke Shumaker | |
2012-12-02 | lib/common.sh: create directories for locks if they don't exist | Luke Shumaker | |
2012-11-25 | Use common functions to handle file locking | Luke Shumaker | |
* lib/common.sh: implement - lock_open_write() - lock_open_read() - lock_close() * archbuild.in, makechrootpkg.in, mkarchroot.in: use said functions This has two benefits: 1. All programs using these methods gain the ability to inherit locks, something that only mkarchroot could do before. This allows the commands to be more compos-able. 2. It is more readable. File locking isn't obvious. | |||
2012-10-27 | Fix return code handling | Jan Alexander Steffens (heftig) | |
Stop trap_exit from forcing a 0 exit code. This fixes makechrootpkg, which used to always return success, even if the build failed. Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2012-10-03 | Use dedicated trap functions to avoid unsetting the trap when e.g. cleanup ↵ | Pierre Schmitz | |
is called | |||
2012-06-16 | mkarchroot: reset trap so it wont be called twice | Pierre Schmitz | |
2012-02-12 | archrelease: Validate tags before releasing | Lukas Fleischer | |
Compare every single tag with a list of valid tags. This prevents broken releases which occurred whenever someone made a typo on the command line: $ ./archrelease community i686 ==> ERROR: archrelease: Invalid tag: "community" (use -f to force release) Since the list is used in the ZSH completion as well, break it out to a separate file and move it to "lib/". Also, add a command line parameter to allow for releasing to an unknown repository when necessary. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2011-11-04 | lib/common.sh: Revise setup_workdir() | Lukas Fleischer | |
* Honor TMPDIR variable (just like we did in commit a0c6bf45). * Quote path properly. * Avoid unnecessary use of basename(1). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2011-11-04 | lib/common.sh: Use double brackets | Lukas Fleischer | |
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2011-11-01 | Move common functions to a shared file | Pierre Schmitz | |
* common.sh is included on build time * most functions are copied from makepkg |