index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-16 | support formatted messages to stat_busy, lock, and slock | Luke Shumaker | |
2013-08-16 | Merge remote-tracking branch 'remotes/devtools/master' | Luke Shumaker | |
2013-08-08 | common: Properly forward arguments from die to error | Dave Reisner | |
Also allow this function to be called without arguments, in which case, don't call error at all. Some uses of this function wrongly assumed that this was already allowed. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2013-06-15 | Merge commit 'a7a0': merge our and their lock functions | Luke Shumaker | |
Arch's have shorter names, and properly escape the filename. Ours create the directories, and check if the locks are already open. The best of both worlds. When merging the usages of them, I used arch's messages. Ours are too long, even if they are more informative. | |||
2013-06-15 | redo the lock functions to not append .lock | Luke Shumaker | |
mkarchroot.in didn't need modified because it already (incorrectly) had .lock in the filename | |||
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-03 | lib/common.sh: Introduce locking helper functions | Jan Alexander Steffens (heftig) | |
Reduces code duplication. With makechrootpkg not calling mkarchroot anymore, the lock handover protocol is unneeded. arch-nspawn does not do any locking, so add protection to archbuild. | |||
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 | |
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 |