FreeBSD/poudriere 282bb72src/share/poudriere common.sh

Avoid set -u error with FUNCNAME
DeltaFile
+1-1src/share/poudriere/common.sh
+1-11 files

FreeBSD/poudriere 7e38020src/share/poudriere common.sh

jstart: Remove leftover jexecd handling
DeltaFile
+0-8src/share/poudriere/common.sh
+0-81 files

FreeBSD/poudriere fad4cd9src/poudriere-sh helpers.c, src/share/poudriere/include util.sh

Simplify builtin checking
DeltaFile
+44-38src/share/poudriere/include/util.sh
+16-0src/poudriere-sh/helpers.c
+3-4test/builtins-cut.sh
+3-4test/builtins-paste.sh
+3-4test/builtins-wc.sh
+1-0test/builtins.sh
+70-501 files not shown
+71-507 files

FreeBSD/poudriere c54d46fsrc/share/poudriere common.sh

bulk: Fix error case of saving datadir%
DeltaFile
+16-15src/share/poudriere/common.sh
+16-151 files

FreeBSD/poudriere 644d0ce. Makefile.am

Makefile.am: Whitespace change
DeltaFile
+1-1Makefile.am
+1-11 files

FreeBSD/poudriere 47a26b1. configure configure.ac, test Makefile.in

No need to install bundled lockf. Only used for tests
DeltaFile
+27-0configure
+17-0configure.ac
+5-4Makefile.in
+3-1Makefile.am
+1-0test/Makefile.in
+53-55 files

FreeBSD/poudriere 0b35b85. Makefile.in Makefile.am

Makefile.am: factorize some sh sources
DeltaFile
+114-113Makefile.in
+6-7Makefile.am
+120-1202 files

FreeBSD/poudriere 6d9f0a5external/patches/sh 011-funcname-stack.patch, external/sh eval.c

sh: Reduce overhead of FUNCNAMESTACK setting.
DeltaFile
+22-9external/patches/sh/011-funcname-stack.patch
+21-8external/sh/eval.c
+43-172 files

FreeBSD/poudriere 64d8eeesrc/libexec/poudriere/rename rename.c, src/share/poudriere/include pkgqueue.sh

rename: Add -q flag which can avoid some redirects
DeltaFile
+13-7src/libexec/poudriere/rename/rename.c
+5-5src/share/poudriere/include/pkgqueue.sh
+18-122 files

FreeBSD/poudriere ad682c1src/share/poudriere/include pkgqueue.sh

pkgqueue: Avoid a few possible path expansions
DeltaFile
+6-6src/share/poudriere/include/pkgqueue.sh
+6-61 files

FreeBSD/poudriere c398a81src/share/poudriere common.sh

exit_handler: Remove redundant lock releasing.

Since all locks are released right after this we don't need to
explicitly release any locks.
DeltaFile
+0-3src/share/poudriere/common.sh
+0-31 files

FreeBSD/poudriere a4f85d8test runtest.sh

runtest: truss multiplier of 4 was too small
DeltaFile
+1-1test/runtest.sh
+1-11 files

FreeBSD/poudriere 35f1214src/share/poudriere/include pkgqueue.sh

pkgqueue_list_deps_recurse: Check empty dir before big list of dupes.
DeltaFile
+5-4src/share/poudriere/include/pkgqueue.sh
+5-41 files

FreeBSD/poudriere d45aa0bsrc/libexec/poudriere/rename rename.c

builtin rename: Add -v flag
DeltaFile
+28-4src/libexec/poudriere/rename/rename.c
+28-41 files

FreeBSD/poudriere c9d494bsrc/share/poudriere/include pkgqueue.sh, test pkgqueue_get_next_race.sh Makefile.in

pkgqueue_get_next: Ensure returning empty is an empty ready-to-build queue.

Note the queue may have waiting-for-dependency items but it should
not have anything in the ready-to-build queue.

Similar to the comments in pkgqueue_empty() we need to ensure
no blank jobs are returned. It is possible for a race to happen
where pkgqueue_get_next() returns a blank job, build_queue()
gets it and checks pkgqueue_empty() and sees it is not empty,
loops around and runs the sanity check due to idle builders
and calls crashed_build() on an item that just got balanced
and was temporarily missing in the find(1) call which itself
is not an atomic/locked view of the queue.

This became apparent after making pkgqueue_balance_pool() into a
separate worker process. The first job in the queue would sometimes
get moved while the first pkgqueue_get_next() was called and
immediately get "stuck_in_queue".
DeltaFile
+68-0test/pkgqueue_get_next_race.sh
+24-3src/share/poudriere/include/pkgqueue.sh
+8-1test/Makefile.in
+1-0test/Makefile.am
+101-44 files

