FreeBSD/poudriere 4031930 — src/share/poudriere jail.sh

Merge PR #1400

jail: When creating or upgrading a pkgbase jail support -v properly
DeltaFile
+28-7src/share/poudriere/jail.sh
+28-71 files

FreeBSD/poudriere 2c3f86e — test-ports/omnibus/ports-mgmt/poudriere-devel-dep-FOO/files patch-Makefile.in, test-ports/omnibus/ports-mgmt/poudriere-devel-dep-IGNORED/files patch-Makefile.in

Merge remote-tracking branch 'origin/master' into pr-1400

Conflicts:
        src/share/poudriere/jail.sh
DeltaFile
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-IGNORED/files/patch-Makefile.in
+32-0test-ports/porttesting/ports-mgmt/poudriere-devel-porttesting/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep2-IGNORED/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-INVALID/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-FOO/files/patch-Makefile.in
+192-018 files not shown
+600-2024 files

FreeBSD/poudriere 2f31816 — src/share/poudriere jail.sh

_pkgbase_get_osversion: avoid pipefail
DeltaFile
+3-1src/share/poudriere/jail.sh
+3-11 files

FreeBSD/poudriere 2fcdf78 — src/share/poudriere jail.sh

Merge pull request #1408 from skhal/skip-pkg-repo-update-in-pkg-install

jail.sh: skip repo update when install packages in pkgbase
DeltaFile
+3-3src/share/poudriere/jail.sh
+3-31 files

FreeBSD/poudriere b0f0c86 — src/share/poudriere jail.sh ports.sh

Merge pull request #1386 from michael-o/fix-ptname-hyphen-warning-v2

ports, jail: Warn instead of erroring on hyphenated PTNAME/JAILNAME
DeltaFile
+13-5src/share/poudriere/common.sh
+1-3src/share/poudriere/ports.sh
+2-0src/share/poudriere/jail.sh
+16-83 files

FreeBSD/poudriere 828228e — src/share/poudriere jail.sh ports.sh

ports, jail: Warn instead of erroring on hyphenated PTNAME/JAILNAME

Downgrade the ports-tree hyphen check from a hard err() to a warning,
consistent with the existing SETNAME hyphen warning. Extract the
hyphen check into a shared check_name_hyphen() helper in common.sh and
apply it uniformly at the point each identifier is established:
jail creation, jail rename, and ports tree creation. SETNAME keeps its
existing call in jail_start(), since a set has no separate creation
step -- its first use in a build is effectively its creation.

The warning intentionally doesn't name a specific mechanism (e.g. the
previous "-z" claim for ports tree names): no code path splits a
hyphenated name back into components during normal creation or build
handling. The only place a joined name is ever decomposed is
for_each_build()'s fallback for build logs predating separate
jailname/ptname/setname metadata (2013, a2300607), which no longer
applies to any name established from this point forward. Warning only
at creation time reflects that once a name exists, cautioning about it
again on every later build is not actionable.

    [2 lines not shown]
DeltaFile
+13-5src/share/poudriere/common.sh
+1-3src/share/poudriere/ports.sh
+2-0src/share/poudriere/jail.sh
+16-83 files

FreeBSD/poudriere 3a76942 — test common.bulk.sh

tests: use 14.5-RELEASE for test jail

This fixes `make check`.

(cherry picked from commit a2dbc12484f41cc482f1caa2d0c1cb0e022270f7)

Conflicts:
        test/common.bulk.sh
DeltaFile
+1-1test/common.bulk.sh
+1-11 files

FreeBSD/poudriere 5ba8498 — test common.bulk.sh

Merge pull request #1390 from svmhdvn/push-kqnxkmstkppm

tests: use 14.5-RELEASE for test jail
DeltaFile
+1-1test/common.bulk.sh
+1-11 files

FreeBSD/poudriere 2fb00ef — test-ports/omnibus/ports-mgmt/poudriere-devel-IGNORED-and-skipped/files patch-Makefile.in, test-ports/omnibus/ports-mgmt/poudriere-devel-IGNORED/files patch-Makefile.in

test-ports: backport bmake .ALLSRC fix to poudriere-devel 3.1.99.20170601

