guix-devel/guix/scripts
Ludovic Courtès 30ce8012cd offload: '{send,receive}-files' wait for completion of the transfer.
Fixes situations where the remote 'guix build' is invoked before the
.drv has been completely copied, as reported at
<https://lists.gnu.org/archive/html/guix-devel/2014-04/msg00174.html>.

In some cases 'send-files' would return before the other end is done
importing the files, and so the subsequent 'guix build' invocation would
just miss the .drv file it refers to.

* guix/utils.scm (call-with-decompressed-port): Don't close PORT.
  (call-with-compressed-output-port): Likewise.
* tests/utils.scm ("compressed-output-port + decompressed-port"): Adjust
  accordingly.
* guix/scripts/offload.scm (send-files): Add explicit (close-pipe pipe)
  call.
  (retrieve-files): Likewise.
2014-04-14 00:24:24 +02:00
..
archive.scm pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'. 2014-04-04 00:23:17 +02:00
authenticate.scm authenticate: Support reading the hash or key from stdin. 2014-03-22 22:57:10 +01:00
build.scm guix build: Support '--with-source' along with '-e'. 2014-03-13 19:21:49 +01:00
download.scm Use `port-sha256' and `open-sha256-port'. 2013-07-03 01:18:24 +02:00
gc.scm ui: Add 'size->number'. 2014-04-08 22:01:44 +02:00
hash.scm guix hash: Add '--recursive'. 2014-02-21 23:49:52 +01:00
import.scm ui: Add `args-fold*' and use it. 2013-04-27 16:46:39 +02:00
offload.scm offload: '{send,receive}-files' wait for completion of the transfer. 2014-04-14 00:24:24 +02:00
package.scm guix package: Fix indentation of packages to remove. 2014-04-05 21:04:17 +02:00
pull.scm pull: Move build code to (guix build pull). 2013-12-16 23:26:48 +01:00
refresh.scm guix refresh: Keep only the newest versions of packages as upgrade candidates. 2013-07-11 19:56:30 +02:00
substitute-binary.scm substitute-binary: Avoid consing 'regexp-exec' arguments. 2014-04-01 23:47:51 +02:00
system.scm guix system: Add 'vm-image' action and '--image-size' option. 2014-04-09 01:20:19 +02:00