guix-play/guix
Ludovic Courtès 4a1fc562ae
publish: Add '--compression'.
* guix/scripts/publish.scm (show-help, %options): Add '--compression'.
(<compression>): New record type.
(%no-compression, %default-gzip-compression): New variables.
(%default-options): Add 'compression' key.
(narinfo-string): Add #:compression parameter and honor it.
(render-narinfo): Likewise.
(render-nar): Likewise.
<top level>: Add call to 'declare-header!'.
(swallow-zlib-error): New macro.
(nar-response-port): New procedure.
(http-write): Add call to 'force-output'.  Use 'nar-response-port'
instead of 'response-port'.  Use 'swallow-zlib-error'.
(make-request-handler): Add #:compression parameter and honor it.  Add
"nar/gzip" URL handler.
(run-publish-server): Add #:compression parameter and honor it.
(guix-publish): Honor --compression.
* tests/publish.scm (http-get-port, wait-until-ready): New procedures.
<top level>: Run main server with "-C0".  Call 'wait-until-ready'.
("/nar/gzip/*", "/*.narinfo with compression"): New tests.
* doc/guix.texi (Invoking guix publish): Document it.
2016-07-19 00:07:12 +02:00
..
build guix: Support authentication when fetching from SVN. 2016-07-03 18:55:30 +02:00
build-system guix: python-build-system: Change pypi-uri to use https://pypi.io. 2016-06-25 20:49:59 +08:00
import import: cpan: Use our mirrors for 'https' URLs. 2016-07-03 23:58:29 +02:00
scripts publish: Add '--compression'. 2016-07-19 00:07:12 +02:00
base32.scm
base64.scm
build-system.scm
combinators.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
config.scm.in Add (guix zlib). 2016-07-19 00:07:12 +02:00
cpio.scm
cve.scm cve: Use a more compact format for the list of package/versions. 2016-05-28 01:07:12 +02:00
cvs-download.scm download: Use 'with-imported-modules'. 2016-07-12 22:47:08 +02:00
derivations.scm derivations: 'derivation' sorts items in the resulting object. 2016-05-21 01:35:14 +02:00
download.scm download: Attempt to update SourceForge mirror URLs. 2016-07-13 00:32:36 +02:00
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm gexp: 'program-file' and 'gexp->script' no longer have #:modules. 2016-07-12 22:47:08 +02:00
git-download.scm download: Use 'with-imported-modules'. 2016-07-12 22:47:08 +02:00
gnu-maintenance.scm gnu-maintenance: Replace 'find-packages' with 'find-package' (singular). 2016-06-08 19:07:58 +02:00
gnupg.scm
grafts.scm grafts: Create only one grafted variant of each derivation. 2016-05-25 23:33:56 +02:00
graph.scm graph: Add 'node-reachable-count'. 2016-05-24 00:06:01 +02:00
hash.scm
hg-download.scm download: Use 'with-imported-modules'. 2016-07-12 22:47:08 +02:00
http-client.scm http-client: No 'setvbuf' for non-file ports. 2016-03-16 11:27:37 +01:00
licenses.scm licenses: Add the nmap license. 2016-03-31 01:40:30 -04:00
monad-repl.scm
monads.scm
nar.scm utils: Move 'fcntl-flock' to (guix build syscalls). 2016-05-06 13:25:30 +02:00
packages.scm packages: <origin> no longer has an 'imported-modules' field. 2016-07-12 22:47:08 +02:00
pk-crypto.scm
pki.scm
profiles.scm profiles: Use 'with-imported-modules'. 2016-07-12 22:47:08 +02:00
records.scm records: Improve reporting of invalid field specifiers. 2016-07-14 19:07:07 +02:00
scripts.scm
search-paths.scm
serialization.scm serialization: Add #:select? parameter to 'write-file'. 2016-06-12 23:55:22 +02:00
sets.scm
store.scm build: Substitute URLs now default to "mirror.hydra.gnu.org" alone. 2016-07-16 14:41:39 +02:00
svn-download.scm download: Use 'with-imported-modules'. 2016-07-12 22:47:08 +02:00
tests.scm tests: Narinfos can specify an non-empty reference list. 2016-03-05 00:19:10 +01:00
ui.scm ui: 'string->duration' supports hours and seconds. 2016-06-09 23:34:56 +02:00
upstream.scm import: Gracefully report import failures. 2016-05-17 14:02:48 +02:00
utils.scm utils: 'cache-directory' always appends "/guix". 2016-06-25 01:13:23 +02:00
zlib.scm Add (guix zlib). 2016-07-19 00:07:12 +02:00