aboutsummaryrefslogtreecommitdiff
path: root/guix/download.scm
Commit message (Collapse)AuthorAge
* store: Memoize 'built-in-builders' call directly in <store-connection>.Ludovic Courtès2019-04-16
| | | | | | | | | | | | | | | The caching strategy introduced in 40cc850aebb497faed0a11d867d8fcee729023df was ineffective since we regularly start from an empty object cache. For example, "guix build inkscape -n" would make 241 'built-in-builders' RPCs. * guix/store.scm (<store-connection>)[built-in-builders]: New field. (open-connection): Adjust '%make-store-connection' call accordingly. (port->connection): Likewise. (built-in-builders): Rename to... (%built-in-builders): ... this. (built-in-builders): New procedure. * guix/download.scm (built-in-builders*): Remove 'mcached' call.
* download: Add MATE mirrors.Guy Fleury Iteriteka2019-03-15
| | | | * guix/download.scm (%mirrors): Add mirrors for the MATE Desktop.
* download: 'built-in-builders*' relies on the functional cache.Ludovic Courtès2018-12-19
| | | | | | | | | The previous caching strategy, which used STORE as an 'eq?' key, would no longer work when the functional cache is used because subsequent store values are not 'eq?'. * guix/download.scm (built-in-builders*): Rewrite in terms of 'mcached'.
* download: Add berlin.guixsd.org as a content-addressed mirror.Ludovic Courtès2018-11-28
| | | | | | * guix/download.scm (%content-addressed-mirrors)[guix-publish]: New procedure. Use it for "mirror.hydra.gnu.org" and add "berlin.guixsd.org" too.
* download: Make (guix base16) a soft dependency.Ludovic Courtès2018-11-28
| | | | | | | Fixes <https://bugs.gnu.org/33542>. Reported by Mark H Weaver <mhw@netris.org>. * guix/download.scm (%content-addressed-mirrors): Autoload (guix base16).
* download: Access content-addressed mirrors over HTTPS.Ludovic Courtès2018-11-14
| | | | | | | | Bug <http://bugs.gnu.org/22774> is no longer relevant now that we use "builtin:download" exclusively. * guix/download.scm (%content-addressed-mirrors): Use "https", not "http".
* download: Add Software Heritage as a content-addressed mirror.Ludovic Courtès2018-11-14
| | | | | * guix/download.scm (%content-addressed-mirrors): Add Software Heritage.
* Merge branch 'master' into core-updatesRicardo Wurmus2018-05-29
|\
| * download: Remove unused procedure.Ludovic Courtès2018-05-29
| | | | | | | | * guix/download.scm (gnutls-package): Remove.
* | Merge branch 'master' into core-updatesMark H Weaver2018-04-30
|\|
| * download: Use ungrafted tools in 'url-fetch/tarbomb' and 'url-fetch/zipbomb'.Ludovic Courtès2018-04-23
| | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/31085>. Reported by Diego Nicola Barbato <dnbarbato@posteo.de>. * guix/download.scm (url-fetch/tarbomb): Pass #:graft? #f to 'gexp->derivation'. (url-fetch/zipbomb): Likewise.
* | download: Fix 'url-fetch/tarbomb' and 'url-fetch/zipbomb'.Mark H Weaver2018-04-17
| | | | | | | | | | | | | | | | Fixes a regression introduced in 20927c9331b493eaf94211ad9f8a5055e11b4588. Reported by Eric Bavier <ericbavier@centurylink.net>. * guix/download.scm (url-fetch/tarbomb, url-fetch/zipbomb): Within the gexp, import (guix build utils) for 'invoke'.
* | Merge branch 'master' into core-updatesMark H Weaver2018-03-20
|\|
| * download: Remove TU Wien mirror.Mark H Weaver2018-03-17
| | | | | | | | | | * guix/download.scm (%mirrors): Remove gd.tuwien.ac.at, which no longer seems to exist.
* | download: Use invoke instead of system*.Mark H Weaver2018-03-16
|/ | | | * guix/download.scm (url-fetch/tarbomb, url-fetch/zipbomb): Use invoke.
* Merge branch 'master' into core-updatesMarius Bakke2017-11-19
|\
| * download: Use HTTPS for the first ImageMagick mirror.Leo Famulari2017-11-12
| | | | | | | | * guix/download.scm (%mirrors)[imagemagick]: Use HTTPS for <sunsite.icm.edu.pl>.
| * download: Try FTP servers last.Leo Famulari2017-11-12
| | | | | | | | | | * guix/download.scm (%mirrors)[savannah, kernel.org, apache, xorg, imagemagick]: Re-arrange so that FTP is last.
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-11-01
|\|
| * download: Refresh the cpan.org mirror list.Tobias Geerinckx-Rice2017-11-01
| | | | | | | | | | * guix/download.scm (%mirrors)[cpan]: Update the list of CPAN mirrors (of which several are dead) with a more-or-less geographically diverse selection.
* | Merge branch 'master' into core-updatesMarius Bakke2017-10-10
|\|
| * guix: mirrors: Add kde archive mirror.Efraim Flashner2017-10-10
| | | | | | | | * guix/download.scm (%mirrors)[kde]: Add kde-attic mirror.
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-10-01
|\|
| * download: Adjust main ftp.gnu.org mirror.Ludovic Courtès2017-09-11
| | | | | | | | | | | | * guix/download.scm (%mirrors): Add missing "/gnu" in first mirror, although that mirror would work even without it. Use https instead of http.
* | download: Assume the "download" built-in builder is available.Ludovic Courtès2017-08-28
|/ | | | | | | | This is a followup to 05ceb8dcaf480a47cddf94ac979070b76df6556c. * guix/download.scm (in-band-download): Remove. (url-fetch): Call 'error' when BUILTINS lacks "download"; remove call to 'in-band-download'.
* download: Remove a SourceForge mirror that never returns 404.Mark H Weaver2017-08-25
| | | | | | | * guix/download.scm (%mirrors)[sourceforge]: Remove nbtelecom.dl.sourceforge.net, which never returns 404 responses. This causes download failures due to hash mismatch, effectively preventing secondary source URLs from being queried.
* download: Add the canonical GnuPG download site.Leo Famulari2017-08-09
| | | | * guix/download.scm (%mirrors)<gnupg>: Add https://gnupg.org.
* download: Add OpenBSD mirrors.Tobias Geerinckx-Rice2017-07-19
| | | | | | | * guix/download.scm (%mirrors) <openbsd>: Add HTTPS OpenBSD mirrors. * gnu/packages/ntp.scm (openntpd)[source]: Use them. * gnu/packages/ssh.scm (openssh)[source]: Likewise. * gnu/packages/tls.scm (libressl)[source]: Likewise.
* gnu: Move contents of zip module into compression module.Arun Isaac2017-06-20
| | | | | | | | | | | | | | | * gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to... * gnu/packages/compression.scm: ...here. * gnu/packages/zip.scm: Delete file. * gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file. * po/packages/POTFILES.in: Unregister deleted file. * gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression, docbook, documentation, fonts, fpga, game-development, games, gl, gnome, gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice, markup, maths, mc, monitoring, music, php, pretty-print, python, scheme, smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml, zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm: Adapt module import.
* download: Prune the ImageMagick mirror list.Leo Famulari2017-05-20
| | | | | | | These sites' TLS certificates are invalid. * guix/download.scm (%mirrors) <imagemagick>: Remove mirrors-{au,ru,uk}.go-parts.com.
* download: Add netfilter mirror.Marius Bakke2017-04-17
| | | | * guix/download.scm (%mirrors): Add mirrors for www.netfilter.org.
* download: Update the GnuPG mirror list.Leo Famulari2017-04-05
| | | | * guix/download.scm (%mirrors) <gnupg>: Use HTTP for TU Wien mirror.
* download: Remove non-existent kernel mirror.Mark H Weaver2017-03-19
| | | | * guix/download.scm (%mirrors) <kernel.org>: Remove www.all.kernel.org.
* download: Update the Savannah mirror list.Ludovic Courtès2017-03-08
| | | | | * guix/download.scm (%mirrors) <savannah>: Remove centervenus.com, which seems to be broken. Add download-mirror.sv.gnu.org as a last resort.
* gnu: bash: Use the bootstrap Guile in 'url-fetch/reset-patch-level'.Ludovic Courtès2017-03-07
| | | | | | | | | | | Fixes <http://bugs.gnu.org/25775>. Reported by Sirgazil, Ricardo Wurmus, Andy Wingo, and others. * guix/download.scm (in-band-download): Always use GUILE. This reverts 9f05908fb1e3707cae593d94688748294717a546. * gnu/packages/bash.scm (url-fetch/reset-patch-level): Remove #:guile. Pass %BOOTSTRAP-GUILE as #:guile to 'url-fetch'. Remove #:guile-for-build argument in 'gexp->derivation' call.
* download: Provide a fall-back guile for older daemons.Leo Famulari2017-02-23
| | | | | | | | | | Fixes <http://bugs.gnu.org/25775>. * guix/download.scm (in-band-download): Use %bootstrap-guile as a fall-back when using older daemons that do not have a built-in downloader. Written-by: Ricardo Wurmus <rekado@elephly.net>
* download: Add GNOME mirror.Ludovic Courtès2017-02-01
| | | | * guix/download.scm (%mirrors): Add "https://download.gnome.org".
* download: Add ‘url-fetch/zipbomb’.Tobias Geerinckx-Rice2017-02-01
| | | | | | | From this suggestion by Ludovic Courtès: <http://lists.gnu.org/archive/html/guix-devel/2016-09/msg01983.html> * guix/download.scm (url-fetch/zipbomb): New procedure.
* download: url-fetch/tarball: Make ‘name’ truly optional.Tobias Geerinckx-Rice2017-02-01
| | | | | | | | * guix/download.scm (url-fetch/tarbomb): Fall back to ‘file-name’ if ‘name’ is #f, like the regular ‘url-fetch’ does. * gnu/packages/bioinformatics.scm (muscle)[source]: Remove ‘file-name’. * gnu/packages/engineering.scm (fastcap)[source]: Likewise. * gnu/packages/scheme.scm (scmutils)[source]: Likewise.
* derivations: Add 'raw-derivation'.Ludovic Courtès2016-11-19
| | | | | | * guix/derivations.scm (raw-derivation): New procedure. * guix/download.scm (raw-derivation): Remove. * guix/gexp.scm (raw-derivation): Remove.
* download: Do not offload 'builtin:download' derivations.Ludovic Courtès2016-11-18
| | | | * guix/download.scm (built-in-download): Pass #:local-build? #t.
* download: Use the built-in 'download' builder when available.Ludovic Courtès2016-11-16
| | | | | | | | | | | Fixes <http://bugs.gnu.org/22774>. Reported by Christopher W Carpenter. * guix/download.scm (built-in-builders*, raw-derivation) (built-in-download): New procedures. (in-band-download): New procedure, with code formerly in 'url-fetch'. (url-fetch): Call 'built-in-builders*' and dispatch between 'built-in-download' and 'in-band-download'.
* guix download: Add '--no-check-certificate' option.Ludovic Courtès2016-11-07
| | | | | | | | | | * guix/download.scm (download-to-store): Add #:verify-certificate? parameter and honor it. * guix/scripts/download.scm (%default-options): Add 'verify-certificate?' key. (show-help, %options): Add '--no-check-certificate'. (guix-download): Pass #:verify-certificate to 'download-to-store'. * doc/guix.texi (Invoking guix download): Document it.
* download: Verify TLS certificates unless asked not to.Ludovic Courtès2016-11-07
| | | | | | | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/24466>. Reported by Leo Famulari <leo@famulari.name>. * guix/build/download.scm (%x509-certificate-directory): New variable. (make-credendials-with-ca-trust-files, peer-certificate) (assert-valid-server-certificate, print-tls-certificate-error): New procedures. Add 'print-tls-certificate-error' as an exception printer for 'tls-certificate-error'. (tls-wrap): Add #:verify-certificate? parameter and honor it. (open-connection-for-uri): Likewise. (http-fetch): Likewise. (url-fetch): Likewise. * guix/download.scm (url-fetch)[builder]: Pass #:verify-certificate? #f. * guix/scripts/lint.scm (probe-uri): Add case for 'tls-certificate-error'. (validate-uri): Likewise. * doc/guix.texi (Invoking guix download): Mention 'SSL_CERT_DIR'.
* guix: Update hackage mirror.Efraim Flashner2016-11-01
| | | | * guix/download.scm (%mirrors)[hackage]: Don't use https.
* download: Add Hackage mirrors.Federico Beffa2016-10-31
| | | | * guix/download.scm [%mirrors]: Add Hackage mirrors.
* download: Add download.kde.org to kde mirrors.David Craven2016-08-05
| | | | * guix/download.scm (%mirrors)[kde]: Add download.kde.org.
* Merge branch 'core-updates'Mark H Weaver2016-08-04
|\
| * download: Add mirror.hydra.gnu.org as a content-addressed mirror.Ludovic Courtès2016-07-31
| | | | | | | | | | * guix/download.scm (%content-addressed-mirrors): Add 'mirror.hydra.gnu.org'.
* | Revert "Merge branch 'core-updates'"Mark H Weaver2016-08-04
| | | | | | | | This reverts commit 455859a50f88f625d13fc2f304111f02369b366b.