summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/librestage
AgeCommit message (Collapse)Author
2014-01-20normalize to use >&2 instead of /dev/stderrLuke Shumaker
2014-01-05librestage: fix staging generated sourcesLuke Shumaker
2014-01-04librestage: stage files generated by librefetchLuke Shumaker
2013-09-22Merge commit '610699'Luke Shumaker
Conflicts: src/abslibre-tools/createworkdir
2013-09-21abslibre-tools: internationalizeLuke Shumaker
2013-09-12Merge branch 'fauno~2' (early part) into masterLuke Shumaker
2013-09-11libre{stage,release}: fix https://labs.parabola.nu/issues/379Luke Shumaker
2013-06-27add {load,unset}_PKGBUILD to conf.sh, use it.Luke Shumaker
There are a bunch of caveats to loading a PKGBUILD file. This way it is all done correctly in one place. unset_PKGBUILD unsets any functions and variables that are normally set in a PKGBUILD. The list is far more complete than any existing implementation. load_PKGBUILD loads the file given, or "./PKGBUILD" if none is given. But first it calls unset_PKGBUILD and then sets CARCH.
2013-06-08librestage: handle PKGDEST better, fix testsv20130608Luke Shumaker
2013-06-08librestage: go back to looping over all archesLuke Shumaker
This for users who cross-compile for multiple architectures.
2013-06-05Double bracket ==/</> compare lexicographically, not numerically.Luke Shumaker
Unfortunately for me, that means that it works correctly *most* of the time. But, for example, [[ 10 < 2 ]], and negatives don't work.
2013-06-05libre{stage,release}: Standardize message for running as root.Luke Shumaker
2013-06-05librestage: clean up, add unit testsLuke Shumaker
Contained the text "# TODO refactor this", and I can't just stick to that fragment of code, can I? I actually didn't change too much, despite what the diff looks like. - move everything into a main() routine - redo the usage() text - rename a few variables - fix where "${#repos}" should have been "${#repos[@]}" - use [[...]] instead of [...] - use "if A; then B; else C; fi" instead of "A || C && B" - use CARCH instead of looping over every possible architecture. - only look for files that match PKGEXT, as set in makepkg.conf - pull out duplicate code for error handling - don't warn when creating "staging/REPONAME"
2013-06-05librestage: use tabs to indentLuke Shumaker
2013-06-05[many tools]: miscellaneous minor cleanupsLuke Shumaker
2013-06-05[all tools]: use conf.sh (and libremessages if necessary)Luke Shumaker
2012-12-21librestage: use get_full_version() for finding the package file.Luke Shumaker
This fixes a bug with it assuming that version is the same across split packages (and possibly other bugs).
2012-11-07organize the filesLuke Shumaker