Message ID | 20230217014938.20919-9-maxim.cournoyer@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B30F016952; Fri, 17 Feb 2023 01:51:57 +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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 EFD721693E for <patchwork@mira.cbaines.net>; Fri, 17 Feb 2023 01:51:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1pSpu6-0007ju-GV; Thu, 16 Feb 2023 20:51:14 -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 <Debian-debbugs@debbugs.gnu.org>) id 1pSptx-0007eU-9t for guix-patches@gnu.org; Thu, 16 Feb 2023 20:51:07 -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 <Debian-debbugs@debbugs.gnu.org>) id 1pSptx-0004O6-1e for guix-patches@gnu.org; Thu, 16 Feb 2023 20:51:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pSptw-0007Vz-Ue for guix-patches@gnu.org; Thu, 16 Feb 2023 20:51:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61255] [PATCH v2 8/8] news: Add entry for the new 'rpm' guix pack format. Resent-From: Maxim Cournoyer <maxim.cournoyer@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 01:51:04 +0000 Resent-Message-ID: <handler.61255.B61255.167659863328790@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61255 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61255@debbugs.gnu.org Cc: Julien Lepiller <julien@lepiller.eu>, ludo@gnu.org, Florian Pelz <pelzflorian@pelzflorian.de>, Maxim Cournoyer <maxim.cournoyer@gmail.com>, Thiago Jung Bauermann <bauermann@kolabnow.com> Received: via spool by 61255-submit@debbugs.gnu.org id=B61255.167659863328790 (code B ref 61255); Fri, 17 Feb 2023 01:51:04 +0000 Received: (at 61255) by debbugs.gnu.org; 17 Feb 2023 01:50:33 +0000 Received: from localhost ([127.0.0.1]:38089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1pSptQ-0007UC-KG for submit@debbugs.gnu.org; Thu, 16 Feb 2023 20:50:33 -0500 Received: from mail-qt1-f173.google.com ([209.85.160.173]:41962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@gmail.com>) id 1pSptH-0007T4-V6 for 61255@debbugs.gnu.org; Thu, 16 Feb 2023 20:50:24 -0500 Received: by mail-qt1-f173.google.com with SMTP id z5so4150519qtn.8 for <61255@debbugs.gnu.org>; Thu, 16 Feb 2023 17:50:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=h6eeWVhFS4/P4mj5jVKi+2tCRKAgXHX5V9OpJjZRF4k=; b=QRPZ/tOKLdw5Em6ZMrdX31SORvJxT1sylPmMNEBpd3bGdAKw9/wCuvzTPNjp/wloXe IRhmHv2BKyxpNazDq5Ja67F/ZaszPntWPXL6F1DF30Z2QpBovHyt+F0ZLNi+dagQ+NBc BEtKFZV9MR3P+BrMHyTnlDqjYEHbD5OBYNF/BacWHHRFM1aWLlzGhBUhnPJf1nmjgYdh V0G0NkEiM/ccgpXXrHk/7T8z6WkymVrbzBJKu/n5P7M0TPtNGw9HTmwffFP6KJhZfidM Y8DVT9m31gmy6CWN6Qc32l9dBIDgFAHhj57FqaCTluFPOzZaQ98FYi+W+38aTjmqZSQF CYDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h6eeWVhFS4/P4mj5jVKi+2tCRKAgXHX5V9OpJjZRF4k=; b=R+61tv09FBF0lPrwY8gP/bxobTrW9FNKC6W0Zi30QxlhTHuMeR8VC4Bc/8VBcR0kPb 85HmulFD26cCwEaFkv+Ktrv9YOl0PWRGqv3EDvidXItqTnRqH/xD/6O2ue7iBYEfywoi fHPpcYNHFdCpuHNaQ14ddvItnCQEqdssKjBTmMb4RJHskLpZeDBmB/DtCa480fQMzO+6 kFQmQeXzupGvqOgLGqVPs4+f7ofgBtjtIALLV5PzNkJ7Abaiw4rFFIXiszX/pSeeqooX JXKQmcfAu6rmZmecRB6yCecTUcirt/zt0MPyo0RN5C0doQKgvely+FzGWDrAj5RVXD5a fHMQ== X-Gm-Message-State: AO0yUKXOgIXE9x5CejlfYSaX6ju9EyApe7PGk5SvqAI8c6IW6E63oj3v xaO5V0ZlZCFdGgILiC4cfdJltpTSkfp8oLo0 X-Google-Smtp-Source: AK7set83HT0KMkUV0e/ZfuFnlTXtbwqWxEqi9HaW+mW5o3hcGfjkK8GTEXdC1hWvEZyvy61NO2IE8Q== X-Received: by 2002:ac8:5b4e:0:b0:3b9:b7c9:f0ce with SMTP id n14-20020ac85b4e000000b003b9b7c9f0cemr31636qtw.38.1676598618247; Thu, 16 Feb 2023 17:50:18 -0800 (PST) Received: from localhost.localdomain (dsl-152-188.b2b2c.ca. [66.158.152.188]) by smtp.gmail.com with ESMTPSA id g66-20020a37b645000000b0073b425f6e33sm2316242qkf.100.2023.02.16.17.50.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 17:50:17 -0800 (PST) From: Maxim Cournoyer <maxim.cournoyer@gmail.com> Date: Fri, 17 Feb 2023 02:49:37 +0100 Message-Id: <20230217014938.20919-9-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217014938.20919-1-maxim.cournoyer@gmail.com> References: <20230217014938.20919-1-maxim.cournoyer@gmail.com> 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=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 |
Series |
Add support for the RPM format to "guix pack"
|
|
Commit Message
Maxim Cournoyer
Feb. 17, 2023, 1:49 a.m. UTC
* etc/news.scm: Add entry. --- Changes in v2: - New commit etc/news.scm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-)
Comments
French: Nouveau format @samp{rpm} pour la commande @command{guix pack} Vous pouvez désormais produire une archive RPM (avec l'extension .rpm) avec la commande @command{guix pack --format=rpm} qui propose donc une nouvelle manière de distribuer les logiciels construits avec Guix. Voici un exemple permettant de générer une archive RPM pour le paquet @code{hello} : @example guix pack --format=rpm --symlink=/usr/bin/hello=bin/hello hello @end example Consultez @command{info \"(guix.fr) Invoquer guix pack\"} pour plus d'informations. Le 17 février 2023 02:49:37 GMT+01:00, Maxim Cournoyer <maxim.cournoyer@gmail.com> a écrit : >* etc/news.scm: Add entry. > >--- > >Changes in v2: >- New commit > > etc/news.scm | 17 ++++++++++++++++- > 1 file changed, 16 insertions(+), 1 deletion(-) > >diff --git a/etc/news.scm b/etc/news.scm >index 211a176170..1eefdd1636 100644 >--- a/etc/news.scm >+++ b/etc/news.scm >@@ -9,7 +9,7 @@ > ;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org> > ;; Copyright © 2020, 2021 Mathieu Othacehe <m.othacehe@gmail.com> > ;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> >-;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> >+;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> > ;; Copyright © 2021 Leo Famulari <leo@famulari.name> > ;; Copyright © 2021 Zhu Zihao <all_but_last@163.com> > ;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com> >@@ -26,6 +26,21 @@ > (channel-news > (version 0) > >+ (entry (commit "63622d2a234b707be5df07d8290a81b3247947e7") >+ (title >+ (en "New @samp{rpm} format for the @command{guix pack} command")) >+ (body >+ (en "RPM archives (with the .rpm file extension) can now be produced >+via the @command{guix pack --format=rpm} command, providing an alternative >+distribution path for software built with Guix. Here is a simple example that >+generates an RPM archive for the @code{hello} package: >+ >+@example >+guix pack --format=rpm --symlink=/usr/bin/hello=bin/hello hello >+@end example >+ >+See @command{info \"(guix) Invoking guix pack\"} for more information."))) >+ > (entry (commit "137b91f03bbb7f1df71cf10c4f79ae57fbcea400") > (title > (en "New @option{--with-version} package transformation option")
Hi Maxim! Two things. First, could you include this German translation? > (title > (en "New @samp{rpm} format for the @command{guix pack} command")) (de "Neues Format @samp{rpm} für den Befehl @command{guix pack}") > (body > (en "RPM archives (with the .rpm file extension) can now be produced (de "Sie können jetzt auch RPM-Archive (mit der Dateinamenserweiterung .rpm) erzeugen mit dem Befehl @command{guix pack --format=rpm}. Damit haben Sie einen alternativen Distributionsweg für mit Guix erstellte Software. Hier sehen Sie ein einfaches Beispiel, wie Sie ein RPM-Archiv für das Paket @code{hello} erzeugen: @example guix pack --format=rpm --symlink=/usr/bin/hello=bin/hello hello @end example Siehe @command{info \"(guix.de) Aufruf von guix pack\"} für mehr Informationen.") —Other than that, I just tried using your patch to make hello.rpm as in the news example and to make another advent.rpm with open-adventure. To my surprise, I could install both (on a fresh install of Fedora Server x86_64 without Guix installed), even though hello and open-adventure both reference /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33. From reading your documentation, I had not expected this. Perhaps you should mention that it is possible to both run `sudo rpm -i hello.rpm` and `sudo rpm -i advent.rpm` and it does not conflict? Regards, Florian
Hi Julien! Julien Lepiller <julien@lepiller.eu> writes: > French: > > Nouveau format @samp{rpm} pour la commande @command{guix pack} > > > Vous pouvez désormais produire une archive RPM (avec l'extension .rpm) > avec la commande @command{guix pack --format=rpm} qui propose donc une > nouvelle manière de distribuer les logiciels construits avec > Guix. Voici un exemple permettant de générer une archive RPM pour le > paquet @code{hello} : > > @example > guix pack --format=rpm --symlink=/usr/bin/hello=bin/hello hello > @end example > > Consultez @command{info \"(guix.fr) Invoquer guix pack\"} pour plus d'informations. Merci! Intégré comme suit dans ma branche locale: --8<---------------cut here---------------start------------->8--- 1 file changed, 16 insertions(+), 3 deletions(-) etc/news.scm | 19 ++++++++++++++++--- modified etc/news.scm @@ -4,7 +4,7 @@ ;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr> ;; Copyright © 2019, 2020 Miguel Ángel Arruga Vivas <rosen644835@gmail.com> ;; Copyright © 2019, 2020 Konrad Hinsen <konrad.hinsen@fastmail.net> -;; Copyright © 2019, 2020, 2021 Julien Lepiller <julien@lepiller.eu> +;; Copyright © 2019, 2020, 2021, 2023 Julien Lepiller <julien@lepiller.eu> ;; Copyright © 2019–2023 Florian Pelz <pelzflorian@pelzflorian.de> ;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org> ;; Copyright © 2020, 2021 Mathieu Othacehe <m.othacehe@gmail.com> @@ -28,7 +28,8 @@ (entry (commit "63622d2a234b707be5df07d8290a81b3247947e7") (title - (en "New @samp{rpm} format for the @command{guix pack} command")) + (en "New @samp{rpm} format for the @command{guix pack} command") + (fr "Nouveau format @samp{rpm} pour la commande @command{guix pack}")) (body (en "RPM archives (with the .rpm file extension) can now be produced via the @command{guix pack --format=rpm} command, providing an alternative @@ -39,7 +40,19 @@ guix pack --format=rpm --symlink=/usr/bin/hello=bin/hello hello @end example -See @command{info \"(guix) Invoking guix pack\"} for more information."))) +See @command{info \"(guix) Invoking guix pack\"} for more information.") + (fr "Vous pouvez désormais produire une archive RPM (avec l'extension +.rpm) avec la commande @command{guix pack --format=rpm} qui propose +donc une nouvelle manière de distribuer les logiciels construits avec +Guix. Voici un exemple permettant de générer une archive RPM pour le +paquet @code{hello} : + +@example +guix pack --format=rpm --symlink=/usr/bin/hello=bin/hello hello +@end example + +Consultez @command{info \"(guix.fr) Invoquer guix pack\"} pour plus +d'informations."))) (entry (commit "137b91f03bbb7f1df71cf10c4f79ae57fbcea400") (title --8<---------------cut here---------------end--------------->8---
diff --git a/etc/news.scm b/etc/news.scm index 211a176170..1eefdd1636 100644 --- a/etc/news.scm +++ b/etc/news.scm @@ -9,7 +9,7 @@ ;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org> ;; Copyright © 2020, 2021 Mathieu Othacehe <m.othacehe@gmail.com> ;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> -;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;; Copyright © 2021 Leo Famulari <leo@famulari.name> ;; Copyright © 2021 Zhu Zihao <all_but_last@163.com> ;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com> @@ -26,6 +26,21 @@ (channel-news (version 0) + (entry (commit "63622d2a234b707be5df07d8290a81b3247947e7") + (title + (en "New @samp{rpm} format for the @command{guix pack} command")) + (body + (en "RPM archives (with the .rpm file extension) can now be produced +via the @command{guix pack --format=rpm} command, providing an alternative +distribution path for software built with Guix. Here is a simple example that +generates an RPM archive for the @code{hello} package: + +@example +guix pack --format=rpm --symlink=/usr/bin/hello=bin/hello hello +@end example + +See @command{info \"(guix) Invoking guix pack\"} for more information."))) + (entry (commit "137b91f03bbb7f1df71cf10c4f79ae57fbcea400") (title (en "New @option{--with-version} package transformation option")