Age | Commit message (Expand) | Author |
2021-09-14 | download: Disarchive mirrors can be URL-returning procedures....As discussed at <https://issues.guix.gnu.org/47336#16>.
* guix/build/download.scm (url-fetch)[disarchive-uris]: Accept MIRROR as
a procedure.
* guix/download.scm (%disarchive-mirrors): Add comment. This change can
only be made once a 'guix perform-download' that understands procedures
is widely deployed.
| Ludovic Courtès |
2021-09-14 | download: Remove obsolete workaround....* guix/download.scm (%content-addressed-mirrors): Use (guix base16)
unconditionally.
| Ludovic Courtès |
2021-07-27 | download: Remove defunct GNOME mirrors....* guix/download.scm (%mirrors): Remove defunct GNOME mirrors, and try
the canonical site first.
| Leo Famulari |
2021-05-22 | lint: archival: Lookup content in Disarchive database....* guix/lint.scm (lookup-disarchive-spec): New procedure.
(check-archival): When 'lookup-content' returns #f, call
'lookup-disarchive-spec'. Call 'lookup-directory' on the result of
'lookup-directory'.
* guix/download.scm (%disarchive-mirrors): Make public.
* tests/lint.scm ("archival: missing content"): Set
'%disarchive-mirrors'.
("archival: content unavailable but disarchive available"): New test.
| Ludovic Courtès |
2021-04-29 | download: Use Disarchive as a last resort....This is a fixed version of 66b14dccdd0d83c875ce3a8d50ceab8b6f0a3ce2,
which was reverted in e74250c3c535b75dd2225a26df51febb7ed94654.
* guix/download.scm (%disarchive-mirrors): New variable.
(%disarchive-mirror-file): New variable.
(built-in-download): Add 'disarchive-mirrors' keyword argument and
pass its value along to the 'builtin:download' derivation.
(url-fetch): Pass '%disarchive-mirror-file' to 'built-in-download'.
* guix/scripts/perform-download.scm (perform-download): Read
Disarchive mirrors from the environment and pass them to
'url-fetch'.
* guix/build/download.scm (disarchive-fetch/any): New procedure.
(url-fetch): Add 'disarchive-mirrors' keyword argument, use it to
make a list of URIs, and use the new procedure to fetch the file if
all other methods fail.
* build-aux/build-self.scm (build-program)[select?]: Exclude '(guix
build download)'.
* guix/self.scm (compiled-guix)[*core-modules*]: Add 'guile-json' to
the list of extensions.
| Timothy Sample |
2021-04-28 | Revert "download: Use Disarchive as a last resort."...This reverts commit 66b14dccdd0d83c875ce3a8d50ceab8b6f0a3ce2, which broke
'guix pull'.
| Timothy Sample |
2021-04-27 | download: Use Disarchive as a last resort....* guix/download.scm (%disarchive-mirrors): New variable.
(%disarchive-mirror-file): New variable.
(built-in-download): Add 'disarchive-mirrors' keyword argument and
pass its value along to the 'builtin:download' derivation.
(url-fetch): Pass '%disarchive-mirror-file' to 'built-in-download'.
* guix/scripts/perform-download.scm (perform-download): Read
Disarchive mirrors from the environment and pass them to
'url-fetch'.
* guix/build/download.scm (disarchive-fetch/any): New procedure.
(url-fetch): Add 'disarchive-mirrors' keyword argument, use it to
make a list of URIs, and use the new procedure to fetch the file if
all other methods fail.
| Timothy Sample |
2021-03-19 | download: Autoload (guix build download)....* guix/download.scm: Autoload (guix build download).
(url-fetch): Rename to...
(url-fetch*): ... this, locally, to allow for #:autoload.
* guix/status.scm: Autoload (guix build download).
| Ludovic Courtès |
2021-03-05 | download: 'url-fetch/tarbomb' and 'url-fetch/zipbomb' refer to native tools....* guix/download.scm (url-fetch/tarbomb, url-fetch/zipbomb): Use
'ungexp-native' instead of 'ungexp' when referring to the decompression
tools.
| Ludovic Courtès |
2020-12-13 | download: Update ImageMagick mirror list....* guix/download.scm (%mirrors): Remove defunct ImageMagick mirrors, update
URLs for directory structure changes (/releases instead of /legacy). Move
official site last.
| Marius Bakke |
2020-10-20 | download: Update docstring....* guix/download.scm (url-fetch): Update docstring to match what's in the
manual.
| Ludovic Courtès |
2020-07-20 | download: Add Savannah mirror....* guix/download.scm (%mirrors): Add nongnu.freemirror.org.
| Ludovic Courtès |
2020-07-05 | download: Replace misconfigured Apache mirror....E.g. <http://apache.belnet.be/jakarta/oro/jakarta-oro-2.0.8.tar.gz>
redirects to a bogus 200 HTML page.
* guix/download.scm (%mirrors): Replace apache.belnet.be with
ftp.nluug.nl.
| Tobias Geerinckx-Rice |
2020-06-15 | download: Remove usa-mirror.go-parts.com mirror....It incorrectly redirects 404s (at least) to the commercial home page.
* guix/download.scm (%mirrors): Remove usa-mirror.go-parts.com URLs.
| Tobias Geerinckx-Rice |
2020-06-12 | download: Add more apache mirrors....* guix/download.scm (%mirrors): Add more apache mirrors.
| Efraim Flashner |
2020-04-08 | download: Use correct system and guile in 'url-fetch/tarbomb' and 'url-fetch/......Fixes <https://bugs.gnu.org/40115>.
Previously the result of `guix build -s $system $package' would depend on the
system Guix was built for if $package or one of its dependencies used
'url-fetch/tarbomb' or 'url-fetch/zipbomb' as the origin method of its
source (e.g. `guix build -s i686-linux ffmpeg' on i686-linux would build a
different derivation than on x86_64-linux).
This patch fixes this by explicitly passing the correct system and guile to
'gexp->derivation'.
* guix/download.scm (url-fetch/tarbomb): Pass #:system system and
#:guile-for-build guile to 'gexp->derivation', where guile is the derivation
of guile for system.
(url-fetch/zipbomb): Likewise.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Diego Nicola Barbato |
2020-03-09 | download: Remove misbehaving kvin.lv mirror....It issues bogus redirections instead of returning 404.
* guix/download.scm (%mirrors): Remove kvin.lv from CPAN.
| Tobias Geerinckx-Rice |
2019-12-18 | download: Remove ramses.wh2.tu-dresden.de kernel mirror....* guix/download.scm (%mirrors): Remove ramses.wh2.tu-dresden.de, which seems
to no longer work.
| Mark H Weaver |
2019-07-17 | Merge branch 'master' into core-updates | Ludovic Courtès |
2019-07-15 | download: Use the new 'derivation' calling convention....* guix/download.scm (built-in-download): Pass MIRRORS and
CONTENT-ADDRESSED-MIRRORS as #:sources, not #:inputs.
| Ludovic Courtès |
2019-07-02 | Merge branch 'staging' into core-updates | Marius Bakke |
2019-06-29 | download: Remove hydra from content-addressed URL list...* guix/build/download-nar.scm (urls-for-item): Remove
mirror.hydra.gnu.org.
* guix/download.scm (%content-addressed-mirrors): Likewise.
| Tobias Geerinckx-Rice |
2019-06-14 | download: Add 'url-fetch/executable'....* guix/download.scm (built-in-download): Add #:executable? parameter.
Pass #:recursive? to 'raw-derivation' and add "executable" to the #:env-vars
alist when EXECUTABLE? is true.
(url-fetch): Add #:executable? and pass it to 'built-in-download'.
(url-fetch/executable): New procedure.
| Ludovic Courtès |
2019-06-10 | download: Update list of content-addressed mirrors....* guix/download.scm (%content-addressed-mirrors): Change
"berlin.guixsd.org" to "ci.guix.gnu.org" and move it first.
| Ludovic Courtès |
2019-04-16 | store: Memoize 'built-in-builders' call directly in <store-connection>....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.
| Ludovic Courtès |
2019-03-15 | download: Add MATE mirrors....* guix/download.scm (%mirrors): Add mirrors for the MATE Desktop.
| Guy Fleury Iteriteka |
2018-12-19 | download: 'built-in-builders*' relies on the functional cache....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'.
| Ludovic Courtès |
2018-11-28 | download: Add berlin.guixsd.org as a content-addressed mirror....* guix/download.scm (%content-addressed-mirrors)[guix-publish]: New
procedure.
Use it for "mirror.hydra.gnu.org" and add "berlin.guixsd.org" too.
| Ludovic Courtès |
2018-11-28 | download: Make (guix base16) a soft dependency....Fixes <https://bugs.gnu.org/33542>.
Reported by Mark H Weaver <mhw@netris.org>.
* guix/download.scm (%content-addressed-mirrors): Autoload (guix base16).
| Ludovic Courtès |
2018-11-14 | download: Access content-addressed mirrors over HTTPS....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".
| Ludovic Courtès |
2018-11-14 | download: Add Software Heritage as a content-addressed mirror....* guix/download.scm (%content-addressed-mirrors): Add Software
Heritage.
| Ludovic Courtès |
2018-05-29 | Merge branch 'master' into core-updates | Ricardo Wurmus |
2018-05-29 | download: Remove unused procedure....* guix/download.scm (gnutls-package): Remove.
| Ludovic Courtès |
2018-04-30 | Merge branch 'master' into core-updates | Mark H Weaver |
2018-04-23 | download: Use ungrafted tools in 'url-fetch/tarbomb' and 'url-fetch/zipbomb'....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.
| Ludovic Courtès |
2018-04-17 | download: Fix 'url-fetch/tarbomb' and 'url-fetch/zipbomb'....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'.
| Mark H Weaver |
2018-03-20 | Merge branch 'master' into core-updates | Mark H Weaver |
2018-03-17 | download: Remove TU Wien mirror....* guix/download.scm (%mirrors): Remove gd.tuwien.ac.at, which no longer
seems to exist.
| Mark H Weaver |
2018-03-16 | download: Use invoke instead of system*....* guix/download.scm (url-fetch/tarbomb, url-fetch/zipbomb): Use invoke.
| Mark H Weaver |
2017-11-19 | Merge branch 'master' into core-updates | Marius Bakke |
2017-11-12 | download: Use HTTPS for the first ImageMagick mirror....* guix/download.scm (%mirrors)[imagemagick]: Use HTTPS for <sunsite.icm.edu.pl>.
| Leo Famulari |
2017-11-12 | download: Try FTP servers last....* guix/download.scm (%mirrors)[savannah, kernel.org, apache, xorg, imagemagick]:
Re-arrange so that FTP is last.
| Leo Famulari |
2017-11-01 | Merge remote-tracking branch 'origin/master' into core-updates | Efraim Flashner |
2017-11-01 | download: Refresh the cpan.org mirror list....* guix/download.scm (%mirrors)[cpan]: Update the list of CPAN mirrors (of
which several are dead) with a more-or-less geographically diverse selection.
| Tobias Geerinckx-Rice |
2017-10-10 | Merge branch 'master' into core-updates | Marius Bakke |
2017-10-10 | guix: mirrors: Add kde archive mirror....* guix/download.scm (%mirrors)[kde]: Add kde-attic mirror.
| Efraim Flashner |
2017-10-01 | Merge remote-tracking branch 'origin/master' into core-updates | Efraim Flashner |
2017-09-11 | download: Adjust main ftp.gnu.org mirror....* guix/download.scm (%mirrors): Add missing "/gnu" in first mirror,
although that mirror would work even without it. Use https instead of
http.
| Ludovic Courtès |
2017-08-28 | download: Assume the "download" built-in builder is available....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'.
| Ludovic Courtès |
2017-08-25 | download: Remove a SourceForge mirror that never returns 404....* 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.
| Mark H Weaver |