summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-05-31import: cpan: Remove unary 'string-append' call....* guix/import/cpan.scm (package->upstream-name): Remove useless 'string-append'. Ludovic Courtès
2023-05-31tests: upstream: Restore test that was skipped....This test was being skipped since ea6fb108f6a3a53d48ea187b1f82b5f7ffce00a7. * tests/upstream.scm ("coalesce-sources same version"): Compare a serialized form of <upstream-source>. Ludovic Courtès
2023-05-31upstream: Remove <upstream-input-change> and related code....* guix/upstream.scm (<upstream-input-change>): Remove. (changed-inputs): Remove. * tests/upstream.scm (test-package, test-new-package) ("changed-inputs returns no changes") ("changed-inputs returns changes to plain input list") ("changed-inputs returns changes to all plain input lists"): Remove. Ludovic Courtès
2023-05-31upstream: 'update-package-source' edits input fields....Previously, 'guix refresh r-ggplot2 -u' and similar commands would print of list of input changes that would have to be made manually. With this change, 'guix refresh -u' takes care of updating input fields automatically. * guix/upstream.scm (update-package-inputs): New procedure. (update-package-source): Call it when 'upstream-source-inputs' returns true. * guix/scripts/refresh.scm (update-package): Remove iteration over the result of 'changed-inputs'. * guix/import/test.scm (available-updates): Add support for input lists. * tests/guix-refresh.sh (GUIX_TEST_UPDATER_TARGETS): Add input list for "the-test-package". Make sure 'guix refresh -u' updates 'inputs' accordingly. * doc/guix.texi (Invoking guix refresh): Mention it. Ludovic Courtès
2023-05-31diagnostics: Factorize 'absolute-location'....* guix/scripts/style.scm (absolute-location): Move to... * guix/diagnostics.scm (absolute-location): ... here. * guix/upstream.scm (update-package-source): Use it. Ludovic Courtès
2023-05-31upstream: Replace 'input-changes' field by 'inputs'....Returning the expected list of inputs rather than changes relative to the current package definition is less ambiguous and offers more possibilities for further processing. * guix/upstream.scm (<upstream-source>)[input-changes]: Remove. [inputs]: New field. (<upstream-input>): New record type. * guix/upstream.scm (upstream-input-type-predicate) (input-type-filter, upstream-source-regular-inputs) (upstream-source-native-inputs, upstream-source-propagated-inputs): New procedures. (changed-inputs): Expect an <upstream-source> as its second argument. Adjust accordingly. * guix/import/pypi.scm (distribution-sha256): New procedure. (maybe-inputs): Expect a list of <upstream-input>. (compute-inputs): Rewrite to return a list of <upstream-input>. (pypi-package-inputs, pypi-package->upstream-source): New procedures. (make-pypi-sexp): Use it. * guix/import/stackage.scm (latest-lts-release): Define 'cabal'. Replace 'input-changes' field by 'inputs'. * guix/scripts/refresh.scm (update-package): Use 'changed-inputs' instead of 'upstream-source-input-changes'. * tests/cran.scm ("description->package"): Adjust order of inputs. * tests/pypi.scm (default-sha256, default-sha256/base32): New variables. (foo-json): Add 'digests' entry. ("pypi->guix-package, no wheel"): Check HASH against DEFAULT-SHA256/BASE32. ("pypi->guix-package, wheels"): Likewise. ("pypi->guix-package, no usable requirement file."): Likewise. ("pypi->guix-package, package name contains \"-\" followed by digits"): Likewise. ("package-latest-release"): New test. * tests/upstream.scm (test-package-sexp): Remove. ("changed-inputs returns no changes"): Rewrite to use <upstream-source>. (test-new-package-sexp): Remove. ("changed-inputs returns changes to plain input list"): Rewrite. ("changed-inputs returns changes to all plain input lists"): Likewise. ("changed-inputs returns changes to labelled input list") ("changed-inputs returns changes to all labelled input lists"): Remove. * guix/import/cran.scm (maybe-inputs): Expect PACKAGE-INPUTS to be a list of <upstream-input>. (source-dir->dependencies): Return a list of <upstream-input>. (vignette-builders): Likewise. (uri-helper, cran-package-source-url) (cran-package-propagated-inputs, cran-package-inputs): New procedures. (description->package): Use them instead of local definitions. (latest-cran-release): Replace 'input-changes' field by 'inputs'. (latest-bioconductor-release): Likewise. (format-inputs): Remove. * guix/import/hackage.scm (cabal-package-inputs): New procedure. (hackage-module->sexp): Use it. [maybe-inputs]: Expect a list of <upstream-input>. Ludovic Courtès
2023-05-31doc: Mention 'guix refresh -u' for third-party channels....* doc/guix.texi (Invoking guix refresh): Show how to run 'guix refresh -u' on a third-party channel. Ludovic Courtès
2023-05-31import: json: Add #:timeout to 'json-fetch'....* guix/import/json.scm (json-fetch): Add #:timeout and pass it to 'http-fetch'. Ludovic Courtès
2023-05-31import: utils: 'call-with-networking-exception-handler' doesn't unwind....That way backtraces show where the error actually originates from. * guix/import/utils.scm (call-with-networking-exception-handler): Rewrite using 'with-exception-handler'. Ludovic Courtès
2023-05-31tests: pypi: Rewrite tests using a local HTTP server....* guix/import/pypi.scm (%pypi-base-url): New variable. (pypi-fetch): Use it. * tests/pypi.scm (foo-json): Compute URLs relative to '%local-url'. (test-json-1, test-json-2, test-source-hash): Remove. (file-dump): New procedure. (with-pypi): New macro. ("pypi->guix-package, no wheel") ("pypi->guix-package, wheels") ("pypi->guix-package, no usable requirement file.") ("pypi->guix-package, package name contains \"-\" followed by digits"): Rewrite using 'with-pypi'. Ludovic Courtès
2023-05-31tests: http: Allow responses to specify a path....* guix/tests/http.scm (%local-url): Add #:path parameter and honor it. (call-with-http-server)[responses]: Add extra clause with 'path'. [bad-request]: New variable. [server-body]: Handle three-element clauses. Wrap 'run-server' call in 'parameterize'. Ludovic Courtès
2023-05-31tests: pypi: Factorize tarball and wheel file creation....* tests/pypi.scm (sample-directory): New variable. (pypi-tarball, wheel-file): New procedures. ("pypi->guix-package, no wheel") ("pypi->guix-package, wheels") ("pypi->guix-package, no usable requirement file.") ("pypi->guix-package, package name contains \"-\" followed by digits"): Use them. Ludovic Courtès
2023-05-31transformations: Add "--tune" to "--help-transform"....* guix/transformations.scm (show-transformation-options-help/detailed): Add '--tune'. Ludovic Courtès
2023-05-31nls: Update translation keys for guix gc....* po/*/*.po (guix/scripts/gc.scm): Round MiBs in user feedback. Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de> Remco van 't Veer
2023-05-31guix gc: Round MiBs in user feedback....* guix/scripts/gc.scm (guix-gc): Round MiBs in user feedback. Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de> Remco van 't Veer
2023-05-31gnu: r-desctools: Update to 0.99.49....* gnu/packages/statistics.scm (r-desctools): Update to 0.99.49. [propagated-inputs]: Add r-withr. Ricardo Wurmus
2023-05-31gnu: r-rrcov: Update to 1.7-3....* gnu/packages/statistics.scm (r-rrcov): Update to 1.7-3. Ricardo Wurmus
2023-05-31gnu: r-rcpparmadillo: Update to 0.12.4.0.0....* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.12.4.0.0. Ricardo Wurmus
2023-05-31gnu: r-knitr: Update to 1.43....* gnu/packages/statistics.scm (r-knitr): Update to 1.43. Ricardo Wurmus
2023-05-31gnu: r-markdown: Update to 1.7....* gnu/packages/statistics.scm (r-markdown): Update to 1.7. Ricardo Wurmus
2023-05-31gnu: r-matrix: Update to 1.5-4.1....* gnu/packages/statistics.scm (r-matrix): Update to 1.5-4.1. Ricardo Wurmus
2023-05-31gnu: r-cartogram: Update to 0.3.0....* gnu/packages/cran.scm (r-cartogram): Update to 0.3.0. Ricardo Wurmus
2023-05-31gnu: r-zoib: Update to 1.6....* gnu/packages/cran.scm (r-zoib): Update to 1.6. Ricardo Wurmus
2023-05-31gnu: r-crul: Update to 1.4.0....* gnu/packages/cran.scm (r-crul): Update to 1.4.0. Ricardo Wurmus
2023-05-31gnu: r-dismo: Update to 1.3-14....* gnu/packages/cran.scm (r-dismo): Update to 1.3-14. Ricardo Wurmus
2023-05-31gnu: r-rgeos: Update to 0.6-3....* gnu/packages/cran.scm (r-rgeos): Update to 0.6-3. Ricardo Wurmus
2023-05-31gnu: r-tzdb: Update to 0.4.0....* gnu/packages/cran.scm (r-tzdb): Update to 0.4.0. Ricardo Wurmus
2023-05-31gnu: r-lwgeom: Update to 0.2-13....* gnu/packages/cran.scm (r-lwgeom): Update to 0.2-13. Ricardo Wurmus
2023-05-31gnu: r-mlr3pipelines: Update to 0.5.0-1....* gnu/packages/cran.scm (r-mlr3pipelines): Update to 0.5.0-1. [native-inputs]: Add r-knitr. Ricardo Wurmus
2023-05-31gnu: r-mlr3misc: Update to 0.12.0....* gnu/packages/cran.scm (r-mlr3misc): Update to 0.12.0. Ricardo Wurmus
2023-05-31gnu: r-scattermore: Update to 1.1....* gnu/packages/cran.scm (r-scattermore): Update to 1.1. Ricardo Wurmus
2023-05-31gnu: r-igraph: Update to 1.4.3....* gnu/packages/cran.scm (r-igraph): Update to 1.4.3. Ricardo Wurmus
2023-05-31gnu: r-confintr: Update to 1.0.1....* gnu/packages/cran.scm (r-confintr): Update to 1.0.1. Ricardo Wurmus
2023-05-31gnu: r-spatstat: Update to 3.0-6....* gnu/packages/cran.scm (r-spatstat): Update to 3.0-6. Ricardo Wurmus
2023-05-31gnu: r-spatstat-random: Update to 3.1-5....* gnu/packages/cran.scm (r-spatstat-random): Update to 3.1-5. Ricardo Wurmus
2023-05-31gnu: r-spatstat-linnet: Update to 3.1-1....* gnu/packages/cran.scm (r-spatstat-linnet): Update to 3.1-1. Ricardo Wurmus
2023-05-31gnu: r-spatstat-geom: Update to 3.2-1....* gnu/packages/cran.scm (r-spatstat-geom): Update to 3.2-1. Ricardo Wurmus
2023-05-31gnu: r-spatstat-utils: Update to 3.0-3....* gnu/packages/cran.scm (r-spatstat-utils): Update to 3.0-3. Ricardo Wurmus
2023-05-31gnu: r-spatstat-model: Update to 3.2-4....* gnu/packages/cran.scm (r-spatstat-model): Update to 3.2-4. Ricardo Wurmus
2023-05-31gnu: r-spatstat-explore: Update to 3.2-1....* gnu/packages/cran.scm (r-spatstat-explore): Update to 3.2-1. Ricardo Wurmus
2023-05-31gnu: r-scatterpie: Update to 0.2.0....* gnu/packages/cran.scm (r-scatterpie): Update to 0.2.0. Ricardo Wurmus
2023-05-31gnu: r-qgraph: Update to 1.9.5....* gnu/packages/cran.scm (r-qgraph): Update to 1.9.5. Ricardo Wurmus
2023-05-31gnu: r-stanheaders: Update to 2.26.25....* gnu/packages/cran.scm (r-stanheaders): Update to 2.26.25. Ricardo Wurmus
2023-05-31gnu: r-quanteda: Update to 3.3.1....* gnu/packages/cran.scm (r-quanteda): Update to 3.3.1. Ricardo Wurmus
2023-05-31gnu: r-influencer: Update to 0.1.5....* gnu/packages/cran.scm (r-influencer): Update to 0.1.5. Ricardo Wurmus
2023-05-31gnu: r-biclust: Update to 2.0.3.1....* gnu/packages/cran.scm (r-biclust): Update to 2.0.3.1. Ricardo Wurmus
2023-05-31gnu: r-imager: Update to 0.45.2....* gnu/packages/cran.scm (r-imager): Update to 0.45.2. Ricardo Wurmus
2023-05-31gnu: r-fda: Update to 6.1.4....* gnu/packages/cran.scm (r-fda): Update to 6.1.4. Ricardo Wurmus
2023-05-31gnu: r-treemap: Update to 2.4-4....* gnu/packages/cran.scm (r-treemap): Update to 2.4-4. Ricardo Wurmus
2023-05-31gnu: r-tuner: Update to 1.4.4....* gnu/packages/cran.scm (r-tuner): Update to 1.4.4. Ricardo Wurmus