[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: news: Add news entry about 'guix style'.
From: |
guix-commits |
Subject: |
06/06: news: Add news entry about 'guix style'. |
Date: |
Mon, 10 Jan 2022 09:01:59 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 0976e92a0f014a7cf4d126b58f334103c814d648
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jan 10 14:58:18 2022 +0100
news: Add news entry about 'guix style'.
* etc/news.scm: Add entry.
---
etc/news.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/etc/news.scm b/etc/news.scm
index dbbaace398..fa7c8d6dee 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -25,6 +25,38 @@
(channel-news
(version 0)
+ (entry (commit "c4fe13c294cc1e31dd8a49ce3981f603fb169e0a")
+ (title
+ (en "@command{guix style} can format package definitions")
+ (fr "@command{guix style} peut mettre en forme les définitions de
paquets"))
+ (body
+ (en "The recently-introduced @command{guix style} command can now be
+used to automatically format package definitions according to the Guix
+project's formatting guidelines. If you contribute packages to Guix or to a
+third-party channel, you may find it useful.
+
+The new @option{--styling} option can currently be passed one of the following
+@dfn{styling rules}: @code{format}, to format package definitions, or
+@code{inputs}, to remove labels from package inputs. Omitting
+@option{--styling} is equivalent to passing @samp{--styling=format};
+previously it was equivalent to @samp{--styling=inputs}.
+
+Run @code{info \"(guix) Invoking guix style\"}, for more info.")
+ (fr "La commande @command{guix style}, récemment introduite, peut
+désormais être utiliser pour mettre en forme des définitions de paquets
+suivant les règles de style du projet Guix. Si vous contribuez des paquets à
+Guix ou à un canal tiers, cela peut vous être utile.
+
+La nouvelle option @option{--style} peut pour le moment recevoir une des deux
+@dfn{règles de style} suivantes : @code{format}, pour mettre en forme les
+définitions de paquet, ou @code{inputs}, pour retirer les étiquettes des
+champs @code{inputs} des paquets. Omettre @option{--styling} revient à passer
+@samp{--styling=format} ; auparavant c'était équivalent à
+@samp{--styling=inputs}.
+
+Lancer @command{info \"(guix.fr) Invoquer guix style\"}, pour plus
+d'informations.")))
+
(entry (commit "d090e9c37d693f5a0f381482c17fb03462cb6a48")
(title
(en "New @option{--tune} option for CPU micro-architecture tuning")
- branch master updated (3dcc74d3ae -> 0976e92a0f), guix-commits, 2022/01/10
- 02/06: style: Allow special forms to be scoped., guix-commits, 2022/01/10
- 01/06: style: Improve pretty printer and add tests., guix-commits, 2022/01/10
- 03/06: style: Add support for "newline forms"., guix-commits, 2022/01/10
- 04/06: style: Add '--styling' option., guix-commits, 2022/01/10
- 06/06: news: Add news entry about 'guix style'.,
guix-commits <=
- 05/06: style: '-S format' canonicalizes comments., guix-commits, 2022/01/10