guix/tests
Ludovic Courtès 0043558082 publish: Do not publish nars for invalid store items.
Before that, /nar requests could succeed if the requested store item
exists but is invalid (although such requests were unlikely because the
corresponding narinfo request would have failed.)

* guix/scripts/publish.scm (render-nar): Add 'store' parameter.  Use
'valid-path?' instead of 'file-exists?'.
(make-request-handler): Adjust 'render-nar' call accordingly.
* tests/publish.scm ("/nar/invalid"): New test.
2016-02-25 12:44:41 +01:00
..
base32.scm
base64.scm
build-utils.scm
builders.scm
challenge.scm
containers.scm
cpan.scm
cpio.scm
cran.scm tests: Move beatify-description tests to import-tests. 2016-01-20 22:06:25 +10:00
cve-sample.xml
cve.scm
derivations.scm derivations: Move grafts to (guix grafts). 2016-02-22 22:11:37 +01:00
elpa.scm
file-systems.scm
gem.scm import: gem: Beautify only the description, not the synopsis. 2016-01-20 21:52:52 +10:00
gexp.scm
gnu-maintenance.scm
grafts.scm grafts: 'name' parameter of 'graft-derivation' is now optional. 2016-02-22 22:11:37 +01:00
graph.scm tests: Use sed instead of grep as a package with no dependencies. 2016-01-13 18:19:01 +01:00
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build.sh guix build: Add '--with-input'. 2016-02-01 08:59:13 +01:00
guix-daemon.sh
guix-download.sh
guix-environment-container.sh scripts: environment: Build environments as profiles. 2016-02-12 22:02:06 +01:00
guix-environment.sh scripts: environment: Build environments as profiles. 2016-02-12 22:02:06 +01:00
guix-gc.sh
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-package-net.sh
guix-package.sh
guix-register.sh
guix-system.sh services: Rename 'dmd' services to 'shepherd'. 2016-01-29 20:21:53 +03:00
hackage.scm
hash.scm
import-utils.scm tests: Move beatify-description tests to import-tests. 2016-01-20 22:06:25 +10:00
lint.scm tests: Use 'dummy-origin' for lint tests when possible. 2016-01-28 16:31:38 +01:00
monads.scm
nar.scm
packages.scm grafts: 'name' parameter of 'graft-derivation' is now optional. 2016-02-22 22:11:37 +01:00
pk-crypto.scm
pki.scm
profiles.scm
publish.scm publish: Do not publish nars for invalid store items. 2016-02-25 12:44:41 +01:00
pypi.scm
records.scm
scripts-build.scm guix build: Add '--with-input'. 2016-02-01 08:59:13 +01:00
scripts.scm
services.scm services: Rename 'dmd' services to 'shepherd'. 2016-01-29 20:21:53 +03:00
sets.scm
signing-key.pub
signing-key.sec
size.scm
snix.scm
store.scm store: Add monadic access to '%current-system'. 2016-02-12 21:54:25 +01:00
substitute.scm
syscalls.scm
system.scm system: grub: Search root device by label or UUID if possible. 2016-01-22 00:02:52 +01:00
test.drv
ui.scm
union.scm
utils.scm utils: Add 'ensure-keyword-arguments'. 2016-01-06 23:08:22 +01:00