summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* substitute: Select the best compression methods.Ludovic Courtès2019-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* publish: '--compression' can be repeated.Ludovic Courtès2019-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Add guile-srfi-159.Ludovic Courtès2019-06-02
| | | | * gnu/packages/guile-xyz.scm (guile-srfi-159): New variable.
* build-system/guile: Display progress report as expected by (guix status).Ludovic Courtès2019-06-02
| | | | | * guix/build/guile-build-system.scm (report-build-progress): Use a format string suitable for (guix status).
* build-system/guile: Add #:not-compiled-file-regexp.Ludovic Courtès2019-06-02
| | | | | | | * 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.
* build-system/guile: Improve reporting of 'guild compile' failures.Ludovic Courtès2019-06-02
| | | | | | | * 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: Add guile-gi.Jan Nieuwenhuizen2019-06-02
| | | | * gnu/packages/guile-xyz.scm (guile-gi): New variable.
* gnu: faudio: Update to 19.06.Rutger Helling2019-06-02
| | | | * gnu/packages/audio.scm (faudio): Update to 19.06.
* gnu: debootstrap: Update to 114.Vagrant Cascadian2019-06-01
| | | | * gnu/packages/debian (debootstrap): Update to 114.
* gnu: debian-archive-keyring: Update to 2019.01.Vagrant Cascadian2019-06-01
| | | | * gnu/packages/debian (debian-archive-keyring): Update to 2019.01.
* gnu: giac: Update to 1.5.0-57.Nicolas Goaziou2019-06-02
| | | | * gnu/packages/algebra.scm (giac): Update to 1.5.0-57.
* gnu: musescore: Update to 3.1.Nicolas Goaziou2019-06-02
| | | | * gnu/packages/music.scm (musescore): Update to 3.1.
* compile: Adjust for Guile 3.Ludovic Courtès2019-06-02
| | | | | * guix/build/compile.scm (%default-optimizations): Adjust to the new names in Guile 2.9.2.
* herd: Use the Guile 2.2 'setvbuf' API.Ludovic Courtès2019-06-02
| | | | * gnu/services/herd.scm (open-connection): Use 'block for 'setvbuf'.
* progress: Provide the proper type for %PROGRESS-INTERVAL.Ludovic Courtès2019-06-02
| | | | | | 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: Add terminator.Andy Tai2019-06-02
| | | | | | * gnu/packages/gnome.scm (terminator): Add at 1.91 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: ghc-happy: Skip memory-hungry tests.Robert Vollmert2019-06-02
| | | | | | | | | 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: keepassxc: Update to 2.4.2.Nicolas Goaziou2019-06-02
| | | | * gnu/packages/password-utils.scm (keepassxc): Update to 2.4.2.
* gnu: grammalecte: Update to 1.1.1.Nicolas Goaziou2019-06-02
| | | | * gnu/packages/dictionaries.scm (grammalecte): Update to 1.1.1.
* gnu: r-openssl: Update to 1.4.Ricardo Wurmus2019-06-01
| | | | * gnu/packages/statistics.scm (r-openssl): Update to 1.4.
* gnu: r-biocviews: Update to 1.52.2.Ricardo Wurmus2019-06-01
| | | | | * gnu/packages/bioinformatics.scm (r-biocviews): Update to 1.52.2. [propagated-inputs]: Add r-biocmanager.
* gnu: Add gash.Timothy Sample2019-06-01
| | | | * gnu/packages/shells.scm (gash): New variable.
* gnu: Add txr.Guillaume LE VAILLANT2019-06-01
| | | | | | | | * 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: Indent hackage testsRobert Vollmert2019-06-01
| | | | | | * tests/hackage.scm: Reindent using etc/indent-code.el. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* tests: hackage: Don't mock hackage-fetch.Robert Vollmert2019-06-01
| | | | | | | * 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: Factor out package pattern.Robert Vollmert2019-06-01
| | | | | | * tests/hackage.scm: Import result pattern matching via helper. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* lzlib: 'make-lzip-input-port' better handles end of decompression.Ludovic Courtès2019-06-01
| | | | | | | | 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: linux-libre: Update to 5.1.6.Mark H Weaver2019-06-01
| | | | | * gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.6. (%linux-libre-hash): Update hash.
* gnu: linux-libre@4.19: Update to 4.19.47.Mark H Weaver2019-06-01
| | | | | * gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.47. (%linux-libre-4.19-hash): Update hash.
* gnu: linux-libre@4.14: Update to 4.14.123.Mark H Weaver2019-06-01
| | | | | * gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.123. (%linux-libre-4.14-hash): Update hash.
* gnu: linux-libre@4.9: Update to 4.9.180.Mark H Weaver2019-06-01
| | | | * gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.180.
* import: hackage: Update list of ghc-included packages.Robert Vollmert2019-06-01
| | | | | | | | | | | | | | 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: gnucash-docs: Update to 3.5.Vasile Dumitrascu2019-05-31
| | | | | | * gnu/packages/gnucash.scm (gnucash-docs): Update to 3.5. Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
* gnu: gnucash: Update to 3.5.Vasile Dumitrascu2019-05-31
| | | | | | | | | * 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: dealii-openmpi: Add hdf5-parallel-openmpi input.Eric Bavier2019-05-31
| | | | * gnu/packages/maths.scm (dealii-openmpi)[inputs]: Add hdf5-parallel-openmpi.
* gnu: slepc: Update to 3.11.1.Eric Bavier2019-05-31
| | | | | | * gnu/packages/maths.scm (slepc): Update to 3.11.1. [native-inputs]: Add petsc:examples. [arguments]: Add PETSCCONFIGDIR to #:make-flags.
* gnu: petsc: Update to 3.11.2.Eric Bavier2019-05-31
| | | | * gnu/packages/maths.scm (petsc): Update to 3.11.2.
* gnu: petsc-complex-mpi: Setup MPI for tests.Eric Bavier2019-05-31
| | | | | * gnu/packages/maths.scm (petsc-complex-mpi)[arguments]: Add 'mpi-setup phase.
* gnu: Add mousepad.Kei Kebreau2019-05-31
| | | | * gnu/packages/xfce.scm (mousepad): New variable.
* gnu: Add zbar.Guillaume LE VAILLANT2019-05-31
| | | | | | * gnu/packages/aidc.scm (zbar): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
* services: Add patchwork.Christopher Baines2019-05-31
| | | | | | | | | * 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: Add patchwork.Christopher Baines2019-05-31
| | | | * gnu/packages/patchutils.scm (patchwork): New variable.
* services: Add getmail.Christopher Baines2019-05-31
| | | | | | | | | | | | | | | 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: Go 1.4: Fix typo.Leo Famulari2019-05-31
| | | | * gnu/packages/golang.scm (go-1.4): Fix typo in comment.
* gnu: gtksourceview-2: Fix finding default data.Julien Lepiller2019-05-31
| | | | | | | * 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: php: Update to 7.3.6.Julien Lepiller2019-05-31
| | | | * gnu/packages/php.scm (php): Update to 7.3.6.
* gnu: Add r-birta.Ricardo Wurmus2019-05-31
| | | | * gnu/packages/bioconductor.scm (r-birta): New variable.
* gnu: Add r-birewire.Ricardo Wurmus2019-05-31
| | | | * gnu/packages/bioconductor.scm (r-birewire): New variable.
* gnu: r-seriation: Update to 1.2-5.Ricardo Wurmus2019-05-31
| | | | * gnu/packages/cran.scm (r-seriation): Update to 1.2-5.
* gnu: emacs-diff-hl: Update to 1.8.6.Brian Leung2019-05-31
| | | | | | | * 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>