(cherry picked from commit 049e16ed897381f7d99aba9e35efd2ac1af7bc7b)
DeltaFile
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-DEFAULT/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-FOO/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-IGNORED/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-INVALID/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-IGNORED/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-IGNORED-and-skipped/files/patch-Makefile.in
+192-012 files not shown
+567-018 files

FreeBSD/poudriere f8fb8c4 — test-ports/omnibus/ports-mgmt/poudriere-devel-IGNORED-and-skipped/files patch-Makefile.in, test-ports/omnibus/ports-mgmt/poudriere-devel-IGNORED/files patch-Makefile.in

Merge pull request #1392 from svmhdvn/push-vwuxomrswrvz

test-ports: backport bmake .ALLSRC fix to poudriere-devel
DeltaFile
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-INVALID/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-IGNORED/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-FOO/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-dep-DEFAULT/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-IGNORED/files/patch-Makefile.in
+32-0test-ports/omnibus/ports-mgmt/poudriere-devel-IGNORED-and-skipped/files/patch-Makefile.in
+192-012 files not shown
+567-018 files

FreeBSD/poudriere 7edaef6 — src/share/poudriere jail.sh

jail.sh: skip repo update when install packages in pkgbase

pkg-install(8) manual states that the command updates pkg repositories
unless it is told not to do so:

- use `-U` flag
- set flag `REPO_AUTOUPDATE=no`

`install_from_pkgbase` first updates the repositories and then installs
base + other packages with pkg-install(8).

This change disables the repository update in pkg-install(8)

NO_ISSUE
DeltaFile
+3-3src/share/poudriere/jail.sh
+3-31 files

FreeBSD/poudriere 3b268b3 — test logging.sh

Merge pull request #1406 from svmhdvn/push-mtxkkmnlwyxk

test/logging.sh: fix check_pids on wrong PID
DeltaFile
+3-1test/logging.sh
+3-11 files

FreeBSD/poudriere ccd5816 — test logging.sh

test/logging.sh: fix check_pids on wrong PID
DeltaFile
+3-1test/logging.sh
+3-11 files

FreeBSD/poudriere eedabab — test locked_mkdir.sh

Merge pull request #1405 from svmhdvn/push-pwrvvtmkzwqk

test/locked_mkdir.sh: fix test run with an unprivileged user
DeltaFile
+6-3test/locked_mkdir.sh
+6-31 files

FreeBSD/poudriere f977888 — test locked_mkdir.sh

test/locked_mkdir.sh: fix test run with an unprivileged user
DeltaFile
+6-3test/locked_mkdir.sh
+6-31 files

FreeBSD/poudriere abeb1b2 — src/share/poudriere common.sh

Merge pull request #1403 from skhal/print-jail-params-in-jstart-err-message

common.sh: fix variable escapes in failed jstart error messages
DeltaFile
+4-4src/share/poudriere/common.sh
+4-41 files

FreeBSD/poudriere 9aaca98 — src/share/poudriere common.sh

common.sh: fix variable escapes in failed jstart error messages

A failed jstart error message includes jail parameters. This change
fixes the message to output actual values for `network` and
`JAIL_PARAMS`:

    [00:00:05] [05] [00:00:00] Error: /usr/local/share/poudriere/bulk.sh:jstart:23:jstart: Failed to start jail 151amd64-default-job-05 network='ip4.addr=127.0.0.1 ip6.addr=::1' JAIL_PARAMS='allow.chflags allow.mlock'

instead of old, invalid line:

    [00:00:05] [05] [00:00:00] Error: /usr/local/share/poudriere/bulk.sh:jstart:23:jstart: Failed to start jail 151amd64-default-job-05 network=${network} JAIL_PARAMS=${JAIL_PARAMS}

NO_ISSUE
DeltaFile
+4-4src/share/poudriere/common.sh
+4-41 files

FreeBSD/poudriere 1671dc9 — src/share/poudriere jail.sh

jail: When creating or upgrading a pkgbase jail support -v properly

