summaryrefslogtreecommitdiffstats
path: root/lib/deps.sh
Commit message (Collapse)AuthorAgeFilesLines
* Delimit operands of ob_parse_dep()Patrick McDermott2019-03-181-2/+2
|
* Add braces to param exps in arith substsPatrick McDermott2019-03-161-2/+2
|
* lib/, locale/, tests/: Update copyright yearsPatrick McDermott2019-03-161-1/+1
|
* lib/deps.sh, lib/metadata.sh, lib/package/2.sh: Wrap long linesPatrick McDermott2019-03-141-1/+2
| | | | lib/changelog.sh and lib/control.sh still have many long lines.
* Fix missing "()" after function names in @detailsPatrick McDermott2019-03-141-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 platformPatrick McDermott2019-03-131-3/+3
| | | | Same rationale as in commit 34f21a5.
* ob_parse_dep(): Swap -p and -P option lettersPatrick McDermott2019-03-131-11/+11
| | | | Be consistent with opkbuild and other executable CLIs.
* Eliminate -a and -o options of [ commandsPatrick McDermott2019-03-131-2/+2
| | | | POSIX marks these as obsolescent.
* ob_parse_dep(): Fix crash on dep without version, arches, or platsPatrick McDermott2019-03-131-4/+4
|
* libopkbuild: Abort on invalid function argumentsPatrick McDermott2019-03-131-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 printfPatrick McDermott2019-03-121-1/+1
|
* ob_parse_dep(): Drop echo and improve quotes in eval cmdsPatrick McDermott2019-03-121-2/+2
|
* lib/deps.sh: Update copyright yearsPatrick McDermott2018-12-281-1/+1
|
* ob_reduce_deps(): DocumentPatrick McDermott2018-12-281-0/+19
|
* ob_parse_dep(): Improve documentationPatrick McDermott2018-12-281-5/+10
|
* ob_parse_dep(): Move @details doc commandPatrick McDermott2018-12-271-4/+4
|
* ob_parse_dep(): Use and reword @pure doc commandPatrick McDermott2018-12-271-3/+2
|
* ob_parse_dep(): Clarify optional components in docPatrick McDermott2018-12-271-2/+3
|
* ob_parse_dep(): Add a @stdout command to documentationPatrick McDermott2018-12-271-0/+2
|
* ob_parse_dep(): Fix an @option commandPatrick McDermott2018-12-271-1/+1
|
* ob_parse_dep(): Add a @purity command to documentationPatrick McDermott2018-12-271-0/+3
|
* ob_parse_changelog(), ob_parse_dep(): Write some documentationPatrick McDermott2018-12-271-0/+24
|
* libopkbuild: Update header comments, copyright years, & licensePatrick McDermott2018-12-241-9/+9
|
* ob_parse_dep(), ob_reduce_deps(): Initialize OPTIND before getoptsPatrick McDermott2018-12-241-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 guardsPatrick McDermott2018-12-221-3/+0
|
* ob_use(): RemovePatrick McDermott2018-12-221-2/+0
|
* parse_dep(): Rewrite parsing code to use sed's EREP. J. McDermott2014-10-251-45/+25
|
* lib/*.sh, lib/*/*.sh: Add ".sh" to header comment.P. J. McDermott2013-08-181-1/+1
|
* lib/*.sh, lib/*/*.sh: Rewrite include guards.P. J. McDermott2013-08-181-2/+2
| | | | This is one step toward adding `set -u` to opkbuild.
* ob_reduce_deps(): Add "unset IFS" after a loop.P. J. McDermott2013-08-181-0/+1
|
* lib/deps.sh: Remove _ob_local.P. J. McDermott2013-08-181-118/+125
|
* Add {arch,plat}_is_concerned funcs to public API.P. J. McDermott2012-11-051-66/+2
|
* Simplify a comment in ob_parse_dep().P. J. McDermott2012-10-271-1/+1
|
* Improve IFS resetting in ob_reduce_deps().P. J. McDermott2012-10-271-5/+4
|
* Fix parsing of platform specs in ob_parse_dep().P. J. McDermott2012-10-251-1/+1
|
* Improve formatting of dep in ob_parse_dep().P. J. McDermott2012-10-251-6/+16
|
* Reduce platforms in ob_reduce_deps().P. J. McDermott2012-10-251-4/+7
|
* Print a newline after output in ob_parse_dep().P. J. McDermott2012-10-251-0/+1
|
* Reduce platforms in ob_parse_dep().P. J. McDermott2012-10-251-5/+29
|
* Implement _ob_dep_plat_is_concerned().P. J. McDermott2012-10-251-0/+32
|
* Remove arch specs from remaining dep string.P. J. McDermott2012-10-251-0/+1
|
* Refactor printing logic in ob_parse_dep().P. J. McDermott2012-10-251-11/+10
|
* Additionally license everything under GPLv2.P. J. McDermott2012-10-161-1/+1
|
* "ob_use metadata" in "deps" module.P. J. McDermott2012-09-291-0/+2
|
* Validate variable names in ob_parse_dep().P. J. McDermott2012-09-281-0/+20
|
* Standardize use of quotes in _ob_parse_dep().P. J. McDermott2012-09-281-1/+1
|
* Standardize use of quotes in code style.P. J. McDermott2012-09-261-3/+3
|
* Add space before "|" operator in dependency lists.P. J. McDermott2012-09-091-1/+1
|
* Support union dependencies in ob_reduce_deps.P. J. McDermott2012-09-091-1/+8
|
* Reset IFS as soon as possible in ob_reduce_deps.P. J. McDermott2012-09-091-1/+2
|