Subject: [bug#75137] [PATCH 0/4] 'package-with-upstream-version' can preserve archive type

From: Ludovic Courtès <[email-masked]>
Date: Fri, 27 Dec 2024 11:55:23 +0100

Hello,

This fixes a discrepancy observed in:

  https://ci.guix.gnu.org/jobset/security-updates

For ‘xorg-server’, ‘package-with-upstream-version’ would pick the
tar.gz file, whereas running ‘guix refresh -u xorg-server’ would
pick the tar.xz file since the package definition already uses
a tar.xz file.

Ludo’.

Ludovic Courtès (4):
  upstream: Switch to SRFI-71.
  upstream: Extract ‘preferred-upstream-source-url’.
  upstream: Define ‘preferred-upstream-source’.
  transformations: ‘package-with-upstream-version’ can preserve archive
    type.

 guix/transformations.scm | 44 ++++++++++++++++++--------------
 guix/upstream.scm        | 55 +++++++++++++++++++++++++---------------
 tests/upstream.scm       | 21 ++++++++++++++-
 3 files changed, 80 insertions(+), 40 deletions(-)

base-commit: e4bdd464ebb49f4e698e5105f70b29688fff9475
-- 
2.46.0