When building a jail via HTTP it is common to use `-v 15.1-RELEASE' to
specify the version in the jail.  Prior to this change the pkgbase
method only supported `-v 15' which gave the oldest supported version of
15, which today is 15.0-RELEASE, so it was not easy to install or
upgrade to 15.1-RELEASE.
DeltaFile
+26-7src/share/poudriere/jail.sh
+26-71 files

FreeBSD/poudriere 2f81c1a — src/share/poudriere/include shared_hash.sh, test shash-basic.sh

shash_get: Remove globbing support.

This support is not needed to function and adds complexity for
alternative backends for shash.

Still allow _shash_unset() to use globbing as an implementation detail
of shash_remove_var().
DeltaFile
+44-61src/share/poudriere/include/shared_hash.sh
+9-9test/shash-basic.sh
+53-702 files

FreeBSD/poudriere af728a2 — src/share/poudriere/include shared_hash.sh

shash shm: Mark some functions unimplemented
DeltaFile
+12-0src/share/poudriere/include/shared_hash.sh
+12-01 files

FreeBSD/poudriere fe4bb5a — src/share/poudriere/include shared_hash.sh

shash_remove_var/unset: these must mark the data deleted
DeltaFile
+20-5src/share/poudriere/include/shared_hash.sh
+20-51 files

FreeBSD/poudriere 805b0e9 — src/poudriere-sh shm_hash.c

shm_hash_get: Trim trailing IFS chars to match file version
DeltaFile
+12-0src/poudriere-sh/shm_hash.c
+12-01 files

FreeBSD/poudriere 4d5fa12 — src/share/poudriere common.sh, src/share/poudriere/include shared_hash.sh

shash_init_shm sets prefix so shash interface should unset it
DeltaFile
+0-2src/share/poudriere/common.sh
+2-0src/share/poudriere/include/shared_hash.sh
+2-22 files

FreeBSD/poudriere e0eee07 — src/share/poudriere common.sh, src/share/poudriere/include shared_hash.sh

Move shash_init_shm/shash_cleanup_shm to shared_hash.sh

- Pass in prefix as well
DeltaFile
+1-40src/share/poudriere/common.sh
+40-0src/share/poudriere/include/shared_hash.sh
+41-402 files

FreeBSD/poudriere 4385980 — test runtest.sh

runtest: Allow SHASH_USE_SHM in env
DeltaFile
+1-0test/runtest.sh
+1-01 files

FreeBSD/poudriere f50947a — . Makefile.in, src/poudriere-sh builtins-poudriere.def shm_hash.c

shm: add new SHASH_USE_SHM, do use a shm instead of files

For 65k ports basically we go from 2.5GB to 160B used saving ~95% of
memory
DeltaFile
+677-0src/poudriere-sh/shm_hash.c
+45-0src/share/poudriere/common.sh
+40-0src/share/poudriere/include/shared_hash.sh
+25-2Makefile.in
+6-6src/share/poudriere/include/pkg.sh
+5-0src/poudriere-sh/builtins-poudriere.def
+798-82 files not shown
+800-98 files

FreeBSD/poudriere cb1df4b — src/share/poudriere/include shared_hash.sh

shash: some style changes

- Prefer "set" to match existing styles
- Add some :? to match existing assertions
- Use `|| return` to avoid, and not rely on, `set -e` handler
DeltaFile
+20-22src/share/poudriere/include/shared_hash.sh
+20-221 files

FreeBSD/poudriere 09d0273 — src/poudriere-sh shm_hash.c

shm builtin: Add some assertions for INTOFF and protect shm_unlink.

is_int_on() is misnamed. Any value >0 means int is suppressed.
DeltaFile
+5-0src/poudriere-sh/shm_hash.c
+5-01 files

FreeBSD/poudriere 407a365 — src/share/poudriere common.sh

shash_cleanup_shm: Avoid leaked error, and use mapfile_read_loop
DeltaFile
+4-3src/share/poudriere/common.sh
+4-31 files

FreeBSD/poudriere 928578b — src/share/poudriere/include shared_hash.sh

fixup! shm: add new SHASH_USE_SHM, do use a shm instead of files
DeltaFile
+7-6src/share/poudriere/include/shared_hash.sh
+7-61 files