From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +LzVEGyKuWPSKQAAbAwnHQ (envelope-from ) for ; Sat, 07 Jan 2023 16:06:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cETREGyKuWMlqgAA9RJhRA (envelope-from ) for ; Sat, 07 Jan 2023 16:06:20 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E1C4B2B93C for ; Sat, 7 Jan 2023 16:06:19 +0100 (CET) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673103979; a=rsa-sha256; cv=none; b=W9F7HACrnYq4oyCyv+CnmQoS0tkt1JQZppoK6GlD/pWxjfHDPzcdTpxjcomv3Ppxrc5KEz cOh4BtBx9C9TiLlgFLOnpQo7uv66DKZ8P3Uw0Uu01uOJcGdf6N+wDMiPdSviVkrM3ftYco C3D6cIZY0hvLP4Qoq9kYpjrcz7CIUgKkAZ8WS6RxkCBwEWrah5o86XNsbDdb5Tn3KEmPOa bcoKIHuDrL8STkEb3rxlLrZhM3Zfc7mFd5oZFewRPttwHchSUFb2/WI82ydDco4MUOMXAn OtQdILU9z9mz9f1xchMArrxNb0iF6z7qAqBl+NUlnb9j7TVclXKO2A2CwiUhYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=A9mXWoCx; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673103979; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=LPtVkHFgcbYv6pGe6M/HT3tt0yY+xcProBXze+Xr5q4=; b=mHDAw1hvKKrXI9AAg+N6F3mPfKimUnIBYIKzXwsNE3PN1eeKefjUjO1am+Yq75hiJpzeo5 JesWf8+QmFfJaPVpMeVE2Z+JLZjitXzdOvBoK3AAcxZx+W4KPwF2qRs2QdngnY+qg/Z4QW j2hg4mTo3pWPFIF+37IsqlyEd+iXrtedQ41c3uSy8J6h8vosiG3OvXA1kv8kYFXCjMG+Ln AkTb+3C4X43gYwpg6kvmoLLF64GeUsLCloga6bSLOXTNICUsUFTHnSo/iVkWwq93Y7qfsJ LoSi2JZIZ16S/0BRACbQ0X4985NtOTXSzYfzEzAwC7xDmrFmKOxF2VwZp/RhPw== X-Spam-Score: -2.36 X-Migadu-Queue-Id: E1C4B2B93C Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=A9mXWoCx; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.36 X-TUID: LsIoGu+MDK7t 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 -- 2.38.1