unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58621] [PATCH 0/3] import/utils: spdx-string->license: Match case-insensitively and support '+' operator.
@ 2022-10-19  4:55 Philip McGrath
  2022-10-19  5:04 ` [bug#58621] [PATCH 1/3] import/utils: spdx-string->license: Fix incorrect docstring Philip McGrath
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Philip McGrath @ 2022-10-19  4:55 UTC (permalink / raw)
  To: 58621; +Cc: Philip McGrath

Hi,

This patch series changes 'spdx-string->license' to match SPDX license
identifiers case-insensitively (as the specification instructs) and
generalizes support for the '+' operator. It also corrects the docstring.

My concrete motivation is to more completely translate Racket's "license
S-expressions":
https://docs.racket-lang.org/pkg/metadata.html#(tech._license._s._expression)
For example, this package, which is part of the main Racket distribution, uses
the '+' operator: https://pkgs.racket-lang.org/package/scribble-lib

(In turn, my impetus for proposing license S-expressions for Racket was to be
able to use them in 'guix import racket'.)

 -Philip

Philip McGrath (3):
  import/utils: spdx-string->license: Fix incorrect docstring.
  import/utils: spdx-string->license: Match case-insensitively.
  import/utils: spdx-string->license: Support '+' operator.

 guix/import/utils.scm | 261 ++++++++++++++++++++++--------------------
 1 file changed, 140 insertions(+), 121 deletions(-)


base-commit: 3bb145b6e2a8c84e7739ead9ae76dc4d42bb9850
-- 
2.38.0





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

end of thread, other threads:[~2022-11-20 10:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-19  4:55 [bug#58621] [PATCH 0/3] import/utils: spdx-string->license: Match case-insensitively and support '+' operator Philip McGrath
2022-10-19  5:04 ` [bug#58621] [PATCH 1/3] import/utils: spdx-string->license: Fix incorrect docstring Philip McGrath
2022-10-19  5:04 ` [bug#58621] [PATCH 2/3] import/utils: spdx-string->license: Match case-insensitively Philip McGrath
2022-10-19  5:04 ` [bug#58621] [PATCH 3/3] import/utils: spdx-string->license: Support '+' operator Philip McGrath
2022-11-18 13:45   ` bug#58621: [PATCH 0/3] import/utils: spdx-string->license: Match case-insensitively and support " Ludovic Courtès
2022-11-18 20:21     ` [bug#58621] " Philip McGrath
2022-11-20 10:49       ` 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).