Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | ob_get_binary_packages(): Factor out side effects | Patrick McDermott | 2020-07-05 | 2 | -40/+41 |
| | | | | | | | 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 | 3 | -8/+10 |
| | | | | | 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 | 2 | -1/+8 |
| | |||||
* | ob_validate_section(): New function | Patrick McDermott | 2020-07-05 | 4 | -1/+35 |
| | |||||
* | NEWS: Highlight major features | Patrick McDermott | 2020-07-05 | 1 | -0/+4 |
| | |||||
* | tests/exe/ob-installdocs.sh: Check link dest | Patrick McDermott | 2020-07-05 | 1 | -1/+5 |
| | |||||
* | tests: Verify arch-qualification | Patrick McDermott | 2020-07-04 | 6 | -17/+20 |
| | |||||
* | Revert "TODO: Always arch-qualify docs paths" | Patrick McDermott | 2020-07-04 | 1 | -2/+0 |
| | | | | | | | | This reverts commit 103574294b74bdf1493b0eca37361867f62b0e82. Actually, arch-qualified docs paths have nothing to do with binary rebuilds. They're only needed for coinstallable packages, rebuilt or not. | ||||
* | TODO: Always arch-qualify docs paths | Patrick McDermott | 2020-07-04 | 1 | -0/+2 |
| | |||||
* | config.sh.in: Add SH | Patrick McDermott | 2020-07-02 | 1 | -0/+1 |
| | |||||
* | ob-*, opkbuild: s/src-/src:/ | Patrick McDermott | 2020-07-02 | 8 | -16/+16 |
| | | | | | | | pro-archman already handles this. The (outdated and probably broken) initial port bootstrap scripts will need to be updated for this, if they're ever used again. Some instructions in the wiki need to be updated. | ||||
* | NEWS, configure.ac: Set version to 4.2.0 | Patrick McDermott | 2020-06-30 | 2 | -5/+3 |
| | | | | Release is imminent! | ||||
* | opkbuild: Run ob-* commands from a child shell | Patrick McDermott | 2020-06-30 | 2 | -6/+14 |
| | | | | This basically reverts commit ab654dadd640164b7ddf01a3599c2a8beb6d6302. | ||||
* | ob-buildopk: Don't chown data | Patrick McDermott | 2020-06-30 | 3 | -4/+8 |
| | | | | This partially reverts commit 483800ef9ecf5ce98c0f6894e222bf08a68bb617. | ||||
* | TODO: pro-archman already handles s/src-/src:/ | Patrick McDermott | 2020-06-24 | 1 | -1/+2 |
| | |||||
* | TODO: Note s/src-/src:/ also affects pro-archman | Patrick McDermott | 2020-06-24 | 1 | -0/+1 |
| | |||||
* | TODO: Should ob-buildopk chown all data? | Patrick McDermott | 2020-06-24 | 1 | -0/+3 |
| | |||||
* | ob-buildopk: Fix crash on src packages | Patrick McDermott | 2020-06-22 | 1 | -1/+6 |
| | | | | Due to attempted architecture-qualification. | ||||
* | ob-*: Architecture-qualify package names | Patrick McDermott | 2020-06-21 | 5 | -10/+26 |
| | |||||
* | ob_qualify_package_name(): New function | Patrick McDermott | 2020-06-21 | 4 | -0/+43 |
| | |||||
* | ob-genchanges: Use "Section" field when present | Patrick McDermott | 2020-06-17 | 3 | -3/+8 |
| | |||||
* | ob-genchanges: Put source packages in src section | Patrick McDermott | 2020-06-17 | 2 | -1/+3 |
| | |||||
* | ob-gencontrol: Generate a "Section" field | Patrick McDermott | 2020-06-17 | 6 | -2/+18 |
| | | | | And add it to SPF 2.x. | ||||
* | Clean up "if :; then" from commit 3bc002a3 | Patrick McDermott | 2020-06-17 | 1 | -33/+27 |
| | | | | | It was an attempt to minimize the changes in that commit to keep it clear, but the resulting code now looks a bit jarring. | ||||
* | NEWS: Fix spelling | Patrick McDermott | 2020-06-14 | 1 | -1/+1 |
| | |||||
* | tools/mtime.sh: Fix ls parsing | Patrick McDermott | 2020-06-13 | 2 | -1/+4 |
| | | | | | The file name (preceeded by whitespace) ended up in the year variable, which isn't quoted when later used as a numeric argument to printf. | ||||
* | ob-gencontrol: Generate a "Format" field | Patrick McDermott | 2020-06-13 | 4 | -1/+16 |
| | | | | And add the needed support to ob_get_source_parameter(). | ||||
* | ob-buildopk: Really check for BB tar reverse ordering bug | Patrick McDermott | 2019-08-04 | 2 | -1/+8 |
| | |||||
* | NEWS, configure.ac: Set version to 4.1.4+dev | Patrick McDermott | 2019-08-04 | 2 | -1/+6 |
| | |||||
* | NEWS: Release opkbuild 4.1.4opkbuild/4.1.4 | Patrick McDermott | 2019-08-04 | 1 | -1/+1 |
| | |||||
* | NEWS, configure.ac: Set version to 4.1.4 | Patrick McDermott | 2019-08-04 | 2 | -3/+3 |
| | |||||
* | metadata/proteanos: Allow backport versions | Patrick McDermott | 2019-08-04 | 2 | -2/+4 |
| | |||||
* | metadata/proteanos: Relax <pkgrev> requirements | Patrick McDermott | 2019-08-04 | 2 | -1/+8 |
| | |||||
* | ob-buildopk: Fix touch -d check | Patrick McDermott | 2019-08-04 | 2 | -3/+14 |
| | |||||
* | NEWS, configure.ac: Set version to 4.1.3+dev | Patrick McDermott | 2019-08-04 | 2 | -1/+6 |
| | |||||
* | NEWS: Release opkbuild 4.1.3opkbuild/4.1.3 | Patrick McDermott | 2019-08-04 | 1 | -1/+1 |
| | |||||
* | NEWS, configure.ac: Set version to 4.1.3 | Patrick McDermott | 2019-08-04 | 2 | -3/+3 |
| | |||||
* | ob-buildopk: Check for touch -d at run time | Patrick McDermott | 2019-08-04 | 4 | -18/+12 |
| | |||||
* | ob-buildopk: Check for BB tar reverse ordering bug | Patrick McDermott | 2019-08-04 | 2 | -2/+25 |
| | |||||
* | NEWS, configure.ac: Set version to 4.1.2+dev | Patrick McDermott | 2019-08-04 | 2 | -1/+6 |
| | |||||
* | NEWS: Release opkbuild 4.1.2opkbuild/4.1.2 | Patrick McDermott | 2019-06-24 | 1 | -1/+1 |
| | |||||
* | NEWS, configure.ac: Set version to 4.1.2 | Patrick McDermott | 2019-06-24 | 2 | -3/+3 |
| | |||||
* | 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 | 2 | -12/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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' | ||||
* | tests/lib/ob_get_binary_parameter.sh: New file | Patrick McDermott | 2019-06-24 | 3 | -0/+42 |
| | |||||
* | configure.ac: Check shell for local | Patrick McDermott | 2019-06-22 | 2 | -0/+13 |
| | |||||
* | configure.ac: Check shell for 64-bit arithmetic | Patrick McDermott | 2019-06-22 | 1 | -1/+9 |
| | |||||
* | opkbuild: Unquote UID 0 command | Patrick McDermott | 2019-06-22 | 2 | -2/+4 |
| | |||||
* | ob-gencontrol: Drop now-outdated comment | Patrick McDermott | 2019-06-18 | 1 | -3/+0 |
| | | | | | OPK_PACKAGES isn't even set when building a source package, so we use ob_get_binary_packages() already now. |