summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ob_get_*_parameter(): DocumentPatrick McDermott2019-03-131-0/+15
|
* ob_parse_package_metadata(): Merge into ob_init_package()Patrick McDermott2019-03-1311-25/+10
| | | | | | Now that caching is gone, the ob_parse_package_metadata() interface function is trivially short, and keeping it separate unnecessarily complicates the API.
* TODO: Duly reconsideredPatrick McDermott2019-03-131-1/+0
|
* tests/ob_parse_dep.sh: Update option letterPatrick McDermott2019-03-131-1/+1
|
* TODO: Add tasks related to executablesPatrick McDermott2019-03-131-0/+2
|
* ob_get_binary_packages(): Use -p instead of -P for platformPatrick McDermott2019-03-132-10/+10
|
* ob_reduce_deps(): Use -p instead of -P for platformPatrick McDermott2019-03-133-6/+6
| | | | Same rationale as in commit 34f21a5.
* ob_parse_dep(): Swap -p and -P option lettersPatrick McDermott2019-03-134-14/+13
| | | | Be consistent with opkbuild and other executable CLIs.
* TODO: Improve in-place locale loadingPatrick McDermott2019-03-131-0/+2
|
* TODO: Drop 2012 copyright and reconsider getoptsPatrick McDermott2019-03-131-4/+4
|
* ob-installdocs: Replace "${data_doc_dir%/*}" with dirnamePatrick McDermott2019-03-131-1/+2
|
* _ob_get_system_path(): Protect against DATADIR with "%"Patrick McDermott2019-03-131-4/+4
|
* Protect against cmd operands beginning with "-"Patrick McDermott2019-03-1312-30/+29
|
* ob_parse_changelog(): Protect [ commands from strings beginning with "-"Patrick McDermott2019-03-131-4/+4
|
* ob_parse_package_metadata(): Return non-zero exit status on errorPatrick McDermott2019-03-131-1/+1
|
* ob-installplatconf, ob-installdocs: Replace "${dest%/*}" checks with dirnamePatrick McDermott2019-03-132-17/+14
|
* ob-installplatconf: Add return statements after ob_error() callsPatrick McDermott2019-03-131-4/+11
|
* Eliminate -a and -o options of [ commandsPatrick McDermott2019-03-134-13/+19
| | | | POSIX marks these as obsolescent.
* Protect [ commands from strings beginning with "-"Patrick McDermott2019-03-1311-60/+59
|
* ob_parse_package_metadata(): Eliminate cachingPatrick McDermott2019-03-1312-66/+10
| | | | Cf. commit da45b6d.
* TODO: Simplify applied patch tracking planPatrick McDermott2019-03-131-7/+2
|
* TODO: Eliminate metadata cachingPatrick McDermott2019-03-131-11/+1
| | | | | It complicates the code and hides metadata changes (unless timestamp checking gets added), all for little performance benefit.
* TODO: Sort into general cleanup and functional changesPatrick McDermott2019-03-132-17/+24
| | | | And update heading parsing in Makefile.am.
* opkbuild, ob-*: Exit with error on ob_set_text_domain() failurePatrick McDermott2019-03-1311-12/+40
|
* TODO: Drop executable error exitingPatrick McDermott2019-03-131-1/+0
|
* ob-*: Add more return statementsPatrick McDermott2019-03-136-2/+35
|
* ob-*: Replace exit with returnPatrick McDermott2019-03-139-18/+18
|
* opkbuild: Add more return statementsPatrick McDermott2019-03-131-23/+35
|
* opkbuild: Add return statements after ob_error() callsPatrick McDermott2019-03-131-13/+35
|
* ob-*: Add return statements after ob_error() callsPatrick McDermott2019-03-134-18/+67
|
* ob_parse_changelog(), ob_parse_control(): Explicitly assign null stringsPatrick McDermott2019-03-132-2/+2
| | | | | POSIX say, "If value is not specified, the variable shall be given a null value." Make this explicit, for consistency.
* TODO: Add xz-related tasksPatrick McDermott2019-03-131-0/+5
|
* opkbuild, ob-*: set -ePatrick McDermott2019-03-1311-1/+20
|
* ob_substvars(): s/while true/while :/Patrick McDermott2019-03-131-1/+1
|
* ob_parse_dep(): Fix crash on dep without version, arches, or platsPatrick McDermott2019-03-131-4/+4
|
* tests/*.sh: set -ePatrick McDermott2019-03-137-0/+14
|
* Don't let libopkbuild errors cause exit with -ePatrick McDermott2019-03-137-41/+38
|
* ob_substvars(), ob_init_package(): Call _ob_error_msg()Patrick McDermott2019-03-133-3/+2
|
* ob_error(): Make non-fatalPatrick McDermott2019-03-132-5/+4
|
* libopkbuild: Abort on invalid function argumentsPatrick McDermott2019-03-1310-356/+159
| | | | | | | | | | 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_abort(): New internal function to crash hardPatrick McDermott2019-03-131-0/+7
|
* TODO: echo is gone and IFS assignments are OKPatrick McDermott2019-03-131-3/+0
|
* tests/ob_parse_dep.sh: Replace echo and improve quotes in eval cmdPatrick McDermott2019-03-131-2/+2
|
* ob-unpacksource: Replace echo with here-documentPatrick McDermott2019-03-131-1/+5
| | | | And drop the unnecessary grep.
* ob-unpacksource: Make sed BRE POSIX-conformantPatrick McDermott2019-03-131-1/+1
|
* ob-unpacksource: Improve upstream archive countingPatrick McDermott2019-03-131-6/+6
|
* ob-gencontrol: Replace echo with here-documentPatrick McDermott2019-03-131-1/+4
|
* ob-buildopk: Replace echo with printfPatrick McDermott2019-03-131-1/+1
|
* ob_match_arch(): Use clearer variable namesPatrick McDermott2019-03-131-9/+9
|
* ob_match_arch(): Replace generated ERE with native SCLPatrick McDermott2019-03-131-8/+20
|