summaryrefslogtreecommitdiff
path: root/src/lib/conf.sh
AgeCommit message (Collapse)Author
2014-01-05src/lib/: misc touch-upLuke Shumaker
2014-01-05src/lib/: set TEXTDOMAIN differently for internal messagesLuke Shumaker
This allows us to fix the long-standing bug that libremessages forces TEXTDOMAIN=libretools
2014-01-03Phase out DIFFTOOL for DIFFPROG (issue #438)Luke Shumaker
https://labs.parabola.nu/issues/438
2013-10-07(oops) I missed an instance of get_conf_makepkg.Luke Shumaker
2013-10-04conf.sh: generalize {get,set}_conf_makepkg to {get,set}_varLuke Shumaker
2013-10-02Add documentation for lib/Luke Shumaker
* Add a bunch of man-pages * Add some comments to conf.sh * Add more information to librelib:usage()
2013-09-12Merge branch 'fauno~2' (early part) into masterLuke Shumaker
2013-09-11librelib: Internationalize (actually use the internationalization stuff)Luke Shumaker
2013-09-11conf.sh: touch up quotingLuke 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-13lib/conf.sh: remove INCLUDE_CONF_SH line; everything has been migratedLuke Shumaker
2013-06-08libreblacklist: fix a few bugsLuke Shumaker
- set -e didn't work in blacklist-update when followed by || - it prompted before overwriting the local blacklist
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-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-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-26lib/conf.sh: fix bug with `set -u`Luke Shumaker
2013-05-26Add copyright headers to src/lib/{blacklist,conf}.shLuke 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