Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib/, locale/, tests/: Update copyright years | Patrick McDermott | 2019-03-16 | 1 | -1/+1 |
| | |||||
* | lib/deps.sh, lib/metadata.sh, lib/package/2.sh: Wrap long lines | Patrick McDermott | 2019-03-14 | 1 | -1/+2 |
| | | | | lib/changelog.sh and lib/control.sh still have many long lines. | ||||
* | Fix missing "()" after function names in @details | Patrick McDermott | 2019-03-14 | 1 | -1/+1 |
| | | | | | Also fix function name in ob_get_system_plat()'s @details and update ob_error()'s @details. | ||||
* | ob_reduce_deps(): Use -p instead of -P for platform | Patrick McDermott | 2019-03-13 | 1 | -3/+3 |
| | | | | Same rationale as in commit 34f21a5. | ||||
* | ob_parse_dep(): Swap -p and -P option letters | Patrick McDermott | 2019-03-13 | 1 | -11/+11 |
| | | | | Be consistent with opkbuild and other executable CLIs. | ||||
* | Eliminate -a and -o options of [ commands | Patrick McDermott | 2019-03-13 | 1 | -2/+2 |
| | | | | POSIX marks these as obsolescent. | ||||
* | ob_parse_dep(): Fix crash on dep without version, arches, or plats | Patrick McDermott | 2019-03-13 | 1 | -4/+4 |
| | |||||
* | libopkbuild: Abort on invalid function arguments | Patrick McDermott | 2019-03-13 | 1 | -19/+13 |
| | | | | | | | | | | Shift arguments and abort instead of returning 125. Incorrect numbers of function arguments suggest application/library incompatibilities or serious errors by the application developer. Either way, the application developer should be made immediately aware of this (and not allowed to simply not check return values), and continuing to run and handle any further API calls may be unsafe. | ||||
* | ob_reduce_deps(): Replace echo with printf | Patrick McDermott | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | ob_parse_dep(): Drop echo and improve quotes in eval cmds | Patrick McDermott | 2019-03-12 | 1 | -2/+2 |
| | |||||
* | lib/deps.sh: Update copyright years | Patrick McDermott | 2018-12-28 | 1 | -1/+1 |
| | |||||
* | ob_reduce_deps(): Document | Patrick McDermott | 2018-12-28 | 1 | -0/+19 |
| | |||||
* | ob_parse_dep(): Improve documentation | Patrick McDermott | 2018-12-28 | 1 | -5/+10 |
| | |||||
* | ob_parse_dep(): Move @details doc command | Patrick McDermott | 2018-12-27 | 1 | -4/+4 |
| | |||||
* | ob_parse_dep(): Use and reword @pure doc command | Patrick McDermott | 2018-12-27 | 1 | -3/+2 |
| | |||||
* | ob_parse_dep(): Clarify optional components in doc | Patrick McDermott | 2018-12-27 | 1 | -2/+3 |
| | |||||
* | ob_parse_dep(): Add a @stdout command to documentation | Patrick McDermott | 2018-12-27 | 1 | -0/+2 |
| | |||||
* | ob_parse_dep(): Fix an @option command | Patrick McDermott | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | ob_parse_dep(): Add a @purity command to documentation | Patrick McDermott | 2018-12-27 | 1 | -0/+3 |
| | |||||
* | ob_parse_changelog(), ob_parse_dep(): Write some documentation | Patrick McDermott | 2018-12-27 | 1 | -0/+24 |
| | |||||
* | libopkbuild: Update header comments, copyright years, & license | Patrick McDermott | 2018-12-24 | 1 | -9/+9 |
| | |||||
* | ob_parse_dep(), ob_reduce_deps(): Initialize OPTIND before getopts | Patrick McDermott | 2018-12-24 | 1 | -0/+2 |
| | | | | | | | | Dash and BusyBox ash apparently do this themselves, but GNU Bash (and other shells?) don't. POSIX says that getopts can be used more than once if OPTIND is set to 1, but using getopts multiple times with different parameters without setting OPTIND to 1 "produces unspecified results". | ||||
* | libopkbuild: Drop include guards | Patrick McDermott | 2018-12-22 | 1 | -3/+0 |
| | |||||
* | ob_use(): Remove | Patrick McDermott | 2018-12-22 | 1 | -2/+0 |
| | |||||
* | parse_dep(): Rewrite parsing code to use sed's ERE | P. J. McDermott | 2014-10-25 | 1 | -45/+25 |
| | |||||
* | lib/*.sh, lib/*/*.sh: Add ".sh" to header comment. | P. J. McDermott | 2013-08-18 | 1 | -1/+1 |
| | |||||
* | lib/*.sh, lib/*/*.sh: Rewrite include guards. | P. J. McDermott | 2013-08-18 | 1 | -2/+2 |
| | | | | This is one step toward adding `set -u` to opkbuild. | ||||
* | ob_reduce_deps(): Add "unset IFS" after a loop. | P. J. McDermott | 2013-08-18 | 1 | -0/+1 |
| | |||||
* | lib/deps.sh: Remove _ob_local. | P. J. McDermott | 2013-08-18 | 1 | -118/+125 |
| | |||||
* | Add {arch,plat}_is_concerned funcs to public API. | P. J. McDermott | 2012-11-05 | 1 | -66/+2 |
| | |||||
* | Simplify a comment in ob_parse_dep(). | P. J. McDermott | 2012-10-27 | 1 | -1/+1 |
| | |||||
* | Improve IFS resetting in ob_reduce_deps(). | P. J. McDermott | 2012-10-27 | 1 | -5/+4 |
| | |||||
* | Fix parsing of platform specs in ob_parse_dep(). | P. J. McDermott | 2012-10-25 | 1 | -1/+1 |
| | |||||
* | Improve formatting of dep in ob_parse_dep(). | P. J. McDermott | 2012-10-25 | 1 | -6/+16 |
| | |||||
* | Reduce platforms in ob_reduce_deps(). | P. J. McDermott | 2012-10-25 | 1 | -4/+7 |
| | |||||
* | Print a newline after output in ob_parse_dep(). | P. J. McDermott | 2012-10-25 | 1 | -0/+1 |
| | |||||
* | Reduce platforms in ob_parse_dep(). | P. J. McDermott | 2012-10-25 | 1 | -5/+29 |
| | |||||
* | Implement _ob_dep_plat_is_concerned(). | P. J. McDermott | 2012-10-25 | 1 | -0/+32 |
| | |||||
* | Remove arch specs from remaining dep string. | P. J. McDermott | 2012-10-25 | 1 | -0/+1 |
| | |||||
* | Refactor printing logic in ob_parse_dep(). | P. J. McDermott | 2012-10-25 | 1 | -11/+10 |
| | |||||
* | Additionally license everything under GPLv2. | P. J. McDermott | 2012-10-16 | 1 | -1/+1 |
| | |||||
* | "ob_use metadata" in "deps" module. | P. J. McDermott | 2012-09-29 | 1 | -0/+2 |
| | |||||
* | Validate variable names in ob_parse_dep(). | P. J. McDermott | 2012-09-28 | 1 | -0/+20 |
| | |||||
* | Standardize use of quotes in _ob_parse_dep(). | P. J. McDermott | 2012-09-28 | 1 | -1/+1 |
| | |||||
* | Standardize use of quotes in code style. | P. J. McDermott | 2012-09-26 | 1 | -3/+3 |
| | |||||
* | Add space before "|" operator in dependency lists. | P. J. McDermott | 2012-09-09 | 1 | -1/+1 |
| | |||||
* | Support union dependencies in ob_reduce_deps. | P. J. McDermott | 2012-09-09 | 1 | -1/+8 |
| | |||||
* | Reset IFS as soon as possible in ob_reduce_deps. | P. J. McDermott | 2012-09-09 | 1 | -1/+2 |
| | |||||
* | An arch is concerned if no arches are specified. | P. J. McDermott | 2012-09-09 | 1 | -0/+4 |
| | |||||
* | Fix missing argument to _ob_dep_arch_is_concerned. | P. J. McDermott | 2012-09-09 | 1 | -1/+1 |
| |