summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-06librechroot help: Clarify the usage of -w and -rLuke Shumaker
2018-08-04libremakepkg,chcleanup: Be stricter about network accessv20180804Luke Shumaker
Objectives: - Once the source package has been created, never run makepkg with networking enabled again, so that we can be 100% sure that the source package has all of the sources that we need. - Don't let makepkg edit the PKGBUILD (eg. by evaluating pkgver()) User-facing changes: - libremakepkg now disables networking during prepare() - libremakepkg no longer runs pkgver() - chcleanup (and thus `librechroot clean-pkgs`) now also installs packages Technical description of changes: - In devtools (and not really in this commit): * No longer split /chrootprepare off of /chrootbuild. The point of splitting it was that we'd have prepare() run from /chrootprepare and the rest later run from /chrootbuild, so that we could leave networking enabled during prepare() but not the rest. Now that we're disabling networking during prepare(), that's pointless. * Have download_sources create a source package (rather than having /chrootbuild create the source package at the same time that we create the binary package). We adjust the caller to temporarily set SRCPKGDEST to a temporary directory, so that we can get the file and control the filename when we move it in to the real SRCPKGDEST. - Have chcleanup install the dependencies. If we used the traditional `makepkg --sync` to install the dependencies, then we'd be breaking the "no networking for makepkg after source package creation" objective. chcleanup already has all of the logic necessary to accomplish this. If there's a discrepancy in chcleanup behavior and makepkg behavior, and makepkg thinks it needs to install something, then that just means we'll have to fix the bug in chcleanup, instead of letting it go for more than a year (*cough* https://labs.parabola.nu/issues/1311 *cough*). - Use files extracted from the source package (rather than files found in the current directory) to build the package. - We mount the temporary directory containing the extracted source package files read-only, to be sure that makepkg doesn't modify the PKGBUILD. This is necessary because --holdver only disables pkgver() if it's a VCS package.
2018-08-03test: libremakepkg: Add some failing tests [ci-skip]Luke Shumaker
2018-08-03po/es: msgmerge -Fi --update --previousLuke Shumaker
This results in a few fuzzy entries; it's just changing from %s to %q; I can merge those.
2018-08-03Merge branch 'fmt-locale'Luke Shumaker
2018-08-03po/es: msgmerge -Fi --update --previous # just updates line numbersLuke Shumaker
2018-08-03po/es: Run `msguniq -Fi` over all .po filesLuke Shumaker
This screws up the line-by-line translation (sorry!) But msgmerge without it is just not worth the time/effort. https://savannah.gnu.org/bugs/?53457
2018-08-03Use Bash 4.4 @Q instead of %qLuke Shumaker
2018-08-03libremakepkg: Expand short flags to unshareLuke Shumaker
2018-08-03chcleanup: Expand short flags to pacmanLuke Shumaker
2018-08-03chcleanup: Consider _$CARCH depsLuke Shumaker
Also, don't parse PKGBUILD ourself; use .SRCINFO to extract information from the PKGBUILD.
2018-08-03test: librechroot: Add failing test case for chcleanup [ci-skip]Luke Shumaker
https://labs.parabola.nu/issues/1311
2018-08-03test: librechroot: Fix tragic typoLuke Shumaker
2018-07-31Merge branch 'master' of git://projects.parabola.nu/packages/libretoolsLuke Shumaker
2018-07-31updating translationOmar Vega Ramos
2018-07-31Merge branch 'fix-fuzzy'Luke Shumaker
2018-07-31fixup!Luke Shumaker
po/es/librelib.po: Use the "fuzzy" attribute to indicate that a translation needs updated, not a "FIXME" comment.
2018-07-31po/es: Fixup whitespaceLuke Shumaker
There are quite a few places where a line ends `foo"`, and the next line picks up `"bar`; with neither line containing a space separating "foo" from "bar". The results in the words getting munged together in to "foobar" rather than "foo bar". Here's how I searched for these: cat *.po|ruby -e 'puts STDIN.read().gsub(/"\n\s*"/, "\"\"")'|sed -r 's/^msg(str|id) """/msg\1 "/'|grep -vE '^msgstr\s+"Project-Id-Version:'|grep '\S""\S' There are 5 false-positives that are reflections of where msguniq decided to split a flag or path in the .pot file.
2018-07-31Begone with XBSLuke Shumaker
2018-07-17po/es/libretools.po: fix grammar and change some wordsDavid P
Signed-off-by: David P <megver83@parabola.nu>
2018-06-04improved spanish translationDavid P
Signed-off-by: David P <megver83@parabola.nu>
2018-06-02librechroot: Properly clean up temporary pacman.conf fileLuke Shumaker
2018-06-02librechroot: Remove the hack for -any packages differing between archesLuke Shumaker
db-import-pkg now makes sure that that doesn't happen.
2018-05-30libremakepkg: Fix it_fails_with_bad_signaturesv20180530Luke Shumaker
libremakepkg defined a cleanup() function, which overrode common.sh:cleanup(), which meant that common.sh:die() exited with a '0' status.
2018-05-30libremakepkg: Fix it_succeeds_with_good_signaturesLuke Shumaker
Do this by syncing makepkg_args with makechrootpkg's default_makepkg_args; recent devtools have makechrootpkg not copy the keyring in to the chroot. This incorporates 3 commits from Arch devtools: 7ca4eb82d (2017-05-02): add --holdver 0cbc179d2 (2017-07-13): use long options; `-s`→`--syncdeps`, `-L`→`--log` 75fdff181 (2017-07-13): add --skipinteg
2018-05-30test/libremakepkg: Verify that it correctly handles source signatures [ci-skip]Luke Shumaker
2018-05-30test/testenv: Don't "eval" the arguments; treat them as real argsLuke Shumaker
This means you now need to use 'bash -c' to do things like pipelines.
2018-05-30test/testenv: Wrap entire thing in {}Luke Shumaker
2018-05-30librefetch: Clear backup=()Luke Shumaker
https://labs.parabola.nu/issues/1186
2018-05-30test/librefetch: Verify that it doesn't complain about backup=() entries ↵Luke Shumaker
[ci-skip] https://labs.parabola.nu/issues/1186
2018-05-30librefetch: Update for makepkg 5.1Luke Shumaker
2018-05-29librefetch: purge.sh: Fixup whitespaceLuke Shumaker
2018-05-29librefetch: source.sh.gen: Fix header commentLuke Shumaker
2018-05-20Empty commitv20180520Luke Shumaker
To prepare a release.
2018-04-28Makefile: Avoid making pointless empty dir.pot filesv20180428Luke Shumaker
2018-04-28po/es: Update line numbersLuke Shumaker
2018-04-28po/es: fix typoLuke Shumaker
2018-04-28blacklist-update: Make it safe to run in parallel, touch upLuke Shumaker
2018-04-24conf.sh: Whoops, update copyright yearLuke Shumaker
2018-04-24conf.sh(3): Touch-upLuke Shumaker
- `codeblock` was disabling <VAR> in a place; use "" for filenames instead of `` - load_conf: use [] to emphasize that <VARS>... is optional - load_conf: "each of them is", not "each of them are"
2018-04-24conf.sh: Allow load_conf to take an absolute filepathLuke Shumaker
This is useful in dbscripts. This also has a couple of happy side-effects in the implementation details - list_files and list_envvars are now only called once each - we now do save readarray-based splitting of list_files and list_envvars output
2018-04-24messages: setup_traps: Don't leak the "signal" variableLuke Shumaker
2018-04-21po/es: grammar fixDavid P
2018-03-31update Spanish translation (100% done)David P
2018-03-30update Spanish translation (24% missing), and small ortographical fixDavid P
2018-03-27libremessages: whitespace_collapse: Don't insert trailing whitespacev20180327Luke Shumaker
2018-03-27librelib: Remove dead codeLuke Shumaker
2018-03-27Makefile: Use files.groups instead of nested.subdirs to split the packageLuke Shumaker
2018-03-27Makefile: files,nested: Don't create pseudo-targets masking real filesLuke Shumaker
2018-03-27Makefile: fix at-modules warningsLuke Shumaker