Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _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 |
| | |||||
* | ob_parse_changelog(): Wrap long lines | Patrick McDermott | 2019-03-18 | 1 | -21/+38 |
| | | | | Wow this is ugly. | ||||
* | ob_set_substvar(): Replace echo with a here-document | Patrick McDermott | 2019-03-18 | 1 | -2/+5 |
| | |||||
* | ob_set_substvar(): No it can't | Patrick McDermott | 2019-03-18 | 1 | -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 McDermott | 2019-03-18 | 1 | -3/+10 |
| | | | | This reverts commit 96851fd522ae3540314ac5c5d4d4fbec1448ca4b. | ||||
* | _OB_LF: Make public | Patrick McDermott | 2019-03-17 | 3 | -5/+5 |
| | |||||
* | ob_get_*_parameter(): Avoid shell error on no such field | Patrick McDermott | 2019-03-17 | 1 | -2/+4 |
| |