[arch-projects] [devtools] [GIT] The official devtools repository branch master updated. 20191130-4-gd6866e0

Levente Polyak anthraxx at archlinux.org
Tue Dec 10 20:41:06 UTC 2019


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 devtools repository".

The branch, master has been updated
       via  d6866e0544581840cc021e4be68c1c450fcb7963 (commit)
       via  8edad226166eb6f2888b87cf8e0a9952822c887a (commit)
       via  f20435643f55c37e3f8274a03e7fe5e052dc8dd9 (commit)
      from  8d99df602d6e5fc377a37f67d0e5ce74c8facecd (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 d6866e0544581840cc021e4be68c1c450fcb7963
Author: Levente Polyak <anthraxx at archlinux.org>
Date:   Wed Dec 4 12:39:34 2019 +0100

    lib: support arbitrary compressed package files
    
    We need to modify the matching of valid package files to support formats
    like zstd. Let's try to use an eager approach instead of a simple
    whitelist in order to be functional for arbitrary formats that may be
    introduced in the future without the need to adjust any code.
    
    Allow any single fragment word as compression type but filter out known
    non-package content like signature files.
    
    Signed-off-by: Levente Polyak <anthraxx at archlinux.org>

commit 8edad226166eb6f2888b87cf8e0a9952822c887a
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Mon Dec 2 15:51:21 2019 -0500

    offload-build: return failure if no package files were found
    
    This means that the remote command died at some stage earlier than the
    printing of created files.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>

commit f20435643f55c37e3f8274a03e7fe5e052dc8dd9
Author: Levente Polyak <anthraxx at archlinux.org>
Date:   Tue Dec 3 01:14:35 2019 +0100

    makechrootpkg: sync databases for checkpkg off-site
    
    Use pacman's --dbpath feature to sync fresh databases inside an isolated
    location and split up the database sync and package location calls to
    remove the need of weird grep calls.
    
    It isn't nice of makechrootpkg to modify the host database state just by
    building packages. No foreign program shall automatically modify
    the host database other than by the explicit will of a system
    maintainer, which is the major reason this changes get incorporated.
    
    However, there is certain indoctrinated believe that using -Sy is
    the prime evil. In fact it has been declared as a social rule to a
    technical problem of not getting into potential partial upgrade states.
    This is not a proper loophole less solution as there are multiple ways
    and use cases that lead to such a state, like aborting a -Syu on the
    prompt for whatever reason, what really matters is that it is not a
    technically bullet proof solution to solve the problem.
    
    Databases shall have the freedom to be as up to date as databases or
    their owner wishes, allowing querying on latest database state without
    fear. The only loophole-less contract that _really_ is from importance
    is always using -Su instead of plain -S to install packages. Installing
    packages is what actually brings one into a potential partial upgrade
    state and by using -Su an outstanding upgrade is forced when installing
    a new package. This properly solves all edge cases in a technical
    manner instead of declaring people who abort the prompt of -Syu to be
    the problem. In fact, using this simple contract allows whatever system
    maintenance workflow a host owner wants to follow, which may still be to
    always use -Syu and deal with system upgrades explicitly instead of the
    time when installing new packages, but the -Su contract is the real safe
    guard to guarantee no edge case can ever slip in. This magically also
    opens up the freedom to people who wish to use -Sy to simply query on up
    to date data as the currently indoctrinated "never do -Sy" stone plates
    not only are not rock solid in technical terms but also make certain use
    cases simply impossible and hence cripple the functionality without at
    the very least being fully loophole free.
    
    Signed-off-by: Levente Polyak <anthraxx at archlinux.org>

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

Summary of changes:
 lib/common.sh    |  4 ++--
 makechrootpkg.in | 15 +++++++++++++--
 offload-build    |  2 ++
 3 files changed, 17 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
The official devtools repository


More information about the arch-projects mailing list