From patchwork Sat Jan 7 15:04:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 596 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5542B27BBEB; Sat, 7 Jan 2023 15:06:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E205F27BBE9 for ; Sat, 7 Jan 2023 15:06:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEAlp-0003ZN-Ib; Sat, 07 Jan 2023 10:06:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEAln-0003Yl-Ne for guix-patches@gnu.org; Sat, 07 Jan 2023 10:06:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEAln-0001Aa-Fg for guix-patches@gnu.org; Sat, 07 Jan 2023 10:06:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEAlm-0004zW-9j; Sat, 07 Jan 2023 10:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60629] [PATCH 0/3] Add '--with-version' package transformation Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: h.goebel@crazy-compilers.com, guix-patches@gnu.org Resent-Date: Sat, 07 Jan 2023 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60629 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60629@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= , h.goebel@crazy-compilers.com X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: h.goebel@crazy-compilers.com Received: via spool by submit@debbugs.gnu.org id=B.167310390919109 (code B ref -1); Sat, 07 Jan 2023 15:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2023 15:05:09 +0000 Received: from localhost ([127.0.0.1]:58671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEAkv-0004y9-6U for submit@debbugs.gnu.org; Sat, 07 Jan 2023 10:05:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:57666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEAkt-0004y1-42 for submit@debbugs.gnu.org; Sat, 07 Jan 2023 10:05:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEAks-0003JI-RN for guix-patches@gnu.org; Sat, 07 Jan 2023 10:05:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEAkr-0000vY-T5; Sat, 07 Jan 2023 10:05:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=LPtVkHFgcbYv6pGe6M/HT3tt0yY+xcProBXze+Xr5q4=; b=A9mXWoCxUgRFDk eCEW47yF5AfbrbUxA+TGI521JyfWEu8hNyT7pfyrz3o2LdJlxSW7z1W0qWKVF9BZhc1hOkoxKTs1l mTYgJ/C9vmTMeY1sfYbzoYN8aNv9WMyivSzCUURIoIqifI4rbxhIj+58mLWURrNXdCXCxAhdDV6Dz te9zZQG1w3ydtJc5+YARMY/p0TsKCJvdtL2Tk7/51FAbc5NsLabaX/+P+9vE44FAtFvrZrndnX4NM ABqgMH8ZAy/MXRf9JITVG11RT3plDj4NdLGlJUH3zsrtRLMLtsPM5IyrHvhCq7yCKxBSY8X5rmUaA TDz4pctkAcoB4Bqlgl5Q==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEAkr-00033P-1H; Sat, 07 Jan 2023 10:05:05 -0500 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Sat, 7 Jan 2023 16:04:57 +0100 Message-Id: <20230107150457.4446-1-ludo@gnu.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello Guix! Now that updaters can (to some extent) import any upstream version, we can provide a ‘--with-version’ package transformation option that picks the given upstream version. The nice thing is that it’s just a dozen new lines of code in (guix transformations)! Feedback welcome! Ludo’. Ludovic Courtès (3): transformations: Add '--with-version'. transformations: Let users know when '--with-latest' has no effect. DRAFT news: Add entry for '--with-version'. doc/guix.texi | 19 +++++++-- etc/news.scm | 36 ++++++++++++++++- guix/transformations.scm | 81 ++++++++++++++++++++++++++++----------- tests/transformations.scm | 19 ++++++++- 4 files changed, 127 insertions(+), 28 deletions(-) base-commit: cce9ff2d5ada3d1e26e1c70205f21271a0065482