guix-play/guix/scripts
Ludovic Courtès ff6638d112
publish: Handle '/file' URLs, for content-addressed files.
* guix/scripts/publish.scm (render-content-addressed-file): New procedure.
(http-write): Add 'application/octet-stream' case.
(make-request-handler): Add /file/NAME/sha256/HASH URLs.
* tests/publish.scm ("/file/NAME/sha256/HASH")
("/file/NAME/sha256/INVALID-NIX-BASE32-STRING")
("/file/NAME/sha256/INVALID-HASH"): New tests.
* doc/guix.texi (Invoking guix publish): Mention the /file URLs.
2016-07-20 16:54:31 +02:00
..
container scripts: container: Fix 'exec' command line parsing. 2015-11-03 18:05:43 -05:00
import utils: Use '@' for separating package names and version numbers. 2016-03-02 21:41:41 +01:00
archive.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
authenticate.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
build.scm guix build: Catch 'getaddrinfo-error' for '--log-file'. 2016-05-14 16:56:21 +02:00
challenge.scm challenge: Disable grafting. 2016-07-14 19:07:07 +02:00
container.scm scripts: Add 'container' subcommand. 2015-11-01 18:20:04 -05:00
download.scm guix download: Honor the number of columns of the terminal. 2016-04-15 00:32:18 +02:00
edit.scm edit: Don't assume that an emacs daemon is running. 2015-12-06 17:23:25 +01:00
environment.scm store: 'requisites' now takes a list of store items. 2016-05-24 23:35:28 +02:00
gc.scm guix gc: Display of saved space for garbage collection. 2016-07-16 14:41:39 +02:00
graph.scm graph: Allow store file names for 'derivation' and 'references' graphs. 2016-05-21 01:35:14 +02:00
hash.scm Add (guix scripts). 2015-09-18 21:42:06 +03:00
import.scm import: Gracefully report import failures. 2016-05-17 14:02:48 +02:00
lint.scm lint: 'validate-uri' reports suspiciously small 200 responses. 2016-07-13 00:50:05 +02:00
offload.scm offload: Use (guix build syscalls). 2016-05-31 18:22:14 +02:00
package.scm guix package: Inherit the transformed version number. 2016-05-27 22:05:34 +02:00
publish.scm publish: Handle '/file' URLs, for content-addressed files. 2016-07-20 16:54:31 +02:00
pull.scm utils: Add 'switch-symlinks', moved from (guix ui). 2015-10-27 00:01:20 +01:00
refresh.scm refresh: Make 'list-dependents' a monadic procedure. 2016-05-24 00:06:01 +02:00
size.scm size: Pass 'requisites' a list of items. 2016-05-24 23:41:30 +02:00
substitute.scm substitute: Gracefully handle trailing slashes in URLs. 2016-07-14 19:07:07 +02:00
system.scm gexp: Remove more uses of #:modules. 2016-07-12 22:47:08 +02:00