Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src/feed.sh: Make callback functions "static" | Patrick McDermott | 2019-04-25 | 1 | -3/+3 |
| | |||||
* | src/feed.sh: Define functions before references | Patrick McDermott | 2019-04-25 | 1 | -33/+33 |
| | |||||
* | src/feed.sh: Delimit command operands | Patrick McDermott | 2019-04-25 | 1 | -7/+8 |
| | |||||
* | is_block(): Make "set -e" safety explicit | Patrick McDermott | 2019-04-25 | 1 | -2/+2 |
| | |||||
* | src/block.sh: Delimit command operands | Patrick McDermott | 2019-04-25 | 1 | -5/+5 |
| | |||||
* | src/block.sh: Shift func args, update copyright | Patrick McDermott | 2019-04-25 | 1 | -1/+5 |
| | |||||
* | src/install.sh: Delimit command operands | Patrick McDermott | 2019-04-25 | 1 | -19/+19 |
| | |||||
* | src/install.sh: Make callback functions "static" | Patrick McDermott | 2019-04-25 | 1 | -6/+6 |
| | |||||
* | src/install.sh: Define functions before references | Patrick McDermott | 2019-04-25 | 1 | -109/+109 |
| | |||||
* | src/install.sh: Shift func args, update copyright | Patrick McDermott | 2019-04-25 | 1 | -1/+9 |
| | |||||
* | src/feed.sh: Shift func args, update copyright | Patrick McDermott | 2019-04-25 | 1 | -1/+5 |
| | |||||
* | fopen(), fclose(): Replace echo, improve eval safety | Patrick McDermott | 2019-04-25 | 1 | -4/+5 |
| | |||||
* | src/fd.sh: Shift func args and update copyright | Patrick McDermott | 2019-04-25 | 1 | -1/+3 |
| | |||||
* | dir_is_empty(): Move shift and remove duplicate pattern | Patrick McDermott | 2019-04-25 | 1 | -3/+3 |
| | | | | Also update copyright notice. | ||||
* | src/deps.sh: Shift function arguments | Patrick McDermott | 2019-04-25 | 1 | -1/+4 |
| | | | | Also update copyright notice. | ||||
* | src/control.sh: Update copyright notice | Patrick McDermott | 2019-04-25 | 1 | -1/+1 |
| | |||||
* | run_cmd(): Make "set -e"-safe | Patrick McDermott | 2019-04-25 | 1 | -2/+2 |
| | |||||
* | is_cmd(): Drop dead return | Patrick McDermott | 2019-04-25 | 1 | -2/+0 |
| | |||||
* | tests/parse_control.*.sh: Remove | Patrick McDermott | 2019-04-25 | 3 | -105/+0 |
| | |||||
* | tests/aux/common.sh: Check whitespace in is_diff() | Patrick McDermott | 2019-04-25 | 1 | -2/+2 |
| | |||||
* | tests/parse_control.sh: New test file | Patrick McDermott | 2019-04-25 | 2 | -0/+177 |
| | |||||
* | parse_control(): Fix/improve missing fields handling | Patrick McDermott | 2019-04-24 | 1 | -5/+12 |
| | |||||
* | parse_control(): Protect cat cmd from operands beginning with "-" | Patrick McDermott | 2019-04-24 | 1 | -1/+1 |
| | |||||
* | parse_control(): Drop field callback dead code | Patrick McDermott | 2019-04-23 | 1 | -6/+0 |
| | | | | | | The callback function is already called in the paragraph case in the loop, which also resets the field name to the null string, making this final callback code unreachable. | ||||
* | parse_control(): Rewrite field checking | Patrick McDermott | 2019-04-23 | 1 | -19/+16 |
| | | | | | | | | Get rid of the printf and grep pipeline and use a case construct instead of a "[" command with a "${parameter%word}" expansion. Also drop the unused check_fields variable, just added in commit 1e585cb. | ||||
* | package_2_*(): Drop empty req_fields parse_control() args | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | parse_control(): Make req_fields arg optional | Patrick McDermott | 2019-04-23 | 1 | -1/+10 |
| | |||||
* | parse_control(): Convert to [ -n and -z operators | Patrick McDermott | 2019-04-23 | 1 | -7/+7 |
| | |||||
* | ob_parse_control(): Replace param prefix/suffix removals with read | Patrick McDermott | 2019-04-23 | 1 | -5/+4 |
| | |||||
* | ob_parse_control(): Replace if construct with case | Patrick McDermott | 2019-04-23 | 1 | -61/+71 |
| | |||||
* | parse_control(): Fix params | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | _parse_control_error(): Reformat file info | Patrick McDermott | 2019-04-23 | 1 | -3/+3 |
| | |||||
* | parse_control_error(): Make "static" | Patrick McDermott | 2019-04-23 | 1 | -5/+5 |
| | |||||
* | parse_control_error(): Move before use | Patrick McDermott | 2019-04-23 | 1 | -19/+19 |
| | |||||
* | parse_control_error(): Accept file and line_nr args | Patrick McDermott | 2019-04-23 | 1 | -17/+19 |
| | |||||
* | substvars(): Sync with opkbuild | Patrick McDermott | 2019-04-23 | 2 | -2/+25 |
| | |||||
* | set_substvar(): Sync with opkbuild | Patrick McDermott | 2019-04-23 | 1 | -22/+19 |
| | |||||
* | substvars_max_depth: Convert to upper case | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | tests/substvars.sh: New test file | Patrick McDermott | 2019-04-23 | 2 | -1/+45 |
| | |||||
* | tests/aux/common.sh: Add is() | Patrick McDermott | 2019-04-23 | 1 | -1/+18 |
| | | | | Copied from opkbuild. | ||||
* | tests/*_is_concerned.sh: Mark two tests as XFAIL | Patrick McDermott | 2019-04-22 | 2 | -3/+3 |
| | |||||
* | src/archplat.sh: Sync with opkbuild | Patrick McDermott | 2019-04-22 | 1 | -67/+68 |
| | | | | | | | | | | | | 4c912ce _ob_match_plat(): Move closer to usage 787a355 _ob_match_plat(): Remove loop ee0c303 _ob_match_arch(): Remove loop 85d78aa ob_match_*(): Make private 1e8d84e ob_match_*(): Drop checks for "all" match arch/plat bb7dd8e ob_match_plat(): Use clearer variable names e6b04d9 Protect [ commands from strings beginning with "-" 9196698 ob_match_arch(): Use clearer variable names 5e69b33 ob_match_arch(): Replace generated ERE with native SCL | ||||
* | Merge branch 'feature/tap-tests' | Patrick McDermott | 2019-04-22 | 15 | -405/+1336 |
|\ | |||||
| * | tests/common.sh: Remove newly unused file | Patrick McDermott | 2019-04-21 | 1 | -110/+0 |
| | | |||||
| * | Makefile.am: Override PACKAGE_STRING with git-describe output | Patrick McDermott | 2019-04-21 | 1 | -1/+11 |
| | | | | | | | | | | | | This makes the test suite output and log a little more informative. Copied from pro-archman. | ||||
| * | NEWS: Mention TAP conversions | Patrick McDermott | 2019-04-21 | 1 | -0/+1 |
| | | |||||
| * | tests/parse_control.common.sh: Update copyright notice | Patrick McDermott | 2019-04-21 | 1 | -1/+1 |
| | | |||||
| * | tests/parse_control.common.sh: Fix locale loading | Patrick McDermott | 2019-04-21 | 1 | -0/+2 |
| | | |||||
| * | tests/parse_control.common.sh: Fix load_locale() call | Patrick McDermott | 2019-04-21 | 2 | -2/+3 |
| | | | | | | | | | | | | Fixes: ./tests/parse_control.basic: 92: ./tests/parse_control.basic: load_locale: not found | ||||
| * | tests/parse_control.common.sh: Convert to TAP | Patrick McDermott | 2019-04-21 | 2 | -2/+5 |
| | |