GNU bug report logs - #41867
[PATCH] news: Add entry for script execution via "guix repl".

Previous Next

Package: guix-patches;

Reported by: Konrad Hinsen <konrad.hinsen <at> fastmail.net>

Date: Mon, 15 Jun 2020 07:36:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41867 in the body.
You can then email your comments to 41867 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#41867; Package guix-patches. (Mon, 15 Jun 2020 07:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konrad Hinsen <konrad.hinsen <at> fastmail.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 15 Jun 2020 07:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] news: Add entry for script execution via "guix repl".
Date: Mon, 15 Jun 2020 09:35:08 +0200
* etc/news.scm: Add entry.
---
 etc/news.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/etc/news.scm b/etc/news.scm
index 6bf88ccb44..0e72c5cceb 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -13,6 +13,45 @@
 (channel-news
  (version 0)
 
+ (entry (commit "c924e541390f9595d819edc33c19d979917c15ec")
+        (title (en "@command{guix repl} adds support for running Guile scripts")
+               (de "@command{guix repl} kann Guile-Skripte ausführen")
+               (fr "@command{guix repl} permet d'exécuter des scripts en langage Guile"))
+        (body
+         (en "The @command{guix repl} command can now be used to run
+Guile scripts.  Compared to just launching the @command{guile} command,
+@command{guix repl} guarantees that all the Guix modules and all its
+dependencies are available in the search path.  Scripts are run like this:
+
+@example
+guix repl -- my-script,scm --option1 --option2=option-arg arg1 arg2
+@end example
+
+Run @command{info \"(guix) Invoking guix repl\"} for more information.")
+         (de "Der Befehl @command{guix repl} kann jetzt zur Ausführung von
+Guile-Skripten verwendet werden.  Im Vergleich zum Befehl
+@command{guile} garantiert @command{guix repl}, dass alle Guix-Module und
+alle seine Abhängigkeiten im Suchpfad verfügbar sind.  Skripte werden wie
+folgt ausgeführt:
+
+@Beispiel
+guix repl -- my-script,scm --option1 --option2 --option2=option-arg arg1 arg2
+@End-Beispiel
+
+Weitere Informationen erhalten Sie mit
+@command{info \"(guix) ausführen und guix repl\"}.")
+         (fr "La commande @command{guix repl} peut maintenant être utilisée
+pour exécuter des scripts en langage Guile.  Par rapport au simple lancement
+de la commande @command{guile}, @command{guix repl} garantit que tous les
+modules Guix et toutes ses dépendances sont disponibles dans le chemin
+de recherche.  Les scripts sont exécutés comme ceci :
+
+@exemple
+guix repl -- my-script,scm --option1 --option2=option-arg arg1 arg2
+Exemple @end
+
+Exécutez @command{info \"(guix) Invoquant guix repl\"} pour plus d'informations.")))
+
  (entry (commit "b460ba7992a0b4af2ddb5927dcf062784539ef7b")
         (title (en "Add support to boot from a Btrfs subvolume")
                (de "Unterstützung für Systemstart von einem
-- 
2.26.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 15 Jun 2020 07:53:02 GMT) Full text and rfc822 format available.

Notification sent to Konrad Hinsen <konrad.hinsen <at> fastmail.net>:
bug acknowledged by developer. (Mon, 15 Jun 2020 07:53:02 GMT) Full text and rfc822 format available.

Message #10 received at 41867-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
Cc: 41867-done <at> debbugs.gnu.org
Subject: Re: [bug#41867] [PATCH] news: Add entry for script execution via
 "guix repl".
Date: Mon, 15 Jun 2020 09:51:58 +0200
[Message part 1 (text/plain, inline)]
Morning,

Konrad Hinsen <konrad.hinsen <at> fastmail.net> skribis:

> * etc/news.scm: Add entry.

Applied with the changes below, thanks!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/etc/news.scm b/etc/news.scm
index 0e72c5cceb..d037734013 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -34,23 +34,23 @@ Guile-Skripten verwendet werden.  Im Vergleich zum Befehl
 alle seine Abhängigkeiten im Suchpfad verfügbar sind.  Skripte werden wie
 folgt ausgeführt:
 
-@Beispiel
+@example
 guix repl -- my-script,scm --option1 --option2 --option2=option-arg arg1 arg2
-@End-Beispiel
+@end example
 
 Weitere Informationen erhalten Sie mit
-@command{info \"(guix) ausführen und guix repl\"}.")
+@command{info \"(guix.de) Aufruf von guix repl\"}.")
          (fr "La commande @command{guix repl} peut maintenant être utilisée
 pour exécuter des scripts en langage Guile.  Par rapport au simple lancement
 de la commande @command{guile}, @command{guix repl} garantit que tous les
 modules Guix et toutes ses dépendances sont disponibles dans le chemin
 de recherche.  Les scripts sont exécutés comme ceci :
 
-@exemple
+@example
 guix repl -- my-script,scm --option1 --option2=option-arg arg1 arg2
-Exemple @end
+@end example
 
-Exécutez @command{info \"(guix) Invoquant guix repl\"} pour plus d'informations.")))
+Exécutez @command{info \"(guix.fr) Invoquer guix repl\"} pour plus d'informations.")))
 
  (entry (commit "b460ba7992a0b4af2ddb5927dcf062784539ef7b")
         (title (en "Add support to boot from a Btrfs subvolume")

Information forwarded to guix-patches <at> gnu.org:
bug#41867; Package guix-patches. (Tue, 16 Jun 2020 08:26:01 GMT) Full text and rfc822 format available.

Message #13 received at 41867 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Konrad Hinsen <konrad.hinsen <at> fastmail.net>, 41867 <at> debbugs.gnu.org
Subject: Re: [bug#41867] [PATCH] news: Add entry for script execution via
 "guix repl".
Date: Tue, 16 Jun 2020 10:25:28 +0200
Dear Konrad,

On Mon, 15 Jun 2020 at 09:35, Konrad Hinsen <konrad.hinsen <at> fastmail.net> wrote:
> * etc/news.scm: Add entry.

[...]

> +@example
> +guix repl -- my-script,scm --option1 --option2=option-arg arg1 arg2
> +@end example

That's awesome!!
Thank you.

All the best,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 14 Jul 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.