FreeBSD/poudriere a396802src/share/poudriere/include util.sh

lock_acquire: recursion is only expected once for traps.

Move some code that isn't needed for recursions.

No current functional change intended.
DeltaFile
+8-1src/share/poudriere/include/util.sh
+8-11 files

FreeBSD/poudriere ebbf449src/share/poudriere/include util.sh, test common.sh locks_critical_section.sh

tests: Cleanup locks automatically

Also remove blank `${MASTERNAME}-` if not set.
DeltaFile
+8-0test/common.sh
+2-2src/share/poudriere/include/util.sh
+0-2test/locks_critical_section.sh
+0-2test/locks.sh
+0-2test/locks_critical_section_nested.sh
+10-85 files

FreeBSD/poudriere 2b1dc16src/share/poudriere/include pkgqueue.sh

pkgqueue_balance_pool: Run within the pool dir to reduce string data
DeltaFile
+9-3src/share/poudriere/include/pkgqueue.sh
+9-31 files

FreeBSD/poudriere b2453a5src/share/poudriere common.sh

build_queue: Add some msg_dev
DeltaFile
+22-1src/share/poudriere/common.sh
+22-11 files

FreeBSD/poudriere 6855cf6src/share/poudriere/include pkgqueue.sh

pkgqueue_move_ready_to_pool: Allow running more than once.

This is for test purposes.

This also now captures the error from `mkdir`.
DeltaFile
+19-6src/share/poudriere/include/pkgqueue.sh
+19-61 files

FreeBSD/poudriere f2b500csrc/share/poudriere common.sh

jstart: Fix local networking.

Fixes: 0b453deb (jstart/jstop/injail: Improving quoting)
Reported by:    mzar
DeltaFile
+1-1src/share/poudriere/common.sh
+1-11 files

FreeBSD/poudriere c482d65src/share/poudriere/include parallel.sh

setup_traps: Only push into stack if a handler is given
DeltaFile
+5-1src/share/poudriere/include/parallel.sh
+5-11 files

FreeBSD/poudriere 5167076src/share/poudriere common.sh

bulk: Save .p dir listing on error
DeltaFile
+18-0src/share/poudriere/common.sh
+18-01 files

FreeBSD/poudriere db73752src/share/poudriere/include util.sh parallel.sh

Revert INJOB changes.

Jobs within jobs work fine. It's just that they do not _inherit_ the
parent process jobs.

Revert "prefixers: Supported nested jobs (need to use pids here)"

This reverts commit 6d6d888f0f796e974517f31984ebd6f89a721308.

Revert "kill_job: Assert not killing a nested job"

This reverts commit 1a1a34c3750688d2df42dff7ab769dbef21fd3c4.
DeltaFile
+8-34src/share/poudriere/include/util.sh
+1-9src/share/poudriere/include/parallel.sh
+9-432 files

FreeBSD/poudriere 5a21a34test prefix_output.sh

prefix_output test: Make debug easier
DeltaFile
+40-10test/prefix_output.sh
+40-101 files

FreeBSD/poudriere c7c7933external/patches/sh 016-error-stack.patch, external/sh error.c

sh: Show FUNCNAMESTACK on set -e error and other errors
DeltaFile
+15-0external/patches/sh/016-error-stack.patch
+3-1external/sh/error.c
+18-12 files

FreeBSD/poudriere 41aa2cdsrc/share/poudriere image.sh

Merge branch 'image-populate-efi-fstab'
DeltaFile
+5-0src/share/poudriere/image.sh
+5-01 files

FreeBSD/poudriere 2c10af0src/share/poudriere image.sh

image: Populate the efi mount point in fstab
DeltaFile
+5-0src/share/poudriere/image.sh
+5-01 files

FreeBSD/poudriere c49d952src/share/poudriere audit.sh pkgclean.sh

Merge branch 'fix-pkgclean-respecting-packages-override'
DeltaFile
+1-1src/share/poudriere/audit.sh
+1-1src/share/poudriere/pkgclean.sh
+2-22 files

FreeBSD/poudriere bd4e2c3src/share/poudriere audit.sh pkgclean.sh

Fix pkgclean respecting PACKAGES being set in a jail-poudriere.conf
DeltaFile
+1-1src/share/poudriere/audit.sh
+1-1src/share/poudriere/pkgclean.sh
+2-22 files