~ruther/guix-local

ref: 4b1ba80cef69b951a72e1dfd04bb3ddc5f4e571c guix-local/guix d---------
85f4f7b7 — Ludovic Courtès 8 years ago
zlib: Fix race condition when closing gzip ports.

Fixes <https://bugs.gnu.org/29335>.

* guix/zlib.scm (close-procedure): Remove.
(make-gzip-input-port): Do (dup (fileno port)) to get a file descriptor
for 'gzdopen'.  Close PORT before returning.  Use 'gzclose' as the
'close' procedure of the returned port.
(make-gzip-output-port): Likewise.
52d174d6 — Ludovic Courtès 8 years ago
ssh: Use (guix i18n).

* guix/ssh.scm: Use (guix i18n) instead of (guix ui).
965ba54b — Julien Lepiller 8 years ago
licenses: Add cddl1.1.

* guix/licenses.scm (cddl1.1): New variable.
82af2c2f — Ricardo Wurmus 8 years ago
build-system: texlive: Only make a union of directories.

* guix/build/texlive-build-system.scm (configure): Filter the input
directories to ensure that source tarballs are excluded.
d8e25711 — Leo Famulari 8 years ago
build-system/go: Don't let Go executables refer to the Go compiler.

* guix/build/go-build-system.scm (remove-store-reference, remove-go-references):
New procedures.
(%standard-phases): Add 'remove-go-references' phase.
* guix/build-system/go.scm (go-build): Add allow-go-reference? key.
d5ce7bcf — Ludovic Courtès 8 years ago
workers: Display backtrace in pre-unwind handler.

* guix/workers.scm (worker-thunk): Add (const #f) as the 'catch'
handler, and move previous handler as pre-unwind handler.  Protect
against 'make-stack' returning #f.
232b3d31 — Ludovic Courtès 8 years ago
workers: 'pool-idle?' returns true only if the workers are idle.

Fixes <https://bugs.gnu.org/28779>.
Reported by Eric Bavier <bavier@cray.com>.

* guix/workers.scm (<pool>)[busy]: New field.
(worker-thunk): Add #:idle and #:busy and use them.
(make-pool): Pass #:busy and #:idle to 'worker-thunk'.  Pass a 'busy'
value to '%make-pool'.
* guix/workers.scm (pool-idle?): Check whether 'pool-busy' returns zero
and adjust docstring.
304a53f6 — Ludovic Courtès 8 years ago
ui: Add source file name to the package search metrics.

* guix/ui.scm (%package-metrics): Include 'package-location'.  Increase
score of the other fields.
7482b981 — Ludovic Courtès 8 years ago
cve: Use 'http-fetch/cached' instead of having custom caching.

That way CVE fetching benefits from 'If-Modified-Since' handling.

* guix/http-client.scm (http-fetch/cached): Add #:write-cache and
 #:cache-miss parameters and honor them.
* guix/cve.scm (%current-year-ttl, %past-year-ttl): Reduce.
(call-with-cve-port): Remove.
(write-cache): New procedure.
(fetch-vulnerabilities): Rewrite in terms of 'http-fetch/cached'.
866f37fb — Ludovic Courtès 8 years ago
download: Improve efficiency of 'write-request' over TLS.

This is another instance of <https://bugs.gnu.org/22966>.
The Microsoft-IIS/7.5 server at static.nvd.nist.gov would sometimes hang
when receiving our requests byte by byte.

* guix/build/download.scm (tls-wrap) [!guile-2.0]: Add 'setvbuf' call.
9f860595 — Ludovic Courtès 8 years ago
download: Pass the timeout to 'ftp-retr'.

This ensures the timeout applies when connecting to the port returned by
PASV.

* guix/ftp-client.scm (ftp-list): Add #:timeout parameter.  Use
'connect*' instead of 'connect' and pass TIMEOUT.
(ftp-retr): Likewise.
* guix/build/download.scm (ftp-fetch): Pass TIMEOUT to 'ftp-retr'.
412716ef — Leo Famulari 8 years ago
grafts: Clarify the status of the workaround for <http://bugs.gnu.org/24659>.

* guix/build/graft.scm (mkdir-p*): Annotate.
d0b87779 — Leo Famulari 8 years ago
download: Use HTTPS for the first ImageMagick mirror.

* guix/download.scm (%mirrors)[imagemagick]: Use HTTPS for <sunsite.icm.edu.pl>.
ecc58571 — Leo Famulari 8 years ago
download: Try FTP servers last.

* guix/download.scm (%mirrors)[savannah, kernel.org, apache, xorg, imagemagick]:
Re-arrange so that FTP is last.
b1488c76 — Ludovic Courtès 8 years ago
git: Check whether 'clone-init-options' is defined.

This is a followup to 195f0d05c3f64e17e84b2683a7045a14ec578d61.

* guix/git.scm (clone*): Check whether 'clone-init-options' is defined
before using it.
65a19abf — Ludovic Courtès 8 years ago
download: Work around more bogus HTTP handling in Guile 2.2 <= 2.2.2.

Reported by Mark H Weaver <mhw@netris.org>
at <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00190.html>.

* guix/build/download.scm (guile-2.2) [write-request-line]: Backport
Guile commit 6ad28ae3bc6a6d9e95ab7d70510d12c97673a143.
59da6f04 — Ludovic Courtès 8 years ago
download: Work around bogus HTTP handling in Guile 2.2 <= 2.2.2.

Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>
at <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00070.html>.

* guix/build/download.scm (write-request-line) [guile-2.2]: New
procedure.
195f0d05 — Ludovic Courtès 8 years ago
git: Work around wrong default argument of 'clone'.

Fixes <https://bugs.gnu.org/29238>.
Reported by Benjamin Andresen <benny@in-ulm.de>.

* guix/git.scm (clone*): Pass second argument to 'clone'.
dc856223 — Ludovic Courtès 8 years ago
ui: Add an 'unbound-variable' exception printer.

* guix/ui.scm (print-unbound-variable-error): New variable.
Use it as the 'unbound-variable' printer.
a2985bb1 — Ludovic Courtès 8 years ago
ui: Provide hints for unbound-variable errors.

* guix/ui.scm (known-variable-definition): New procedure.
(report-load-error): Handle 'unbound-variable'.
Next