[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: import: Order importers alphabetically in ‘--help’ output.
From: |
guix-commits |
Subject: |
01/06: import: Order importers alphabetically in ‘--help’ output. |
Date: |
Sun, 1 Sep 2024 13:02:37 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit a3c0f245be5c26b82eb3e40471c2daf2523323b0
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Aug 18 02:00:00 2024 +0200
import: Order importers alphabetically in ‘--help’ output.
I'd rather keep the list sorted than call SORT at run time.
We can still switch if committers remain incorrigible.
* guix/scripts/import.scm (importers): Sort.
Change-Id: If358b2d5de2912a33989d776476e9cf4d0b80537
---
guix/scripts/import.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm
index d724f2bca3..bbf31baa15 100644
--- a/guix/scripts/import.scm
+++ b/guix/scripts/import.scm
@@ -47,9 +47,11 @@
;;; Entry point.
;;;
-(define importers '("gnu" "pypi" "cpan" "hackage" "stackage" "egg" "elpa"
- "gem" "go" "cran" "crate" "texlive" "json" "opam"
- "minetest" "elm" "hexpm" "composer" "npm-binary"))
+;; The list of all known importers. These are printed in order by SHOW-HELP,
so
+;; please keep this list alphabetically sorted!
+(define importers '("composer" "cpan" "cran" "crate" "egg" "elm" "elpa"
+ "gem" "gnu" "go" "hackage" "hexpm" "json" "minetest"
+ "npm-binary" "opam" "pypi" "stackage" "texlive"))
(define (resolve-importer name)
(let ((module (resolve-interface
- branch master updated (f88a946249 -> a977900d76), guix-commits, 2024/09/01
- 02/06: gnu: Add rust-bitfield., guix-commits, 2024/09/01
- 03/06: gnu: rust-rustix@0.38: Update to 0.38.34., guix-commits, 2024/09/01
- 01/06: import: Order importers alphabetically in ‘--help’ output.,
guix-commits <=
- 06/06: gnu: python-mpv: Update to 1.0.7., guix-commits, 2024/09/01
- 04/06: gnu: Add rust-libudev-sys., guix-commits, 2024/09/01
- 05/06: gnu: Add rust-udev., guix-commits, 2024/09/01