[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55242] [PATCH 10/10] guix: import: go: Better handling of /v2 in th
From: |
Maxime Devos |
Subject: |
[bug#55242] [PATCH 10/10] guix: import: go: Better handling of /v2 in the module path. |
Date: |
Mon, 09 May 2022 22:39:38 +0200 |
User-agent: |
Evolution 3.38.3-1 |
Attila Lendvai schreef op di 03-05-2022 om 13:43 [+0200]:
> +(define *module-path->import-path*
In (Guile) Scheme (at least as used in the Scheme code I've seen),
*earmuffs* are typically used for mutable variables, not for global
constants. Though guix/self.scm uses *system-modules* for not-really-
constant-but-not-mutated lexical variables so maybe ...
FWIW, I would write (define %module-path->import-path ...) here, not
that it really matters.
> + ;; There's no other way to derive this information, at least that I know
> of.
> + '(("github.com/google/go-cmp" . "github.com/google/go-cmp/cmp")
> + ("github.com/sergi/go-diff" . "github.com/sergi/go-diff/diffmatchpatch")
> + ("github.com/davecgh/go-spew" . "github.com/davecgh/go-spew/spew")
> + ("github.com/beorn7/perks" . "github.com/beorn7/perks/quantile")
> + ("github.com/census-instrumentation/opencensus-proto" .
> + "github.com/census-instrumentation/opencensus-proto/gen-go")))
About the ‘is this controversional’ bit: these kind of mappings and
sets have precedent, see e.g. 'known-vcs' in (guix import cran),
%builtin-mods in (guix import minetest), default-r-packages in (guix
import cran).
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., (continued)
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/03
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Attila Lendvai, 2022/05/09
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/09
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Attila Lendvai, 2022/05/09
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/09
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/03
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/03
- [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging., Maxime Devos, 2022/05/03
[bug#55242] [PATCH 09/10] guix: import: go: module-name -> module-path to be consistent, Attila Lendvai, 2022/05/03
[bug#55242] [PATCH 10/10] guix: import: go: Better handling of /v2 in the module path., Attila Lendvai, 2022/05/03
- [bug#55242] [PATCH 10/10] guix: import: go: Better handling of /v2 in the module path.,
Maxime Devos <=
[bug#55242] [PATCH 04/10] guix: import: go: Fix the interpretation of the replace directive., Attila Lendvai, 2022/05/03
[bug#55242] [PATCH 08/10] guix: import: go: Modules in a subdir and prefixed tags., Attila Lendvai, 2022/05/03