summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2013-06-05libreblacklist: fix call to check_varsLuke Shumaker
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-05conf.sh: add a mechanism to save environmental variablesLuke Shumaker
This mimics the behavior of makepkg.
2013-06-05conf.sh: fix leaked local variablesLuke Shumaker
2013-06-05lib/conf.sh: respect a customized HOME variableLuke Shumaker
2013-06-05Add tests for the libreblacklist help system, make them pass.Luke Shumaker
2013-06-05Phase out `load_conf_*` and `check_conf_*` functionsLuke Shumaker
Replace their usages with `load_files *` and `check_vars *`
2013-06-05conf.sh: fix potential bug with MAKEPKG_CONFLuke Shumaker
2013-05-29lib/conf.sh: learn about the slug "abs"Luke Shumaker
2013-05-27fix a bug in conf.sh (from the get_files->list_files switch), add unit testtesting-20130528Luke Shumaker
2013-05-27libreblacklist: learn `-h`Luke Shumaker
2013-05-27add tests for libreblacklist, fix a few bugsLuke Shumaker
2013-05-26redo the library system; avoid hard-coded pathsLuke Shumaker
* install all library files to $(libexecdir)/libretools, instead of - $(bindir) - $(datadir)/libretools - $(datadir)/devtools * symlink the executable library files into $(bindir) * add the tool `librelib` * instead of ". /path/to/lib.sh", use ". $(librelib lib.sh)" * mark all libraries with shebangs of what options they support * move blacklist.sh to libreblacklist
2013-05-26blacklist.sh: make -euE or non -euE safe, add comments, make executable.Luke Shumaker
Also, change blacklist-lookup()'s internals.
2013-05-26lib/conf.sh: fix bug with `set -u`Luke Shumaker
2013-05-26Add copyright headers to src/lib/{blacklist,conf}.shLuke Shumaker
2013-05-23lib/blacklist.sh: source conf.sh globally to ensure XDG_CACHE_HOME is setLuke Shumaker
2013-05-23lib/blacklist.sh:blacklist-cat(): download blacklist iff it doesn't existLuke Shumaker
2013-05-22add a lib/blacklist.sh, use it for pkgbuild-check-nonfreeLuke Shumaker
2013-05-22conf.sh: also set XDG_CACHE_HOMELuke Shumaker
2013-05-21conf.sh: add documentation, make generic API more consistent.Luke Shumaker
* rename get_files() to list_files() * make list_files() NOT take .conf a the end of $slug * the .conf change cascades to check_vars()
2013-05-08lib/conf.sh: hopefully this will fix alfplayer's problem w/ /dev/stderrtesting-20130508Luke Shumaker
2013-05-02librefetch: take advantage of provided librariesLuke Shumaker
2013-05-02COMMITCMD is no longer used, remove it from the confLuke Shumaker
2013-01-04move checks from libretools.conf to conf.shLuke Shumaker
2013-01-04fix mistake in conf.shLuke Shumaker
2012-12-09relax the requirement that [[ $CHROOT != 'root' ]]Luke Shumaker
2012-12-09Add /usr/share/libretools/conf.sh, use /etc/libretools.d/chroot.confLuke Shumaker
Use it for librechroot, libremakepkg, libremkchroot