diff mbox series

[bug#61255,v2,8/8] news: Add entry for the new 'rpm' guix pack format.

Message ID 20230217014938.20919-9-maxim.cournoyer@gmail.com
State New
Headers show
Series Add support for the RPM format to "guix pack" | expand

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

Julien Lepiller Feb. 17, 2023, 6:34 a.m. UTC | #1
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")
pelzflorian (Florian Pelz) Feb. 17, 2023, 3:12 p.m. UTC | #2
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
Maxim Cournoyer Feb. 17, 2023, 5:32 p.m. UTC | #3
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 mbox series

Patch

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")