Ludovic Courtès 24f5aaaf24 substitute: Honor "substitute-urls" option passed by "untrusted" clients.
* guix/scripts/substitute.scm (or*): New macro.
  (%cache-url): Honor "untrusted-substitute-urls".
* guix/tests.scm (%test-substitute-urls): New variable.
  (open-connection-for-tests): Use it.
* tests/derivations.scm ("derivation-prerequisites-to-build and substitutes",
  "derivation-prerequisites-to-build and substitutes, non-substitutable
  build", "derivation-prerequisites-to-build and substitutes, local build"):
  Pass it to 'set-build-options'.
* tests/guix-daemon.sh: Likewise.
* tests/store.scm ("substitute query, alternating URLs"): New test.
  ("substitute query", "substitute", "substitute + build-things with output
  path", "substitute, corrupt output hash", "substitute --fallback"): Pass
  #:substitute-urls to 'set-build-options'.
2015-07-13 18:29:01 +02:00
..
2015-06-24 18:05:03 +02:00
2015-05-19 16:09:58 +02:00
2014-02-21 23:49:52 +01:00
2015-04-13 00:02:59 +02:00
2015-06-24 18:05:03 +02:00
2014-03-31 23:34:20 +02:00
2015-04-04 14:16:43 -04:00
2015-06-24 22:47:59 +02:00
2015-01-11 23:50:01 +01:00
2015-06-18 00:36:09 +02:00
2014-09-29 19:30:28 -04:00