diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-21T16·05+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-21T16·05+0000 |
commit | 1a9a1f2768bac5defe4c2e39e5a9ccdee0e05d55 (patch) | |
tree | d3d0269ae4b2392edd5b547215fa527283c70725 /doc/manual/nix-push.xml | |
parent | cc0505f033f9d7f55837dca7b3bb4fb3d2969afb (diff) |
* Convert to DocBook 5.
* Use Jing for RelaxNG validation, xmllint seems buggy.
Diffstat (limited to 'doc/manual/nix-push.xml')
-rw-r--r-- | doc/manual/nix-push.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/manual/nix-push.xml b/doc/manual/nix-push.xml index f683784ada91..0b2a368e9f02 100644 --- a/doc/manual/nix-push.xml +++ b/doc/manual/nix-push.xml @@ -1,4 +1,5 @@ -<refentry> +<refentry xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>nix-push</refname> @@ -62,14 +63,15 @@ machines using the <command>nix-pull</command> command.</para> specified by <replaceable>archivesPutURL</replaceable>. HTTP PUT requests are used to do this. However, before a file <varname>x</varname> is uploaded to - <literal><replaceable>archivesPutURL</replaceable>/<varname>x</varname></literal>, + <literal><replaceable>archivesPutURL</replaceable>/</literal><varname>x</varname>, <command>nix-push</command> first determines whether this upload is unnecessary by issuing a HTTP HEAD request on - <literal><replaceable>archivesGetURL</replaceable>/<varname>x</varname></literal>. + <literal><replaceable>archivesGetURL</replaceable>/</literal><varname>x</varname>. This allows a cache to be shared between many partially overlapping <command>nix-push</command> invocations. (We use two URLs because the upload URL typically refers to a CGI script, while the download - URL just refers to a file system directory on the server.)</para></listitem> + URL just refers to a file system directory on the + server.)</para></listitem> <listitem><para>The manifest is uploaded using an HTTP PUT request to <replaceable>manifestPutURL</replaceable>. The corresponding |