lp:pacman-pm

Created by Thomas Karl Pietrowski on 2014-01-14 and last modified on 2019-06-06
Get this branch:
bzr branch lp:pacman-pm

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thomas Karl Pietrowski
Project:
pacman
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://projects.archlinux.org/pacman.git.

The next import is scheduled to run in 45 minutes.

Last successful import was 5 hours ago.

Import started 5 hours ago on izar and finished 5 hours ago taking 20 seconds — see the log
Import started 11 hours ago on izar and finished 11 hours ago taking 20 seconds — see the log
Import started 17 hours ago on izar and finished 17 hours ago taking 15 seconds — see the log
Import started 23 hours ago on alnitak and finished 23 hours ago taking 20 seconds — see the log
Import started on 2019-06-17 on alnitak and finished on 2019-06-17 taking 25 seconds — see the log
Import started on 2019-06-17 on alnitak and finished on 2019-06-17 taking 20 seconds — see the log
Import started on 2019-06-16 on izar and finished on 2019-06-16 taking 15 seconds — see the log
Import started on 2019-06-16 on izar and finished on 2019-06-16 taking 15 seconds — see the log
Import started on 2019-06-16 on izar and finished on 2019-06-16 taking 15 seconds — see the log
Import started on 2019-06-16 on izar and finished on 2019-06-16 taking 20 seconds — see the log

Recent revisions

5582. By Andrew Gregory <email address hidden> on 2019-06-06

hooks: rename type File to Path

Make it clearer that the targets are matched against both directories
and regular files and free up File to potentially refer specifically to
regular files in the future. File is retained as a deprecated alias for
Path for the time being to avoid breaking existing hooks and will be
removed in a future release.

See FS#53136.

Signed-off-by: Andrew Gregory <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5581. By Andrew Gregory <email address hidden> on 2019-06-06

makepkg: restrict pkgname and pkgver to ascii

pkgname and pkgver are used as directory names within database files.
libarchive does not provide a reliable locale-independent method for
reading archive file names, causing errors when archive paths include
non-ascii characters.

This is a first step toward dealing with FS#49342, by hopefully reducing
the number of packages with non-ascii data in the wild before updating
libalpm to reject them outright.

See https://github.com/libarchive/libarchive/wiki/Filenames
and https://github.com/libarchive/libarchive/issues/587

Signed-off-by: Andrew Gregory <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5580. By morganamilo <email address hidden> on 2019-06-06

pacman: rework the UI of -F

Reworks the UI of -F according to FS#47949

In short -F replaces both -Fs and -Fo.

Searching for an exact path (target contains "/"), causes the output to
switch to the old -Fo output. Otherwise the old -Fs output is used.

Also strip the leading "/" from targets like how -Qo does.

Signed-off-by: Allan McRae <email address hidden>

5579. By morganamilo <email address hidden> on 2019-06-06

pacman: refactor file match printing to their own functions

Signed-off-by: Allan McRae <email address hidden>

5578. By Eli Schwartz <email address hidden> on 2019-05-28

makepkg: also move restore_envvars handling into libmakepkg

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5577. By Eli Schwartz <email address hidden> on 2019-05-28

makepkg: move config loading into libmakepkg

When scripting/automating around makepkg, it is sometimes desirable to
know how makepkg will be configured to operate. One example is the
archlinux devtools, which must forward select makepkg.conf variables
into a build chroot (for example PACKAGER) or use those variables itself
(for example {SRC,PKG,LOG}DEST).

The configuration file can be in up to 3 places, and should be capable
of being overridden via environment variables. It is sufficiently
complex to represent distinct functionality, and sufficiently useful to
merit easy accessibility in other scripts, therefore, let us move it
into a publicly exposed utility library.

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5576. By Eli Schwartz <email address hidden> on 2019-05-28

doc: update SRCEXT/PKGEXT to reduce needlessly scary warnings

Currently this tells people that the settings should not be touched, but
we should just rely on the description of what it should be set to, and
leave it up to the user. With the previous patch, makepkg aborts if an
invalid value is set, greatly reducing the danger of it being badly
configured.

Also make this clearer by indicating when it would be useful to change
the settings -- i.e. disable compression -- and ensure their described
defaults are based on the ones established during ./configure or meson
setup.

Reported-by: Jouke Witteveen <email address hidden>
Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5575. By Eli Schwartz <email address hidden> on 2019-05-28

libmakepkg: add lint_config to validate SRCEXT/PKGEXT

These variables must begin with .src.tar / .pkg.tar respectively, so
fail early if those expectations are not matched. This prevents makepkg
from creating e.g. package files literally named "./pacman-5.1.3-1-x86_64"
which are actually uncompressed tarballs.

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5574. By ekardnam <email address hidden> on 2019-05-28

repo-add: Add --prevent-downgrade option

Implements FS#17752

Signed-off-by: Luca Bertozzi <email address hidden>

5573. By Kevin Mihelich <email address hidden> on 2019-05-28

Support application/gzip MIME type in extraction

file 5.37 changed the gzip MIME type from application/x-gzip to
application/gzip, so support this when checking to extract source files.

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.