Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ob_parse_dep(): Fix documentation | Patrick McDermott | 2020-12-08 | 1 | -1/+1 |
| | |||||
* | ob_*_gmtime(): Don't freeze in December | Patrick McDermott | 2020-12-06 | 1 | -0/+1 |
| | |||||
* | ob_init_package(): Defend against CDPATH in Bash | Patrick McDermott | 2020-07-05 | 1 | -1/+1 |
| | | | | Why does Bash insist on breaking standard things? | ||||
* | _ob_parse_package_metadata_2(): Validate sections only if present | Patrick McDermott | 2020-07-05 | 1 | -1/+1 |
| | |||||
* | ob_get_binary_packages(): Factor out side effects | Patrick McDermott | 2020-07-05 | 1 | -40/+35 |
| | | | | | | | As described in the documentation, it was only pure after being called once outside a subshell, but it was never actually called outside a subshell. So it rescanned the file system for binary packages every time. | ||||
* | _ob_set_binary_packages(): Remove | Patrick McDermott | 2020-07-05 | 2 | -20/+4 |
| | | | | | | | _ob_get_binary_packages_2() now just prints packages. Also fix multiple issues with (re)population of ${_ob_binary_packages} in ob_get_binary_packages(). | ||||
* | _ob_parse_package_metadata_2(): Validate section | Patrick McDermott | 2020-07-05 | 2 | -7/+7 |
| | | | | | On ob_get_binary_packages()'s first run, binary package control files haven't yet been parsed. | ||||
* | ob_get_binary_packages(): Validate section | Patrick McDermott | 2020-07-05 | 1 | -1/+7 |
| | |||||
* | ob_validate_section(): New function | Patrick McDermott | 2020-07-05 | 2 | -0/+32 |
| | |||||
* | ob_qualify_package_name(): New function | Patrick McDermott | 2020-06-21 | 2 | -0/+41 |
| | |||||
* | ob-gencontrol: Generate a "Section" field | Patrick McDermott | 2020-06-17 | 1 | -1/+1 |
| | | | | And add it to SPF 2.x. | ||||
* | ob-gencontrol: Generate a "Format" field | Patrick McDermott | 2020-06-13 | 1 | -1/+7 |
| | | | | And add the needed support to ob_get_source_parameter(). | ||||
* | metadata/proteanos: Allow backport versions | Patrick McDermott | 2019-08-04 | 1 | -0/+2 |
| | |||||
* | metadata/proteanos: Relax <pkgrev> requirements | Patrick McDermott | 2019-08-04 | 1 | -1/+1 |
| | |||||
* | ob_set_binary_substvar(), ob_substvars(): Improve "clean" naming | Patrick McDermott | 2019-06-24 | 1 | -2/+3 |
| | |||||
* | ob_get_binary_packages(), *ob_*_binary_parameter(): Improve "clean" naming | Patrick McDermott | 2019-06-24 | 1 | -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 octal | Patrick McDermott | 2019-06-18 | 1 | -1/+1 |
| | |||||
* | ob_rfc822_mktime(), ob_*_gmtime(): Add "(3)" to C function manual references | Patrick McDermott | 2019-06-18 | 1 | -7/+7 |
| | |||||
* | ob_touch_t_gmtime(): New function | Patrick McDermott | 2019-06-18 | 1 | -0/+21 |
| | |||||
* | ob_iso8601_gmtime(): Factor out common gmtime code | Patrick McDermott | 2019-06-18 | 1 | -13/+22 |
| | |||||
* | ob_get_system_path(): Allow overriding DATADIR | Patrick McDermott | 2019-06-17 | 2 | -5/+15 |
| | |||||
* | ob_get_system_path(): Allow package-less platconf | Patrick McDermott | 2019-06-16 | 2 | -3/+9 |
| | |||||
* | ob_iso8601_gmtime(): Fix dates after leap days | Patrick McDermott | 2019-06-16 | 1 | -1/+1 |
| | |||||
* | ob_rfc822_mktime(): Drop "+" TZ sign | Patrick McDermott | 2019-06-16 | 1 | -1/+2 |
| | |||||
* | ob_rfc822_mktime(): Parse month | Patrick McDermott | 2019-06-15 | 1 | -1/+17 |
| | |||||
* | ob_rfc822_mktime(): Fix parsing | Patrick McDermott | 2019-06-15 | 1 | -2/+6 |
| | |||||
* | lib/time.sh: New file | Patrick McDermott | 2019-06-15 | 2 | -1/+164 |
| | |||||
* | _ob_parse_control_error(): Make arg vars local | Patrick McDermott | 2019-04-23 | 1 | -3/+3 |
| | |||||
* | ob_set_*_substvar(), ob_substvars(): Use lowercase eval vars | Patrick McDermott | 2019-04-23 | 1 | -14/+14 |
| | |||||
* | metadata/proteanos: Allow "+" and forbid "-" in upstream versions | Patrick McDermott | 2019-04-03 | 1 | -1/+1 |
| | |||||
* | ob_set_binary_substvar(), ob_substvars(): Clean up binary package names | Patrick McDermott | 2019-04-02 | 1 | -0/+5 |
| | | | | | Fixes substvars for binary packages with non-alphanumeric characters in their names. | ||||
* | ob_set_package_substvars(): Update @operand doc cmd | Patrick McDermott | 2019-03-18 | 1 | -2/+1 |
| | |||||
* | ob_parse_control(): Shift optional arguments | Patrick McDermott | 2019-03-18 | 1 | -0/+1 |
| | |||||
* | ob_substvars(): Save untranslated var name for warning message | Patrick McDermott | 2019-03-18 | 1 | -6/+7 |
| | |||||
* | ob_substvars(): Replace here-document with printf | Patrick McDermott | 2019-03-18 | 1 | -4/+1 |
| | |||||
* | ob_substvars(): Make package operand optional | Patrick McDermott | 2019-03-18 | 1 | -4/+12 |
| | |||||
* | _ob_set_package_substvars_2(): Parse binary package substvars | Patrick McDermott | 2019-03-18 | 1 | -10/+33 |
| | |||||
* | ob_substvars(): Substitute binary package vars | Patrick McDermott | 2019-03-18 | 1 | -3/+16 |
| | |||||
* | ob_set_binary_substvar(): New function | Patrick McDermott | 2019-03-18 | 1 | -0/+34 |
| | |||||
* | ob_set_source_substvar(), ob_substvars(): Rename eval'ed var | Patrick McDermott | 2019-03-18 | 1 | -2/+2 |
| | |||||
* | ob_set_source_substvar(): Make sed script a global var | Patrick McDermott | 2019-03-18 | 1 | -9/+10 |
| | |||||
* | ob_set_source_substvar(): Replace here-documents with printf | Patrick McDermott | 2019-03-18 | 1 | -9/+3 |
| | |||||
* | _ob_substvar_2(): Define above usage | Patrick McDermott | 2019-03-18 | 1 | -12/+12 |
| | |||||
* | ob_set_substvar(): Rename to ob_set_source_substvar() | Patrick McDermott | 2019-03-18 | 2 | -11/+14 |
| | |||||
* | Delimit operands of ob_parse_version() | Patrick McDermott | 2019-03-18 | 2 | -2/+3 |
| | |||||
* | Delimit operands of ob_parse_dep() | Patrick McDermott | 2019-03-18 | 1 | -2/+2 |
| | |||||
* | lib/control.sh: Wrap long lines | Patrick McDermott | 2019-03-18 | 1 | -7/+10 |
| | |||||
* | _ob_validate_var_name(): Check for empty var name | Patrick McDermott | 2019-03-18 | 1 | -1/+1 |
| | |||||
* | _ob_validate_var_name(): Abort on missing argument | Patrick McDermott | 2019-03-18 | 1 | -1/+4 |
| | |||||
* | _ob_get_changelog_expect_str(): Abort on missing argument | Patrick McDermott | 2019-03-18 | 1 | -1/+4 |
| |