Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-09-09bget: 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 presentBryan Drewery
2021-09-09_listed_ports: Cleanup some style.Bryan Drewery
No functional change intended.
2021-09-09bulk: Add -d to avoid committing packages.Bryan Drewery
This is purely intended for testing.
2021-09-09pkgqueue_compute_rdeps does not need pkg_deps fileBryan Drewery
2021-09-09Store pool dir in logs/.poudriere.pkg_pool%Bryan Drewery
2021-09-09mapfile_cat: Handle set -uBryan Drewery
2021-09-09crashed_build: Factor out log file paths and use install -lrsBryan Drewery
2021-09-09Add $EX_USAGEBryan Drewery
2021-09-07options: Support multiple -fBryan Drewery
2021-09-07Simplify DELETE_UNQUEUED_PACKAGES calculation for easier readingBryan Drewery
2021-09-07delete_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-07bulk: Require -a or -f to delete unqueued packages.Bryan Drewery
Issue #493 Issue #915 Fixes: dda7b8fa835d3047 ("bulk [-a] -f: Delete packages unknown...")
2021-09-07bulk: Make fetch post-incremental delete message into debugBryan Drewery
2021-09-07More &&/pipefail/set -e style fixBryan Drewery
2021-09-07bulk -C: Don't mention dead symlinks for .txz of -C-deleted packagesBryan Drewery
2021-09-04Show loginfo on errorBryan Drewery
2021-09-04Fix race with distfile fetch savingBryan Drewery
This is more noticeable with FLAVORS. Fixes #758
2021-09-03delete_pkg: Reduce spam; ignore pkg.txz compat symlinksBryan Drewery
2021-09-03delete_pkg helpers belong with pkg.sh as they are for cachingBryan Drewery
2021-09-03Rework c25726ffc: deletions are not all mutually exclusion.Bryan Drewery
Fixes c25726ffc8 ("bulk missing pkg: Delete packages before fetching from remote")
2021-09-03download_from_repo: Create symlink for bootstrap pkg in Latest/pkg.txzBryan Drewery
2021-09-03Package Fetch: Clarify cached packages may be used.Bryan Drewery
Fixes #907
2021-09-03jlock: Replace with slockBryan 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-03locks don't need critical sections nowBryan 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-03locks: Fix acquiring/releasing locks not owned by getpid()Bryan Drewery
2021-09-03Release all slocks on exit to avoid pid reuse issues.Bryan Drewery
Conflicts: src/share/poudriere/common.sh
2021-09-03locked_mkdir: Avoid trashing SIGALRM handler on early cleanupBryan Drewery
Conflicts: src/libexec/poudriere/locked_mkdir/locked_mkdir.c
2021-09-03locked_mkdir: path -> lockdirpathBryan Drewery
2021-09-03locked_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-03locked_mkdir: fd -> lockdirfdBryan Drewery
2021-09-03html building: Assert that the proper slocks are heldBryan Drewery
2021-09-03bulk cleanup: Simplify exit needs to not care about having jlockBryan Drewery
Also handle some things before nuking jails otherwise other bulks could race with the cleanup being done.
2021-09-03The trappedinfo hack can use read_blocking() now.Bryan Drewery
2021-09-03enter_interactive: Allow non-root to write to /wrkdirsBryan Drewery
2021-09-03bulk missing pkg: Delete packages before fetching from remoteBryan Drewery
2021-09-03prepare_ports: Combine some bulk/testport-only sectionsBryan Drewery
2021-09-03ensure_pkg_installed: Base paths on PKG_BIN valueBryan Drewery
2021-09-03Remove dead code obsoleted in b21438ed35788fBryan Drewery
2021-09-03ensure_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-03bulk: Link to the build logs at PACKAGES/logsBryan Drewery
2021-09-01bulk [-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-01delete_old_pkg: Clarify FLAVOR/pkgclean handlingBryan Drewery
Issue #915
2021-08-30logclean: 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-28We only need git metadata during a bulk runBryan Drewery
2021-08-28pkgclean: Fix POUDRIERE_BUILD_TYPE errorBryan Drewery
Fixes 4aaf8500b ("Sprinkle set -u around some early helpers")
2021-08-28distclean: Fix reading make.confBryan Drewery
Fixes #910 Fixes fa0308152e6 ("Move make.conf ports_env handling to its own not-spammy file")
2021-08-27mapfile /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-27write_atomic* can use common codeBryan Drewery
2021-08-27Add mapfile_mktemp and use in write_atomic*Bryan Drewery