Age | Commit message (Collapse) | Author |
|
When a server publishes several URLs with different compression methods,
'guix substitute' can now choose the best one among the compression
methods that it supports.
* guix/scripts/substitute.scm (<narinfo>)[uri]: Replace with...
[uris]: ... this.
[compression]: Replace with...
[compressions]: ... this.
[file-size]: Replace with...
[file-sizes]: ... this.
[file-hash]: Replace with...
[file-hashes]: ... this.
(narinfo-maker): Adjust accordingly. Ensure 'file-sizes' and
'file-hashes' have the right length.
(assert-valid-signature, valid-narinfo?): Use the first element of
'narinfo-uris' in error messages.
(read-narinfo): Expect "URL", "Compression", "FileSize", and "FileHash"
to occur multiple times.
(display-narinfo-data): Call 'select-uri' to determine the file size.
(%compression-methods): New variable.
(supported-compression?, compresses-better?, select-uri): New
procedures.
(process-substitution): Call 'select-uri' to select the URI and
compression.
* guix/scripts/weather.scm (report-server-coverage): Account for all the
values returned by 'narinfo-file-sizes'.
* tests/substitute.scm ("substitute, narinfo with several URLs"): New
test.
|
|
This allows 'guix publish' to compress and advertise multiple
compression methods from which users can choose.
* guix/scripts/publish.scm (actual-compression): Rename to...
(actual-compressions): ... this. Expect REQUESTED to be a list, and
always return a list.
(%default-options): Remove 'compression.
(store-item->recutils): New procedure.
(narinfo-string): Change #:compression to #:compressions (plural).
Adjust accordingly.
(render-narinfo, render-narinfo/cached): Likewise.
(bake-narinfo+nar): Change #:compression to #:compressions.
[compressed-nar-size]: New procedure.
Call 'compress-nar' for each item returned by 'actual-compressions'.
Create a narinfo for each compression.
(effective-compression): New procedure.
(make-request-handler): Change #:compression to #:compressions.
Use 'effective-compression' to determine the applicable compression.
(guix-publish): Adjust handling of '--compression'.
Print a message for each compression that is enabled.
* tests/publish.scm ("/*.narinfo"): Adjust to new narinfo field
ordering.
("/*.narinfo with properly encoded '+' sign"): Likewise.
("/*.narinfo with lzip + gzip"): New test.
("with cache, lzip + gzip"): New test.
* doc/guix.texi (Invoking guix publish): Document it.
|
|
* gnu/packages/guile-xyz.scm (guile-srfi-159): New variable.
|
|
* guix/build/guile-build-system.scm (report-build-progress): Use a
format string suitable for (guix status).
|
|
* guix/build/guile-build-system.scm (build): Add
#:not-compiled-file-regexp and honor it.
* guix/build-system/guile.scm (guile-build): Likewise.
(guile-cross-build): Likewise.
|
|
* guix/build/guile-build-system.scm (invoke-each)[processes]: New
variable.
[wait-for-one-process]: Check PROCESSES and update it.
[fork-and-run-command]: Update PROCESSES.
|
|
* gnu/packages/guile-xyz.scm (guile-gi): New variable.
|
|
* gnu/packages/audio.scm (faudio): Update to 19.06.
|
|
* gnu/packages/debian (debootstrap): Update to 114.
|
|
* gnu/packages/debian (debian-archive-keyring): Update to 2019.01.
|
|
* gnu/packages/algebra.scm (giac): Update to 1.5.0-57.
|
|
* gnu/packages/music.scm (musescore): Update to 3.1.
|
|
* guix/build/compile.scm (%default-optimizations): Adjust to the new
names in Guile 2.9.2.
|
|
* gnu/services/herd.scm (open-connection): Use 'block for 'setvbuf'.
|
|
The (srfi srfi-19) module of Guile 2.9.2 catches the wrong type.
* guix/progress.scm (%progress-interval): Change type to TIME-DURATION.
|
|
* gnu/packages/gnome.scm (terminator): Add at 1.91
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
Tests fail reliably for me on a system with 2GB of available RAM, in
`issue93.a.hs` and `issue93.n.hs`.
* gnu/packages/haskell.scm (ghc-happy): Skip test "issue93".
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* gnu/packages/password-utils.scm (keepassxc): Update to 2.4.2.
|
|
* gnu/packages/dictionaries.scm (grammalecte): Update to 1.1.1.
|
|
* gnu/packages/statistics.scm (r-openssl): Update to 1.4.
|
|
* gnu/packages/bioinformatics.scm (r-biocviews): Update to 1.52.2.
[propagated-inputs]: Add r-biocmanager.
|
|
* gnu/packages/shells.scm (gash): New variable.
|
|
* gnu/packages/lisp.scm (txr): New variable.
* gnu/packages/patches/txr-shell.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/hackage.scm: Reindent using etc/indent-code.el.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/hackage.scm: Pass a string input port to tests instead of
mocking hackage download.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* tests/hackage.scm: Import result pattern matching via helper.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
Suggested by Pierre Neidhardt <mail@ambrevar.xyz>.
* guix/lzlib.scm (lzread!): Call 'lz-decompress-finish' when
'feed-decoder!' returns EOF. Call 'lz-decompress-finished?' to
determine end of compression.
|
|
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.6.
(%linux-libre-hash): Update hash.
|
|
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.47.
(%linux-libre-4.19-hash): Update hash.
|
|
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.123.
(%linux-libre-4.14-hash): Update hash.
|
|
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.180.
|
|
Update the list of excepted dependencies for current ghc-8.4, based on the
release notes at
https://downloads.haskell.org/~ghc/8.4.3/docs/html/users_guide/8.4.3-notes.html
Particularly, this adds `text` to the list, which is a dependency of `parsec`
which was already on the list before, causing build failures with updated
versions of the `text` package.
* guix/import/hackage.scm (ghc-standard-libraries): Update list.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/gnucash.scm (gnucash-docs): Update to 3.5.
Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
|
|
* gnu/packages/gnucash.scm (gnucash): Update to 3.5.
[source]: Remove unneeded patch.
* gnu/packages/patches/gnucash-fix-test-transaction-failure.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
|
|
* gnu/packages/maths.scm (dealii-openmpi)[inputs]: Add hdf5-parallel-openmpi.
|
|
* gnu/packages/maths.scm (slepc): Update to 3.11.1.
[native-inputs]: Add petsc:examples.
[arguments]: Add PETSCCONFIGDIR to #:make-flags.
|
|
* gnu/packages/maths.scm (petsc): Update to 3.11.2.
|
|
* gnu/packages/maths.scm (petsc-complex-mpi)[arguments]: Add 'mpi-setup
phase.
|
|
* gnu/packages/xfce.scm (mousepad): New variable.
|
|
* gnu/packages/aidc.scm (zbar): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/service/web.scm (<patchwork-database-configuration>
<patchwork-settings-module>, <patchwork-configuration>): New record types.
(patchwork-virtualhost): New procedure.
(patchwork-service-type): New variable.
* gnu/tests/web.scm (%test-patchwork): New variable.
* doc/guix.text (Web Services): Document it.
|
|
* gnu/packages/patchutils.scm (patchwork): New variable.
|
|
Getmail is a mail retriever written in Python, this commit adds a service-type
to run getmail. I'm looking at this, as it's a convinient way of getting
mailing list messages in to Patchwork.
I initially tried putting this in the (gnu services mail) module, but due to
also trying to use the define-configuration pattern, it conflicted with the
dovecot service.
* gnu/services/getmail.scm: New file.
* gnu/local.mk: Add it.
* gnu/tests/mail.scm (%getmail-os, %test-getmail): New variables.
(run-getmail-test): New procedure.
|
|
* gnu/packages/golang.scm (go-1.4): Fix typo in comment.
|
|
* gnu/packages/patches/gtksourceview-2-add-default-directory.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gtk.scm (gtksourceview-2)[source]: Use it.
|
|
* gnu/packages/php.scm (php): Update to 7.3.6.
|
|
* gnu/packages/bioconductor.scm (r-birta): New variable.
|
|
* gnu/packages/bioconductor.scm (r-birewire): New variable.
|
|
* gnu/packages/cran.scm (r-seriation): Update to 1.2-5.
|
|
* gnu/packages/emacs-xyz.scm (emacs-diff-hl): Update to 1.8.6.
[source]: Fetch from git.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|