Alice BRENON fc29c80b96
guix: opam: More flexibility in the importer.
* guix/scripts/import/opam.scm: Pass all instances of --repo as a list
  to the importer.
* guix/import/opam.scm (opam-fetch): Stop expecting "expanded"
  repositories and call get-opam-repository instead to keep values
  "symbolic" as long as possible and factorize.
  (get-opam-repository): Use the same repository source as CLI opam does
  (i.e. HTTP-served index.tar.gz instead of git repositories).
  (find-latest-version): Be more flexible on the repositories structure
  instead of expecting packages/PACKAGE-NAME/PACKAGE-NAME.VERSION/.
* tests/opam.scm: Update the call to opam->guix-package since repo is
  now expected to be a list and remove the mocked get-opam-repository
  deprecated by the support for local folders by the actual
  implementation.
* doc/guix.texi: Document the new semantics and valid arguments for the
  --repo option.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-08-21 00:05:21 +02:00
..
2021-03-06 11:41:48 +01:00
2021-07-16 19:48:24 +02:00
2021-07-04 04:35:35 +02:00
2021-01-04 23:54:16 +01:00
2020-12-09 22:25:17 +01:00
2021-01-04 23:54:16 +01:00
2021-01-04 23:54:16 +01:00
2021-04-12 18:42:22 +02:00
2020-12-19 23:25:01 +01:00
2021-08-12 12:34:13 +02:00
2021-05-11 12:49:53 +02:00
2021-06-14 18:35:18 +02:00