Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-09 | bget: Do return error if no value is returned. | Bryan Drewery | |
Fixes 4aaf8500b0 ("Sprinkle set -u around some early helpers") | |||
2021-09-09 | _list_ports_dir: Don't return error if no overlay Makefile is present | Bryan Drewery | |
2021-09-09 | _listed_ports: Cleanup some style. | Bryan Drewery | |
No functional change intended. | |||
2021-09-09 | bulk: Add -d to avoid committing packages. | Bryan Drewery | |
This is purely intended for testing. | |||
2021-09-09 | pkgqueue_compute_rdeps does not need pkg_deps file | Bryan Drewery | |
2021-09-09 | Store pool dir in logs/.poudriere.pkg_pool% | Bryan Drewery | |
2021-09-09 | mapfile_cat: Handle set -u | Bryan Drewery | |
2021-09-09 | crashed_build: Factor out log file paths and use install -lrs | Bryan Drewery | |
2021-09-09 | Add $EX_USAGE | Bryan Drewery | |
2021-09-07 | options: Support multiple -f | Bryan Drewery | |
2021-09-07 | Simplify DELETE_UNQUEUED_PACKAGES calculation for easier reading | Bryan Drewery | |
2021-09-07 | delete_old_pkgs: Move DELETE_UNQUEUED_PACKAGES check to delete_old_pkgs. | Bryan Drewery | |
The check has no dependency on the package being inspected so can be calculated once. | |||
2021-09-07 | bulk: Require -a or -f to delete unqueued packages. | Bryan Drewery | |
Issue #493 Issue #915 Fixes: dda7b8fa835d3047 ("bulk [-a] -f: Delete packages unknown...") | |||
2021-09-07 | bulk: Make fetch post-incremental delete message into debug | Bryan Drewery | |
2021-09-07 | More &&/pipefail/set -e style fix | Bryan Drewery | |
2021-09-07 | bulk -C: Don't mention dead symlinks for .txz of -C-deleted packages | Bryan Drewery | |
2021-09-04 | Show loginfo on error | Bryan Drewery | |
2021-09-04 | Fix race with distfile fetch saving | Bryan Drewery | |
This is more noticeable with FLAVORS. Fixes #758 | |||
2021-09-03 | delete_pkg: Reduce spam; ignore pkg.txz compat symlinks | Bryan Drewery | |
2021-09-03 | delete_pkg helpers belong with pkg.sh as they are for caching | Bryan Drewery | |
2021-09-03 | Rework c25726ffc: deletions are not all mutually exclusion. | Bryan Drewery | |
Fixes c25726ffc8 ("bulk missing pkg: Delete packages before fetching from remote") | |||
2021-09-03 | download_from_repo: Create symlink for bootstrap pkg in Latest/pkg.txz | Bryan Drewery | |
2021-09-03 | Package Fetch: Clarify cached packages may be used. | Bryan Drewery | |
Fixes #907 | |||
2021-09-03 | jlock: Replace with slock | Bryan Drewery | |
The implementation of lock_jail() was nearly the same as locked_mkdir now. The first section took the flock and the 2nd tried creating the destination directory. Improvements to locked_mkdir and the addition of slock_acquire allow replacing all of this code now. | |||
2021-09-03 | locks don't need critical sections now | Bryan Drewery | |
locked_mkdir is the implementation of the lock and supports checking for stale locks so, in general, it's fine if a process dies while holding it. Commit 1e49c25ec4e2f4597bec6c16ebdccba984fd239b added this feature because the html_json process was exiting while holding a lock. We still need to ensure a consistent stats writing from there though. Also remove stale comemnt. | |||
2021-09-03 | locks: Fix acquiring/releasing locks not owned by getpid() | Bryan Drewery | |
2021-09-03 | Release all slocks on exit to avoid pid reuse issues. | Bryan Drewery | |
Conflicts: src/share/poudriere/common.sh | |||
2021-09-03 | locked_mkdir: Avoid trashing SIGALRM handler on early cleanup | Bryan Drewery | |
Conflicts: src/libexec/poudriere/locked_mkdir/locked_mkdir.c | |||
2021-09-03 | locked_mkdir: path -> lockdirpath | Bryan Drewery | |
2021-09-03 | locked_mkdir builtin: Fix possible fd leak. | Bryan Drewery | |
This fixes the case after the watched pid exits but when the mkdir fails which isn't expected to happen. | |||
2021-09-03 | locked_mkdir: fd -> lockdirfd | Bryan Drewery | |
2021-09-03 | html building: Assert that the proper slocks are held | Bryan Drewery | |
2021-09-03 | bulk cleanup: Simplify exit needs to not care about having jlock | Bryan Drewery | |
Also handle some things before nuking jails otherwise other bulks could race with the cleanup being done. | |||
2021-09-03 | The trappedinfo hack can use read_blocking() now. | Bryan Drewery | |
2021-09-03 | enter_interactive: Allow non-root to write to /wrkdirs | Bryan Drewery | |
2021-09-03 | bulk missing pkg: Delete packages before fetching from remote | Bryan Drewery | |
2021-09-03 | prepare_ports: Combine some bulk/testport-only sections | Bryan Drewery | |
2021-09-03 | ensure_pkg_installed: Base paths on PKG_BIN value | Bryan Drewery | |
2021-09-03 | Remove dead code obsoleted in b21438ed35788f | Bryan Drewery | |
2021-09-03 | ensure_pkg_installed: Only check for pkg.PKG_SUFX. | Bryan Drewery | |
After commit dda7b8fa835d304 this could cause pkg.txz to be used for bootstrapping, a new pkg.pkg is fetched, but then delete_old_pkgs() removes the obsolete pkg.txz which later causes ensure_pkg_installed() with forced extraction to fail. The simplest fix is to just not look for not-PKG_SUFX pkg for bootstrapping. Cleanup some style while here. Revert "ensure_pkg_installed: Check for pkg.pkg before pkg.txz" This reverts commit 9670d57087f4510fb8df4abb40a96b7a1a61088c. Conflicts: src/share/poudriere/common.sh | |||
2021-09-03 | bulk: Link to the build logs at PACKAGES/logs | Bryan Drewery | |
2021-09-01 | bulk [-a] -f: Delete packages unknown/unqueued like pkgclean would. | Bryan Drewery | |
Unqueued deletion is not done if `bulk -t`, or `tesptport`, is used or if $DELETE_UNQUEUED_PACKAGES is not set to "yes". The var can be set to "always" to allow it during test modes. This var is not documented because if someone reports an issue with this feature then it should be fixed to work for that case or not be enabled by default; the var would be a temporary workaround. Unknown files (for example, *.txz) will be deleted unless $DELETE_UNKNOWN_FILES is not set to "yes". This var is not documented because it is expected to be rarely needed and I don't like the idea of confusing users with more options. We need a poudriere.conf.sample.full made to track these. Fixes #493 Issue #915 | |||
2021-09-01 | delete_old_pkg: Clarify FLAVOR/pkgclean handling | Bryan Drewery | |
Issue #915 | |||
2021-08-30 | logclean: Don't show dry-run messages when not in dry mode. | Bryan Drewery | |
Fixes fa8d870936a54dace ("logclean -n: Give more hints on what would be done") Fixes #913 | |||
2021-08-28 | We only need git metadata during a bulk run | Bryan Drewery | |
2021-08-28 | pkgclean: Fix POUDRIERE_BUILD_TYPE error | Bryan Drewery | |
Fixes 4aaf8500b ("Sprinkle set -u around some early helpers") | |||
2021-08-28 | distclean: Fix reading make.conf | Bryan Drewery | |
Fixes #910 Fixes fa0308152e6 ("Move make.conf ports_env handling to its own not-spammy file") | |||
2021-08-27 | mapfile /bin/sh compat: remove the need for special case mapfile_read_loop() | Bryan Drewery | |
This also allows mapfile_read_loop_redir() to be aliasable for the compat version as well. | |||
2021-08-27 | write_atomic* can use common code | Bryan Drewery | |
2021-08-27 | Add mapfile_mktemp and use in write_atomic* | Bryan Drewery | |