unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49780] [PATCH 00/14] import: Use PARSE-COMMAND-LINE for options.
@ 2021-07-30  3:51 Sarah Morgensen
  2021-07-30  3:54 ` [bug#49780] [PATCH 01/14] import: go: " Sarah Morgensen
                   ` (15 more replies)
  0 siblings, 16 replies; 20+ messages in thread
From: Sarah Morgensen @ 2021-07-30  3:51 UTC (permalink / raw)
  To: 49780

Hello Guix,

I noticed that we have an ARGS-FOLD* wrapper called PARSE-COMMAND-LINE which has
the same invalid argument message as the importers, the same argument handler,
and has an option hint feature. So let's use that in the importers.

The change is identical across all importers, and the semantics as far as return
value are identical, so this should just be a drop-in.

--
Sarah Morgensen (14):
  import: go: Use PARSE-COMMAND-LINE for options.
  import: egg: Use PARSE-COMMAND-LINE for options.
  import: gem: Use PARSE-COMMAND-LINE for options.
  import: gnu: Use PARSE-COMMAND-LINE for options.
  import: cpan: Use PARSE-COMMAND-LINE for options.
  import: cran: Use PARSE-COMMAND-LINE for options.
  import: elpa: Use PARSE-COMMAND-LINE for options.
  import: json: Use PARSE-COMMAND-LINE for options.
  import: opam: Use PARSE-COMMAND-LINE for options.
  import: pypi: Use PARSE-COMMAND-LINE for options.
  import: crate: Use PARSE-COMMAND-LINE for options.
  import: texlive: Use PARSE-COMMAND-LINE for options.
  import: hackage: Use PARSE-COMMAND-LINE for options.
  import: stackage: Use PARSE-COMMAND-LINE for options.

 guix/scripts/import/cpan.scm     |  9 +++------
 guix/scripts/import/cran.scm     |  9 +++------
 guix/scripts/import/crate.scm    | 10 +++-------
 guix/scripts/import/egg.scm      |  9 +++------
 guix/scripts/import/elpa.scm     |  9 +++------
 guix/scripts/import/gem.scm      |  9 +++------
 guix/scripts/import/gnu.scm      |  9 +++------
 guix/scripts/import/go.scm       |  9 +++------
 guix/scripts/import/hackage.scm  |  9 +++------
 guix/scripts/import/json.scm     |  9 +++------
 guix/scripts/import/opam.scm     |  9 +++------
 guix/scripts/import/pypi.scm     |  9 +++------
 guix/scripts/import/stackage.scm |  9 +++------
 guix/scripts/import/texlive.scm  |  9 +++------
 14 files changed, 42 insertions(+), 85 deletions(-)


base-commit: daeef2e7f4f36df7a098c9aee7c03546d8691d39
-- 
2.31.1





^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-08-31  8:48 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-30  3:51 [bug#49780] [PATCH 00/14] import: Use PARSE-COMMAND-LINE for options Sarah Morgensen
2021-07-30  3:54 ` [bug#49780] [PATCH 01/14] import: go: " Sarah Morgensen
2021-07-30  3:54 ` [bug#49780] [PATCH 02/14] import: egg: " Sarah Morgensen
2021-07-30  3:54 ` [bug#49780] [PATCH 03/14] import: gem: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 04/14] import: gnu: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 05/14] import: cpan: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 06/14] import: cran: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 07/14] import: elpa: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 08/14] import: json: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 09/14] import: opam: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 10/14] import: pypi: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 11/14] import: crate: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 12/14] import: texlive: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 13/14] import: hackage: " Sarah Morgensen
2021-07-30  3:55 ` [bug#49780] [PATCH 14/14] import: stackage: " Sarah Morgensen
2021-08-03 15:47 ` [bug#49780] [PATCH 00/14] import: " Ludovic Courtès
2021-08-03 18:54   ` Sarah Morgensen
2021-08-31  8:24   ` zimoun
2021-08-03 18:24 ` [bug#49780] [PATCH v2] " Sarah Morgensen
2021-08-04 15:01   ` bug#49780: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).