Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
This results in a few fuzzy entries; it's just changing from %s to %q; I
can merge those.
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Also, don't parse PKGBUILD ourself; use .SRCINFO to extract
information from the PKGBUILD.
|
|
https://labs.parabola.nu/issues/1311
|
|
|
|
|
|
|
|
|
|
po/es/librelib.po: Use the "fuzzy" attribute to indicate that a translation
needs updated, not a "FIXME" comment.
|
|
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.
|
|
|
|
Signed-off-by: David P <megver83@parabola.nu>
|
|
Signed-off-by: David P <megver83@parabola.nu>
|
|
|
|
db-import-pkg now makes sure that that doesn't happen.
|
|
libremakepkg defined a cleanup() function, which overrode
common.sh:cleanup(), which meant that common.sh:die() exited with a
'0' status.
|
|
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
|
|
|
|
This means you now need to use 'bash -c' to do things like pipelines.
|
|
|
|
https://labs.parabola.nu/issues/1186
|
|
[ci-skip]
https://labs.parabola.nu/issues/1186
|
|
|
|
|
|
|
|
To prepare a release.
|
|
|
|
|
|
|
|
|
|
|
|
- `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"
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|