summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-11-20housekeepingbill-auger
2020-11-20mksource() loggingbill-auger
2020-11-20bugfix mksource()bill-auger
2020-11-20housekeepingbill-auger
2020-11-20refactor pkgbuild-summarize-nonfreebill-auger
2020-11-20allow building replacements for existing blacklist entriesbill-auger
libremakepkg will refuse to build a blacklisted package, if no libre replacement had been published before the next repo sync this change warns instead, and prompts for confirmation see note in src/chroot-tools/hooks-check.sh::check_pkgbuild_nonfree()
2020-11-20allow local login to differ from hackers.git loginbill-auger
2020-11-20sq - docsbill-auger
2020-11-20update docsbill-auger
2020-11-20whitespacebill-auger
2020-11-20build chroot seed per in-chroot pacman.confbill-auger
2020-11-20use fakeroot-tcp in ARM chrootsbill-auger
2020-11-20add more volatile bulid support repos to chroot pacman.conf (commented-out)bill-auger
2020-11-20whitespacebill-auger
2020-11-20refactor librechroot args processingbill-auger
2020-11-20normalize `source` callsbill-auger
2020-11-20housekeepingbill-auger
2020-11-20whitespacebill-auger
2020-11-20complete pbot notificationbill-auger
2019-10-25change chroot mirror to winstonv20190907bill-auger
2019-10-25notify pbot after sccessful publishbill-auger
2019-04-03add volatile bulid support repos to chroot pacman.conf (commented-out)bill-auger
2018-11-17Fix pacman.conf URLOmar Vega Ramos
2018-10-15libremakepkg: Add -S flag to use an existing source packageLuke Shumaker
"Ignore space change" might be helpful when viewing this diff.
2018-10-15libremakepkg: Tidy formatting of usage() flagsLuke Shumaker
"What is the alignment of the libremakepkg options section based on?", you may ask. You'll see in the next commit!
2018-10-04librerelease: Check that DBSCRIPTS_CONFIG is setv20181004Luke Shumaker
2018-10-03librerelease: Change how the HOOKs are displayedLuke Shumaker
This will display the evaluated command line, rather than the cryptic ssh -fN ${REPODEST_port:+-p "$REPODEST_port"} "${REPODEST_userhost}"
2018-10-03librerelease: Set DBSCRIPTS_CONFIG for db-updateLuke Shumaker
Its value is configurable in libretools.conf. I discussed this eventual change in my dbscripts plans on the mailing list.
2018-10-02libremakepkg: Fix launching `distcc-tool idaemon`Luke Shumaker
- Drop `distcc-tool-idaemon.pid`; we can just check `jobs -p` - _distcc_start_idaemon() and _distcc_stop_idaemon() are thereby simplified to the point where they can just be inlined. - Why did I keep doing `foo & wait`!? - Don't forget to write DISTCC_HOSTS to makepkg.conf - There was a typo in makepkg.conf; it said "_discc_start_idaemon"
2018-10-02libremakepkg: Tidy funny syntaxLuke Shumaker
I don't know what I was thinking when I wrote it that way. For one, the "<&0" bit is a no-op. It redirects stdin to be stdin. Maybe I had meant to write "<&-" and close it? For two, just write it normally. It's simple enough, don't make it look like magic.
2018-10-02distcc-tool: SimplifyLuke Shumaker
- I'm pretty sure the "& trap 'jobs -p | xargs kill' EXIT; wait" bit is 100% superstition. - Sprinkle `exec` in there to use fewer PIDs - Don't bother with variables for short constant values, just hard-code them - Use `sleep infinity` instead of a dumb socat if we need to sleep forever without doing anything.
2018-10-01distcc-tool: Note which Bash version is requiredLuke Shumaker
2018-10-01libremakepkg: Add a commentLuke Shumaker
This really messed me up while debugging, I don't want to fall for that again!
2018-10-01libremakepkg: distcc-tool: Avoid using overly-long socket namesLuke Shumaker
The maximum socket name length is surprising short. So `cd` and use a short relative path.
2018-09-20libretools.conf:REPODEST: Don't use a shared SSH account by default.v20180920Luke Shumaker
DISRUPTION: This will make the default configuration unsuitable for packagers whose local username doesn't match their username in hackers.git. They will need to manually adjust their `libretools.conf:REPODEST` to have the correct username. For years, when releasing a package, librerelease has been SSH'ing to a shared repo@ account. In the last few months, we've made changes to the server to make it so that you can use your normal $USER@ account. It has been opt-in by adjusting your REPODEST appropriately. For the last month, several developers have opted-in. After a couple of hiccups resolved in the first few hours, the HOOKPRERELEASE issue (for users for which the DISRUPTION applies, which the last few commits fixed), there were no issues. This has the negative affect So, change this from opt-in to opt-out. If all goes smoothly, then SSH to the repo@ account will eventually be disabled. https://lists.parabola.nu/pipermail/dev/2018-August/006907.html
2018-09-20libretools.conf:HOOKPRERELEASE: Respect $XDG_CONFIG_HOME's REPODESTLuke Shumaker
~/.config/libretools/libretools.conf is loaded after /etc/libretools.conf If the file in ~/.config/ changes REPODEST, then the default value of HOOKPRERELEASE will do the wrong thing. So, change the double-quotes to single quotes; deferring evaluation of the REPODEST expression to call-time. This is made possible by the previous commit, which exposes the REPODEST variable to the hook. While we're at it, since we now have access to the parsed parts of REPODEST (like REPODEST_port and REPODEST_userhost), go ahead and use those, instead of using a gross `sed` expression to parse it in a sloppy way.
2018-09-20librerelease: Run the HOOKs with `eval` rather than `bash -c`Luke Shumaker
This should give the hooks read-only access to whatever variables are set. This includes both the configuration variables (like REPODEST), and local instance variables (like REPODEST_port).
2018-09-20dagpkg: Fix a commentLuke Shumaker
2018-08-29Makefile: Fix installation of makepkg.d/librefetch.confv20180829Luke Shumaker
It was installed by `make install`, but not `make install-libretools`.
2018-08-29librechroot make: Try harder to avoid inheriting the host's pacman configLuke Shumaker
- `-A`: Comment out the `Include = /etc/pacman.d/*.conf` line that is present in the /usr/share/pacman/defaults/ files since pacman 5.1.1-1.parabola4 - Pass --hookdir="$copydir/etc/pacman.d/hooks" to mkarchroot's pacman to avoid inheriting the host's hooks. https://bugs.archlinux.org/task/49347 I should maybe add tests for both of those things, but they both rely on the actual contents of /etc/pacman.d/...
2018-08-29libremakepkg: Remove old reference to /chrootprepareLuke Shumaker
That file hasn't been created since 646ac025 (2018-08-04).
2018-08-29Rely on Bash 4.4 empty array behaviorLuke Shumaker
2018-08-26librechroot clean-pkgs: Do the right thing when libretools is installed in ↵Luke Shumaker
the chroot The /bin/chcleanup file that it installs will clash with the package-owned /usr/bin/chcleanup (since /bin is a symlink)
2018-08-26librefetch: Drop a file in /etc/makepkg.d/ rather than editing makepkg.confLuke Shumaker
The librefetch-install program will stick around for a while (1 year; 2019-08-26) so that it can be used from a post_upgrade hook to remove the old edits, in order to seamlessly migrate people. https://git.parabola.nu/abslibre.git/commit/?id=73982c5ad7057ce2fdec669d962aec6c9caf28c8
2018-08-15librechroot: Add --noconfirm to install-name, don't expect input.Luke Shumaker
2018-08-15librechroot,libremakepkg: Don't have stdin of nspawn be a TTY if we don't ↵Luke Shumaker
expect input If stdin is a TTY, systemd-nspawn will create a proxy PTY, and pump the data from real stdin through the proxy PTY. Because the PTY acts as a buffer, that means that it eats stdin, EVEN IF THE PROGRAM DOESN'T ACTUALLY READ IT. This is surprising to the user. We can't know if the command to `librechroot run` is going to read from stdin, but for most uses of librechroot we do know. So, set stdin to /dev/null for those cases.
2018-08-15librechroot: Fix typo in a commentLuke Shumaker
2018-08-15librechroot: Remove SYSTEMD-STDIN HACKLuke Shumaker
https://labs.parabola.nu/issues/431
2018-08-13libreblacklist: Better diagnostic output on update failureLuke Shumaker
2018-08-07oopsLuke Shumaker