[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] guix source archive branch, master, updated. v0.2-7-g101d9f3

From: Ludovic Courtès
Subject: [SCM] guix source archive branch, master, updated. v0.2-7-g101d9f3
Date: Wed, 15 May 2013 21:46:15 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "guix source archive".

The branch, master has been updated
       via  101d9f3fd43b436d5dc7ef13e644c7fbbc7f62d5 (commit)
      from  3d6b71e87eca505262f9756644d72e545c7e48f8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 101d9f3fd43b436d5dc7ef13e644c7fbbc7f62d5
Author: Ludovic Courtès <address@hidden>
Date:   Wed May 15 23:40:09 2013 +0200

    substitute-binary: Pass `filtered-port' an unbuffered port.
    This fixes a bug whereby `read-response' would read more than just the
    response, with the extra data going into the port's buffer; the
    "bzip2 -dc" process spawned by `filtered-port' would not see the those
    buffered data, which are definitely lost, and would bail out with
    "bzip2: (stdin) is not a bzip2 file."
    * guix/utils.scm (filtered-port): Document that INPUT must be
    * guix/web.scm (http-fetch): Add `buffered?' parameter.  Call
      `open-socket-for-uri' explicitly, and call `setvbuf' when BUFFERED? is
      false.  Pass the port to `http-get'.  Close it upon 301/302.
    * guix/scripts/substitute-binary.scm (fetch): Add `buffered?'
      parameter.  Pass it to `http-fetch'; honor it for `file' URIs.
      (guix-substitute-binary): Call `fetch' with #:buffered? #f for port RAW.
    * tests/utils.scm ("filtered-port, file"): Open FILE as unbuffered.


Summary of changes:
 guix/scripts/substitute-binary.scm |    8 +++++---
 guix/utils.scm                     |    3 ++-
 guix/web.scm                       |   23 +++++++++++++++++------
 tests/utils.scm                    |   21 ++++++++++-----------
 4 files changed, 34 insertions(+), 21 deletions(-)

guix source archive

reply via email to

[Prev in Thread] Current Thread [Next in Thread]