summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* ob_set_text_domain(): Fix eval commandsPatrick McDermott2019-03-171-2/+2
|
* _ob_try_load_messages(): Fix logicPatrick McDermott2019-03-171-1/+1
|
* _ob_load_internal_text_domain(): Terminate on errorPatrick McDermott2019-03-171-0/+2
|
* ob_parse_control(): Fix variable name in expansionPatrick McDermott2019-03-161-1/+1
| | | | Bug found with "set -u" in test suite.
* _ob_load_internal_text_domain(): More safely check if LC_MESSAGES etc. are setPatrick McDermott2019-03-161-3/+3
|
* Add braces to param exps in arith substsPatrick McDermott2019-03-165-7/+7
|
* _ob_change_2(): Fix to use args instead of global varsPatrick McDermott2019-03-161-6/+14
|
* lib/, locale/, tests/: Update copyright yearsPatrick McDermott2019-03-166-6/+6
|
* ob_get_msg(): Make sure ob_set_text_domain() is called firstPatrick McDermott2019-03-151-1/+8
|
* ob_set_locale_path(): RemovePatrick McDermott2019-03-151-11/+0
| | | | All functions are now documented.
* _ob_try_load_*messages(): MergePatrick McDermott2019-03-151-21/+7
|
* _ob_try_load_*messages(): Don't mandate "locale" dir in build dirPatrick McDermott2019-03-151-2/+2
|
* _ob_try_load_messages(): Support running in placePatrick McDermott2019-03-151-2/+7
|
* _ob_try_load_internal_messages(): Remove tab on empty linePatrick McDermott2019-03-151-1/+1
|
* _ob_try_load_internal_messages(): Remove stray linePatrick McDermott2019-03-151-1/+0
|
* _ob_try_load_internal_messages(): Rename OB_BUILDDIR env varPatrick McDermott2019-03-151-2/+2
|
* _ob_try_load_messages(): Replace . with eval/catPatrick McDermott2019-03-151-6/+6
|
* _ob_try_load_messages(): Abort on missing argumentPatrick McDermott2019-03-151-2/+2
|
* ob_set_text_domain(): _ob_load_internal_text_domain() sets LC_MESSAGESPatrick McDermott2019-03-151-11/+0
|
* _ob_load_internal_text_domain(): New __init functionPatrick McDermott2019-03-151-0/+40
|
* _ob_get_msg(): Don't call ob_set_text_domain()Patrick McDermott2019-03-151-5/+1
| | | | | Repeat instead of reusing code, as the result is actually shorter and faster code.
* ob_*_is_concerned(): DocumentPatrick McDermott2019-03-151-0/+22
|
* _ob_match_plat(): Move closer to usagePatrick McDermott2019-03-141-16/+16
|
* _ob_match_plat(): Remove loopPatrick McDermott2019-03-141-10/+7
|
* _ob_match_arch(): Remove loopPatrick McDermott2019-03-141-27/+19
| | | | | ob_arch_is_concerned() calls this function with just one field arch at a time, so this only needs to handle one arch.
* ob_match_*(): Make privatePatrick McDermott2019-03-141-6/+6
| | | | | These functions are only ever called by ob_*_is_concerned() and are not very useful outside that context.
* ob_match_*(): Drop checks for "all" match arch/platPatrick McDermott2019-03-141-16/+0
|
* ob_match_plat(): Use clearer variable namesPatrick McDermott2019-03-141-7/+7
|
* lib/package.sh: Make global variables lowercasePatrick McDermott2019-03-141-19/+19
|
* ob_get_binary_packages(): Avoid multiple runs with 0 bin pkgsPatrick McDermott2019-03-141-3/+4
|
* lib/deps.sh, lib/metadata.sh, lib/package/2.sh: Wrap long linesPatrick McDermott2019-03-143-5/+10
| | | | lib/changelog.sh and lib/control.sh still have many long lines.
* Fix missing "()" after function names in @detailsPatrick McDermott2019-03-147-37/+38
| | | | | Also fix function name in ob_get_system_plat()'s @details and update ob_error()'s @details.
* ob_set_package_substvars(): DocumentPatrick McDermott2019-03-141-0/+10
|
* ob_get_binary_packages(): DocumentPatrick McDermott2019-03-141-0/+14
|
* ob_error(): Update @pure doc commandPatrick McDermott2019-03-141-1/+1
|
* ob_error(), ob_warn(), ob_info(): Make @stderr doc cmds more consistentPatrick McDermott2019-03-141-6/+5
|
* ob_get_*_parameter(): Fix @operand doc commandsPatrick McDermott2019-03-141-3/+3
|
* ob_init_package(): DocumentPatrick McDermott2019-03-141-0/+9
|
* ob_summarize_package_*(): RemovePatrick McDermott2019-03-131-14/+0
| | | | | | These were supposed to generate lists of architectures (platforms) and architecture (platform) wildcards for which a source package can be built, like the Architecture field of Debian dsc files.
* ob_get_doc_files(): DocumentPatrick McDermott2019-03-131-0/+8
|
* ob_get_doc_files(): Drop arch and plat parametersPatrick McDermott2019-03-132-8/+1
| | | | | | The set of documentation files to be provided should not be dependent on the architecture and platform for which at least some of the binary packages are built.
* ob_get_doc_package(): DocumentPatrick McDermott2019-03-131-0/+7
|
* ob_get_*_parameter(): DocumentPatrick McDermott2019-03-131-0/+15
|
* ob_parse_package_metadata(): Merge into ob_init_package()Patrick McDermott2019-03-131-15/+10
| | | | | | Now that caching is gone, the ob_parse_package_metadata() interface function is trivially short, and keeping it separate unnecessarily complicates the API.
* ob_get_binary_packages(): Use -p instead of -P for platformPatrick McDermott2019-03-131-2/+2
|
* 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.
* _ob_get_system_path(): Protect against DATADIR with "%"Patrick McDermott2019-03-131-4/+4
|
* Protect against cmd operands beginning with "-"Patrick McDermott2019-03-135-7/+7
|
* ob_parse_changelog(): Protect [ commands from strings beginning with "-"Patrick McDermott2019-03-131-4/+4
|