summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* ob_get_binary_packages(), *ob_*_binary_parameter(): Improve "clean" namingPatrick McDermott2019-06-241-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And fix unbound variables in ob_get_binary_parameter() and _ob_set_binary_parameter(). Fixes: FAIL: tests/lib/ob_get_binary_parameter ======================================= 1..5 [...]/lib/libopkbuild.shso.2: line 568: pkg: unbound variable ok 1 - ob_init_package() PASS: tests/lib/ob_get_binary_parameter.sh 1 - ob_init_package() not ok 2 - foo Architecture FAIL: tests/lib/ob_get_binary_parameter.sh 2 - foo Architecture # Failed test 'foo Architecture' # got: '' [...]/lib/libopkbuild.shso.2: line 568: pkg: unbound variable # expected: 'any-linux-any' not ok 3 - foo Platform FAIL: tests/lib/ob_get_binary_parameter.sh 3 - foo Platform # Failed test 'foo Platform' # got: '' [...]/lib/libopkbuild.shso.2: line 568: pkg: unbound variable # expected: 'all' not ok 4 - bar Architecture FAIL: tests/lib/ob_get_binary_parameter.sh 4 - bar Architecture # Failed test 'bar Architecture' # got: '' [...]/lib/libopkbuild.shso.2: line 568: pkg: unbound variable # expected: 'all' not ok 5 - bar Platform FAIL: tests/lib/ob_get_binary_parameter.sh 5 - bar Platform # Failed test 'bar Platform' # got: '' # expected: 'all'
* _ob_gmtime(): Fix numbers being interpreted in octalPatrick McDermott2019-06-181-1/+1
|
* ob_rfc822_mktime(), ob_*_gmtime(): Add "(3)" to C function manual referencesPatrick McDermott2019-06-181-7/+7
|
* ob_touch_t_gmtime(): New functionPatrick McDermott2019-06-181-0/+21
|
* ob_iso8601_gmtime(): Factor out common gmtime codePatrick McDermott2019-06-181-13/+22
|
* ob_get_system_path(): Allow overriding DATADIRPatrick McDermott2019-06-172-5/+15
|
* ob_get_system_path(): Allow package-less platconfPatrick McDermott2019-06-162-3/+9
|
* ob_iso8601_gmtime(): Fix dates after leap daysPatrick McDermott2019-06-161-1/+1
|
* ob_rfc822_mktime(): Drop "+" TZ signPatrick McDermott2019-06-161-1/+2
|
* ob_rfc822_mktime(): Parse monthPatrick McDermott2019-06-151-1/+17
|
* ob_rfc822_mktime(): Fix parsingPatrick McDermott2019-06-151-2/+6
|
* lib/time.sh: New filePatrick McDermott2019-06-152-1/+164
|
* _ob_parse_control_error(): Make arg vars localPatrick McDermott2019-04-231-3/+3
|
* ob_set_*_substvar(), ob_substvars(): Use lowercase eval varsPatrick McDermott2019-04-231-14/+14
|
* metadata/proteanos: Allow "+" and forbid "-" in upstream versionsPatrick McDermott2019-04-031-1/+1
|
* ob_set_binary_substvar(), ob_substvars(): Clean up binary package namesPatrick McDermott2019-04-021-0/+5
| | | | | Fixes substvars for binary packages with non-alphanumeric characters in their names.
* ob_set_package_substvars(): Update @operand doc cmdPatrick McDermott2019-03-181-2/+1
|
* ob_parse_control(): Shift optional argumentsPatrick McDermott2019-03-181-0/+1
|
* ob_substvars(): Save untranslated var name for warning messagePatrick McDermott2019-03-181-6/+7
|
* ob_substvars(): Replace here-document with printfPatrick McDermott2019-03-181-4/+1
|
* ob_substvars(): Make package operand optionalPatrick McDermott2019-03-181-4/+12
|
* _ob_set_package_substvars_2(): Parse binary package substvarsPatrick McDermott2019-03-181-10/+33
|
* ob_substvars(): Substitute binary package varsPatrick McDermott2019-03-181-3/+16
|
* ob_set_binary_substvar(): New functionPatrick McDermott2019-03-181-0/+34
|
* ob_set_source_substvar(), ob_substvars(): Rename eval'ed varPatrick McDermott2019-03-181-2/+2
|
* ob_set_source_substvar(): Make sed script a global varPatrick McDermott2019-03-181-9/+10
|
* ob_set_source_substvar(): Replace here-documents with printfPatrick McDermott2019-03-181-9/+3
|
* _ob_substvar_2(): Define above usagePatrick McDermott2019-03-181-12/+12
|
* ob_set_substvar(): Rename to ob_set_source_substvar()Patrick McDermott2019-03-182-11/+14
|
* Delimit operands of ob_parse_version()Patrick McDermott2019-03-182-2/+3
|
* Delimit operands of ob_parse_dep()Patrick McDermott2019-03-181-2/+2
|
* lib/control.sh: Wrap long linesPatrick McDermott2019-03-181-7/+10
|
* _ob_validate_var_name(): Check for empty var namePatrick McDermott2019-03-181-1/+1
|
* _ob_validate_var_name(): Abort on missing argumentPatrick McDermott2019-03-181-1/+4
|
* _ob_get_changelog_expect_str(): Abort on missing argumentPatrick McDermott2019-03-181-1/+4
|
* ob_parse_changelog(): Wrap long linesPatrick McDermott2019-03-181-21/+38
| | | | Wow this is ugly.
* ob_set_substvar(): Replace echo with a here-documentPatrick McDermott2019-03-181-2/+5
|
* ob_set_substvar(): No it can'tPatrick McDermott2019-03-181-1/+0
| | | | | | read only reads one line. It could be put in a loop, but then it would trim whitespace from every line (without some hacks to flag the first line and detect the last line), which is undesired.
* Revert "ob_set_substvar(): Replace sed with read"Patrick McDermott2019-03-181-3/+10
| | | | This reverts commit 96851fd522ae3540314ac5c5d4d4fbec1448ca4b.
* _OB_LF: Make publicPatrick McDermott2019-03-173-5/+5
|
* ob_get_*_parameter(): Avoid shell error on no such fieldPatrick McDermott2019-03-171-2/+4
|
* ob_parse_control(): Fix another variable name in expansionPatrick McDermott2019-03-171-1/+1
|
* lib/package/2.sh: Fix _ob_package_dir casePatrick McDermott2019-03-171-8/+8
| | | | This should have been done in commit 44d41cd.
* _ob_parse_changelog_error(), _ob_parse_control_error(): Drop field widthPatrick McDermott2019-03-172-3/+3
|
* ob_error(), ob_warn(), ob_info(): Fix formattingPatrick McDermott2019-03-171-3/+6
|
* ob_error(), ob_warn(), ob_info(): Fix _ob_get_msg() callsPatrick McDermott2019-03-171-3/+3
|
* 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.