[pacman-dev] [GIT] The official pacman repository branch, master, updated. v5.1.1-51-gb5d62d2c

Allan McRae allan at archlinux.org
Sun Oct 21 10:54:02 UTC 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official pacman repository".

The branch, master has been updated
       via  b5d62d2c91a2caf5c18945921cdf12af6f36b2d4 (commit)
       via  3561c872ca0980c76442fcbf3985cc92a8f572f7 (commit)
       via  882e707e40bbade0111cf3bdedbdac4d4b70453b (commit)
       via  b5191ea140386dd9b73e4509ffa9a6d347c1b5fa (commit)
       via  e12d03217430500be269392463876440210f7916 (commit)
       via  ea877c596bc380acd608468e4e38186ac0252197 (commit)
       via  c887d2cf00d7c2238edd1d317b8c887e774b6d3f (commit)
       via  ac959bb9c6ce549047a954109ae825158855e386 (commit)
       via  9886566abb375043740167ce5066f1a186c71176 (commit)
       via  2c91d08e62dd13979192df4a0b2ca76bde87cfd0 (commit)
       via  79a528735ee198ac880b65d946cfde9181872b44 (commit)
       via  02255fd97e831854d1f29e6fac687a4a508f44fa (commit)
       via  8c9046e6042fd23bf6a1bb204062fc644c322689 (commit)
       via  afb9c0140fd6949ede64cc1a304e9349772fca04 (commit)
       via  ffde85aadfe0e08fb710102d0a547335e9d1a200 (commit)
       via  d96d0ffe7c88d9521a9e6cdd65939e9a20733cdf (commit)
      from  7afe51171fe063bf3031cc68fc8c7ac914a01de2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b5d62d2c91a2caf5c18945921cdf12af6f36b2d4
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Thu Jun 28 13:19:43 2018 -0400

    Port scripts to use libmakepkg's messaging code.
    
    Remove all remnants of library/{output_format,term_colors}.sh
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 3561c872ca0980c76442fcbf3985cc92a8f572f7
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Thu Jun 28 13:19:42 2018 -0400

    message.sh: add modifications from output_format.sh
    
    In the spirit of making libmakepkg more useful as a library, and,
    critically, *using* that library for additional pacman scripts, we
    should include all of output_format.sh and term_colors.sh directly in
    libmakepkg and hopefully stop having to embed additional copies in e.g.
    repo-add via m4 macros.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 882e707e40bbade0111cf3bdedbdac4d4b70453b
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Thu Jun 28 13:19:41 2018 -0400

    makepkg: send messages to stdout rather than stderr
    
    This behavior is confusing, since it means absolutely everything goes to
    stderr and makepkg itself is a quiet program that produces no expected
    output???
    
    The only situation where messages should go to stderr rather than
    stdout, is with --geninteg which is meant to return the checksums on
    stdout (but we don't want to totally get rid of status messages when
    redirecting the results elsewhere, or, worse, redirect status messages
    to a PKGBUILD). For this specific case, redirect message output to
    stderr in the --geninteg callers directly.
    
    Implements FS#17173
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit b5191ea140386dd9b73e4509ffa9a6d347c1b5fa
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Tue Aug 21 10:15:12 2018 -0400

    makepkg: use builtin globbing to print files in package
    
    - it comes with free collation when moving the LC_ALL declaration up a bit;
      this fixes a bug where the .FILES were not being properly sorted and
      their order depended on directory creation order, which broke
      reproducible builds in the wild.
    - it handles sorting null-delimited output everywhere, without sort -z;
      this lets us get rid of sed hacks
    - it is faster than invoking multiple find subprocesses
    - dotfiles can be automatically printed *and the C locale sorts them first*
      with a single ** glob
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit e12d03217430500be269392463876440210f7916
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Mon Aug 13 21:20:56 2018 -0400

    makepkg: use bash 4.4 to localize `set` without explicitly saving/restoring
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit ea877c596bc380acd608468e4e38186ac0252197
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Fri Sep 7 11:58:53 2018 -0400

    bash-completion: disable completions for pacman --search operations
    
    We don't need exact package name completions for something that expects a
    regular expression *search*, which is what we currently do. If you want
    a package name completion for a search, you don't need the search.
    
    This change is consistent with the current state of zsh completions.
    
    Fixes FS#59965
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit c887d2cf00d7c2238edd1d317b8c887e774b6d3f
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Fri Sep 7 11:58:52 2018 -0400

    bash-completion: don't complete filenames when they're not wanted
    
    Filename completion should only be generated for makepkg, when using the
    options -p or --config... which means we should offer option completions
    by default.
    
    Filename completion for pacman, should not be generated when using -Qu,
    or -F without -o.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit ac959bb9c6ce549047a954109ae825158855e386
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Fri Oct 12 19:16:53 2018 -0700

    handle EINTR while polling scripts/hooks
    
    If poll() is interrupted by a signal, alpm was closing the socket it
    uses for listening to script/hook output.  This would drop script output
    at the least and kill the script at the worst.
    
    Fixes FS#60396
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 9886566abb375043740167ce5066f1a186c71176
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Wed Oct 3 00:42:38 2018 -0700

    reset signal handlers before running scripts/hooks
    
    Front-ends or libraries may set signals to be ignored, which gets
    inherited across fork and exec.  This can cause scripts to malfunction
    if they expect the signal.  To make matters worse, scripts written in
    bash can't reset signals that were ignored when bash was started.
    
    Fixes FS#56756
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 2c91d08e62dd13979192df4a0b2ca76bde87cfd0
Author: morganamilo <morganamilo at gmail.com>
Date:   Tue Oct 16 18:49:23 2018 +0100

    libmakepkg: fix linting arrays of empty strings
    
    [[ ${array[@]} ]] will resolve to false if array only contains empty
    strings. This means that values such as "depends=('')" can be inserted
    into a pkgbuild and bypass the linting.
    
    This causes makepkg to successfully build the package while pacman
    refuses to install it because of the unmet dependency on ''.
    
    Instead check the length of the array.
    
    Signed-off-by: morganamilo <morganamilo at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 79a528735ee198ac880b65d946cfde9181872b44
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Mon Aug 20 20:52:34 2018 -0400

    Drop vestiges of SIZECMD
    
    SIZECMD was replaced in 1af766987f with a POSIX solution, and this token
    is no longer used/needed.

