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
..
2020-05-04 09:56:12 +02:00
2020-12-21 17:47:35 +01:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-06-05 22:54:06 +02:00
2020-06-05 22:54:06 +02:00
2021-06-03 13:05:18 +02:00
2021-03-06 11:41:48 +01:00
2020-12-09 22:25:17 +01:00
2021-07-18 01:57:17 -04:00
2021-04-12 18:42:22 +02:00
2021-08-20 12:41:54 +02:00
2021-05-16 23:28:11 +02:00
2021-08-12 12:34:13 +02:00
2020-05-04 09:56:12 +02:00
2021-03-06 11:41:48 +01:00
2019-06-14 21:57:39 +02:00
2021-02-03 12:41:28 +01:00