Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-03 | aur, is_built: internationalize usage() | Luke Shumaker | |
2013-11-03 | treepkg: obey $TMPDIR | Luke Shumaker | |
2013-11-03 | treepkg: internationalize (sometimes changing the format of a message) | Luke Shumaker | |
Changes in message format: - Terminal-titles now begin with capital letters - "error!" -> "Error!" - "done" -> "Done" - signal handler errors changed from (treepkg) MESSAGE (leftovers on BUILDDIR) to treepkg: MESSAGE (leftovers on BUILDDIR) | |||
2013-11-03 | librechroot: correct comment | Luke Shumaker | |
2013-11-02 | librechroot: when detecting mount options, set LC_ALL instead of LANG | Luke Shumaker | |
2013-11-02 | test: set LC_ALL instead of LANG | Luke Shumaker | |
2013-11-02 | createworkdir: use gitget to set separate push and pull URLs. | Luke Shumaker | |
2013-11-02 | createworkdir: clean up quoting | Luke Shumaker | |
2013-11-02 | gitget: handle ref not being set | Luke Shumaker | |
2013-10-30 | gitget: learn -p and -f | Luke Shumaker | |
2013-10-30 | rename libregit to gitget, add bare repository support | Luke Shumaker | |
2013-10-30 | chcleanup: manually update repo.db instead of running `pacman -Sy` | Luke Shumaker | |
2013-10-30 | librechroot: check argument counts | Luke Shumaker | |
2013-10-26 | fix librefetch, add (some) tests for itv20131027 | Luke Shumaker | |
2013-10-26 | test: blacklist: shorten a couple of test names | Luke Shumaker | |
2013-10-26 | Merge pkgbuild-check-{nonfree,licenses}, add a summarize tool for it. | Luke Shumaker | |
This should fix a number of bugs in those two scripts, and the summarize script simplifies aur and libremakepkg:hooks-check.sh | |||
2013-10-26 | libremakepkg: configure [repo] to be first by default, not last | Luke Shumaker | |
2013-10-26 | librefetch: clean src-libre before running | Luke Shumaker | |
2013-10-26 | librechroot: check that copydir isn't mounted nosuid/noexec | Luke Shumaker | |
2013-10-26 | librechroot: die if stdin isn't a TTY, be more verbose about it. | Luke Shumaker | |
2013-10-26 | librechroot+indent: Add in a bunch of extra '\r's to work-around the systemd bug | Luke Shumaker | |
2013-10-15 | librechroot: (bugfix) Use the correct exit status if stdout isn't a TTY.v20131015 | Luke Shumaker | |
Because of the work-around for systemd-nspawn's buggy I/O, it was discarding the exit status if stdout wasn't a TTY. My work-around for *this* is to set -o pipefail. | |||
2013-10-15 | libremakepkg: hooks-chcleanup: fix variable name causing it to not run | Luke Shumaker | |
2013-10-15 | test: libremakepkg: add a test for bug #442, chcleanup not running | Luke Shumaker | |
2013-10-15 | testenv: verify that there is a command passed | Luke Shumaker | |
I keep running it without any arguments, thinking that I am now working inside of the test environment, when really it just exited right away with a 0 status. | |||
2013-10-08 | conf.sh.3: fix the reference to {get,set}_conf_makepkg in the BUGS section | Luke Shumaker | |
2013-10-07 | test: librerelease: also set REPODEST, as librerelease checks for it.v20131007 | Luke Shumaker | |
2013-10-07 | librechroot: If stdout isn't a TTY, pipe progs in the chroot through cat. | Luke Shumaker | |
Also, warn if stdin isn't a TTY. | |||
2013-10-07 | (oops) I missed an instance of get_conf_makepkg. | Luke Shumaker | |
2013-10-07 | revert last commit, it makes systemd-nspawn not handle signals correctly. | Luke Shumaker | |
I'm a fan of systemd-nspawn. I really am. It handles a lot of things the "right" way, so you don't have to. However, it handles PTYs and signals in an incredibly stupid way. Working around one is f---ed up by the other being wrong. Before I implemented the change that this reverts, this is what happens: systemd-nspawn> I need to create a PTY and proxy between it and stdio. I can specify a terminal size when doing this--I should set it to reflect the terminal I am connected to. systemd-nspawn> /dev/stdout: Are you a TTY? /dev/stdout> systemd-nspawn: No. ---- The correct thing to do here would be to either not set the size, ---- or set it to 80×24 systemd-nspawn> /dev/stdin: Are you a TTY? /dev/stdin> systemd-nspawn: Yes. systemd-nspawn> /dev/stdin: Great, what size are you? /dev/stdin> systemd-nspawn: I am X×Y. systemd-nspawn: libc: Please give me a PTY that is X×Y. ---- Why the f--- would you do this? The size only effects *output*. ---- If you don't know the characteristics of the output, set ---- reasonable defaults! Don't base it on the characteristics of the ---- input! My solution was to make /dev/stdin not be a TTY by closing it. This had the desired effect, but tripped up the signal handling. Here is how signals were handled before: systemd-nspawn> /dev/stdin: Are you a TTY? /dev/stdin> systemd-nspawn: Yes. systemd-nspawn> /dev/stdin: Great, please don't send SIGINT on C-c. I will handle it myself. *user presses C-c, systemd reads it* systemd-nspawn> child processes: here's a SIGINT. Here's what happens when I close, or do other things to make stdin not be a TTY: systemd-nspawn> /dev/stdin: Are you a TTY? /dev/stdin> systemd-nspawn: No. systemd-nspawn> /dev/stdin: Oh, OK. *user presses C-c, /dev/stdin interprets it* /dev/stdin> systemd-nspawn: Here's a SIGINT. systemd-nspawn> *dies, abandoning child processes* The clear correct thing to do would have been to *handle* SIGINT, and pass it along to the children. | |||
2013-10-04 | libremakepkg: close stdin on most commands being sent through `indent` | Luke Shumaker | |
Besides preventing interactive use, this prevents the program from knowing the size of the terminal. | |||
2013-10-04 | librechroot/hook-chcleanup: look at /startdir/PKGBUILD, not /build/PKGBUILD | Luke Shumaker | |
2013-10-04 | chcleanup: prevent searching PATH for PKGBUILD | Luke Shumaker | |
2013-10-04 | test: Avoid letting environmental variables affect things | Luke Shumaker | |
2013-10-04 | Fix tests for librerelease | Luke Shumaker | |
2013-10-04 | conf.sh: generalize {get,set}_conf_makepkg to {get,set}_var | Luke Shumaker | |
2013-10-02 | Add documentation for lib/ | Luke Shumaker | |
* Add a bunch of man-pages * Add some comments to conf.sh * Add more information to librelib:usage() | |||
2013-10-01 | libremakepkg: when prefixing output with ' | ', do better than sed. | Luke Shumaker | |
There are two downsizes to using sed; it line-buffers, and (the existing pattern) doesn't handle '\r'. So, now I've included a Perl helper program to do a better job. I'd originally written it in C, and while that version was faster (the Perl version stutters occasionally), it required recompilation for different architectures. I could have gotten around that with tcc, but I didn't want to add any dependencies. Which is why I settled on Perl. It's part of group=(base), and it is required by packages in group=(base-devel), so I can count on it always being there. It doesn't handle every movement character, just '\n' and '\r', but that's enough for curl and pacman. | |||
2013-09-30 | librerelease: add -u flag for upload-only; don't run db-update | Luke Shumaker | |
2013-09-30 | librerelease: fix upload size total | Luke Shumaker | |
2013-09-30 | librerelease: fixv20130930 | Luke Shumaker | |
2013-09-30 | librerelease: I was dumb and messed up the flags to `find`. Add unit tests. | Luke Shumaker | |
2013-09-30 | test-common.sh: add an empty() routine to check if a file is empty, use it | Luke Shumaker | |
2013-09-29 | Strip trailing whitespace everywhere. | Luke Shumaker | |
find * -type f -not -name '*.patch' -exec sed -i -r 's/\s+$//' {} + | |||
2013-09-29 | update the makechrootpkg patch to apply cleanly with an updated devtools | Luke Shumaker | |
2013-09-29 | fullpkg-build: (minor) use printf instead of echo and post-processing | Luke Shumaker | |
2013-09-29 | fullpkg-find: fiddle with some of the quoting, it was tripping up xgettext | Luke Shumaker | |
2013-09-29 | fullpkg-find: add licensing information | Luke Shumaker | |
2013-09-29 | fullpkg: internationalize | Luke Shumaker | |
2013-09-26 | Makefile: create a standard 'pot' target | Luke Shumaker | |