commit 02255fd97e831854d1f29e6fac687a4a508f44fa
Author: morganamilo <morganamilo at gmail.com>
Date:   Wed Oct 17 16:40:47 2018 +0100

    libalpm: process needed before group selection
    
    When --needed is used, up to date packages are now filtered out
    before showing the group select.
    
    Fixes FS#22870.
    
    Signed-off-by: morganamilo <morganamilo at gmail.com>

commit 8c9046e6042fd23bf6a1bb204062fc644c322689
Author: morganamilo <morganamilo at gmail.com>
Date:   Sat Oct 20 14:58:52 2018 +0100

    pacman: don't error when a group exists but all packages are ignored
    
    Currently when attempting to sync a group where all packages are
    ignored, either by ignorepkg, ignoregroup or --needed, pacman
    will error with "target not found".
    
    Instead, if a group has no packages check if the group exists
    before throwing an error.
    
    Signed-off-by: morganamilo <morganamilo at gmail.com>

commit afb9c0140fd6949ede64cc1a304e9349772fca04
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Sun Aug 19 21:12:33 2018 -0400

    Port pactest to python3
    
    Use BytesIO instead of StringIO, and ensure that we unicode-encode data
    where needed.

commit ffde85aadfe0e08fb710102d0a547335e9d1a200
Author: Olivier Brunel <jjk at jjacky.com>
Date:   Wed Oct 17 17:11:01 2018 +0200

    alpm: Fix SIGINT handling re: aborting download
    
    Upon receiving SIGINT a flag is set to abort the (curl) download.
    However, since it was never reset/initialized, if a front-end doesn't
    actually exit on SIGINT, and later tries any operation that needs to
    perform a new download, said download would always get aborted right
    away due to the flag not having been reset.

commit d96d0ffe7c88d9521a9e6cdd65939e9a20733cdf
Author: Olivier Brunel <jjk at jjacky.com>
Date:   Tue Oct 9 18:29:05 2018 +0200

    alpm: Do not raise SIGINT when filesize goes over limit
    
    Variable dload_interrupted is used both to abort a download because
    SIGINT was caught, and when a file limit is reached. But raising SIGINT
    is only meant to happen in the first case.
    
    Signed-off-by: Olivier Brunel <jjk at jjacky.com>

-----------------------------------------------------------------------

Summary of changes:
 configure.ac                                       |  2 +-
 lib/libalpm/dload.c                                |  3 +-
 lib/libalpm/sync.c                                 | 11 ++++++++
 lib/libalpm/util.c                                 | 30 +++++++++++++++++++-
 scripts/Makefile.am                                | 21 ++++----------
 scripts/completion/bash_completion.in              | 20 ++++++++++----
 .../libmakepkg/integrity/generate_checksum.sh.in   |  2 +-
 scripts/libmakepkg/util/message.sh.in              | 14 ++++++++--
 scripts/libmakepkg/util/pkgbuild.sh.in             |  4 +--
 scripts/library/README                             | 10 -------
 scripts/library/output_format.sh                   | 32 ----------------------
 scripts/library/term_colors.sh                     | 21 --------------
 scripts/makepkg.sh.in                              | 15 ++++++----
 scripts/pacman-db-upgrade.sh.in                    | 12 +++++---
 scripts/pacman-key.sh.in                           | 12 +++++---
 scripts/pkgdelta.sh.in                             | 12 +++++---
 scripts/po/POTFILES.in                             |  2 --
 scripts/repo-add.sh.in                             | 14 ++++++++--
 src/pacman/sync.c                                  | 18 ++++++++++++
 test/pacman/pactest.py                             |  5 ++--
 test/pacman/pmdb.py                                |  4 +--
 test/pacman/pmpkg.py                               |  6 ++--
 test/pacman/tests/TESTS                            |  2 ++
 test/pacman/tests/scriptlet-signal-handling.py     | 15 ++++++++++
 test/pacman/tests/scriptlet-signal-reset.py        | 11 ++++++++
 test/pacman/util.py                                |  2 +-
 26 files changed, 175 insertions(+), 125 deletions(-)
 delete mode 100644 scripts/library/output_format.sh
 delete mode 100644 scripts/library/term_colors.sh
 create mode 100644 test/pacman/tests/scriptlet-signal-handling.py
 create mode 100644 test/pacman/tests/scriptlet-signal-reset.py


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list