Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _ob_parse_changelog_error(), _ob_parse_control_error(): Drop field width | Patrick McDermott | 2019-03-17 | 1 | -1/+1 |
| | |||||
* | Add braces to param exps in arith substs | Patrick McDermott | 2019-03-16 | 1 | -1/+1 |
| | |||||
* | Fix missing "()" after function names in @details | Patrick McDermott | 2019-03-14 | 1 | -2/+2 |
| | | | | | Also fix function name in ob_get_system_plat()'s @details and update ob_error()'s @details. | ||||
* | Protect against cmd operands beginning with "-" | Patrick McDermott | 2019-03-13 | 1 | -1/+1 |
| | |||||
* | ob_parse_changelog(): Protect [ commands from strings beginning with "-" | Patrick McDermott | 2019-03-13 | 1 | -4/+4 |
| | |||||
* | Eliminate -a and -o options of [ commands | Patrick McDermott | 2019-03-13 | 1 | -9/+14 |
| | | | | POSIX marks these as obsolescent. | ||||
* | Protect [ commands from strings beginning with "-" | Patrick McDermott | 2019-03-13 | 1 | -9/+9 |
| | |||||
* | ob_parse_changelog(), ob_parse_control(): Explicitly assign null strings | Patrick McDermott | 2019-03-13 | 1 | -1/+1 |
| | | | | | POSIX say, "If value is not specified, the variable shall be given a null value." Make this explicit, for consistency. | ||||
* | Don't let libopkbuild errors cause exit with -e | Patrick McDermott | 2019-03-13 | 1 | -3/+1 |
| | |||||
* | libopkbuild: Abort on invalid function arguments | Patrick McDermott | 2019-03-13 | 1 | -18/+8 |
| | | | | | | | | | | 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_parse_changelog_error(): Use _ob_warn_msg() | Patrick McDermott | 2019-03-12 | 1 | -11/+2 |
| | |||||
* | _ob_get_changelog_expect_str(): Drop unnecessary echo | Patrick McDermott | 2019-03-11 | 1 | -1/+1 |
| | |||||
* | _ob_get_changelog_expect_str(): Use _ob_get_msg() | Patrick McDermott | 2019-03-11 | 1 | -10/+1 |
| | |||||
* | Use (or plan to use) _ob_warn_msg() | Patrick McDermott | 2019-03-11 | 1 | -0/+5 |
| | |||||
* | ob_parse_changelog(): Pass args, not global vars, to cb | Patrick McDermott | 2019-03-11 | 1 | -42/+29 |
| | | | | And update test file. | ||||
* | ob_parse_changelog(): Replace if construct with case | Patrick McDermott | 2019-03-11 | 1 | -88/+95 |
| | |||||
* | _OB_LF: Define and use newline constant | Patrick McDermott | 2019-01-05 | 1 | -6/+3 |
| | |||||
* | lib/changelog.sh, lib/control.sh, lib/locale.sh: Update copyright years | Patrick McDermott | 2018-12-29 | 1 | -1/+1 |
| | |||||
* | ob_parse_changelog(): Finish documentation | Patrick McDermott | 2018-12-28 | 1 | -1/+20 |
| | |||||
* | ob_parse_changelog(): Remove a POD experiment | Patrick McDermott | 2018-12-27 | 1 | -6/+0 |
| | |||||
* | ob_parse_changelog(), ob_parse_dep(): Write some documentation | Patrick McDermott | 2018-12-27 | 1 | -0/+10 |
| | |||||
* | libopkbuild: Move function definitions before points of use | Patrick McDermott | 2018-12-25 | 1 | -39/+39 |
| | |||||
* | libopkbuild: Update header comments, copyright years, & license | Patrick McDermott | 2018-12-24 | 1 | -9/+9 |
| | |||||
* | libopkbuild: Drop include guards | Patrick McDermott | 2018-12-22 | 1 | -3/+0 |
| | |||||
* | ob_use(): Remove | Patrick McDermott | 2018-12-22 | 1 | -4/+0 |
| | |||||
* | 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. | ||||
* | lib/changelog.sh: Remove _ob_local. | P. J. McDermott | 2013-08-18 | 1 | -100/+104 |
| | |||||
* | Use cat in ob_parse_{control,changelog}(). | P. J. McDermott | 2012-11-22 | 1 | -1/+3 |
| | | | | This allows lines to be read from standard input. | ||||
* | Fix arguments to _ob_parse_changelog_error(). | P. J. McDermott | 2012-11-22 | 1 | -11/+13 |
| | |||||
* | Additionally license everything under GPLv2. | P. J. McDermott | 2012-10-16 | 1 | -1/+1 |
| | |||||
* | Return 0 on success in ob_parse_changelog(). | P. J. McDermott | 2012-10-10 | 1 | -5/+3 |
| | | | | | In packages with more than 124 changes, ob_parse_changelog() would return an error value. | ||||
* | Fix name of ob_parse_changelog(). | P. J. McDermott | 2012-10-02 | 1 | -1/+1 |
| | |||||
* | Fix uses of an old function name. | P. J. McDermott | 2012-10-02 | 1 | -1/+1 |
| | |||||
* | Factor out name of internal text domain. | P. J. McDermott | 2012-09-30 | 1 | -2/+2 |
| | |||||
* | Use metadata functions in ob_parse_changelog(). | P. J. McDermott | 2012-09-30 | 1 | -16/+3 |
| | |||||
* | Standardize use of quotes in code style. | P. J. McDermott | 2012-09-26 | 1 | -17/+17 |
| | |||||
* | Don't use the old "util" module. | P. J. McDermott | 2012-09-26 | 1 | -1/+0 |
| | |||||
* | Fix ob_use() arguments. | P. J. McDermott | 2012-09-26 | 1 | -3/+3 |
| | |||||
* | Return rather than print value in _ob_return. | P. J. McDermott | 2012-09-09 | 1 | -5/+10 |
| | | | | | Don't use _ob_return in command substitutions. Doing so unsets stack variables only in a subshell environment. | ||||
* | Use new stack MM in changelog module. | P. J. McDermott | 2012-09-08 | 1 | -39/+14 |
| | |||||
* | Use ob_use instead of . in all rewritten modules. | P. J. McDermott | 2012-09-08 | 1 | -3/+3 |
| | |||||
* | Set text domain before getting message strings. | P. J. McDermott | 2012-09-05 | 1 | -1/+18 |
| | |||||
* | Largely rewrite changelog library module. | P. J. McDermott | 2012-09-05 | 1 | -123/+174 |
| | |||||
* | Remove remaining (old) magic numbers from library. | P. J. McDermott | 2012-08-03 | 1 | -2/+0 |
| | |||||
* | Don't separate expect string into fields. | P. J. McDermott | 2012-08-02 | 1 | -5/+5 |
| | |||||
* | Load locale in library files that need it. | P. J. McDermott | 2012-08-01 | 1 | -0/+1 |
| | |||||
* | Internationalize expect strings in changelog lib. | P. J. McDermott | 2012-08-01 | 1 | -44/+46 |
| | |||||
* | Hardcode relative path to changelog. | P. J. McDermott | 2012-08-01 | 1 | -16/+15 |
| | |||||
* | Prevent double execution/inclusion. | P. J. McDermott | 2012-08-01 | 1 | -0/+3 |
| |