summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAge
...
* build-system/gnu: Fix 'install' phase of 'gnu-dist'.Ludovic Courtès2020-06-18
| | | | | * guix/build/gnu-dist.scm (install-dist): Fix 2nd argument to 'for-each'.
* repl: Fix typo that would lead ~/.guile to be used when running scripts.Ludovic Courtès2020-06-18
| | | | | | | This is a followup to c924e541390f9595d819edc33c19d979917c15ec. * guix/scripts/repl.scm (guix-repl)[opts]: Set 'ignore-dot-guile?', with question mark.
* channels: Warn when pulling from a mirror.Ludovic Courtès2020-06-17
| | | | | | | | | * guix/channels.scm (<channel-metadata>)[url]: New field. (read-channel-metadata): Initialize it. (read-channel-metadata-from-source): Likewise. (channel-instance-primary-url): New procedure. (latest-channel-instances): Compare CHANNEL's URL against it. * doc/guix.texi (Channels)[Primary URL]: New subsection.
* build-system/gnu: Rename "make dist" phase to 'build-dist'.Ludovic Courtès2020-06-17
| | | | | * guix/build/gnu-dist.scm (%dist-phases): Add BUILD under the name 'build-dist'.
* build-system/gnu: Simplify 'dist-package'.Ludovic Courtès2020-06-17
| | | | | * guix/build-system/gnu.scm (dist-package): Use default keyword arguments in 'substitute-keyword-arguments'.
* build-system/gnu: Remove redundant 'unpack' phase from 'gnu-dist'.Ludovic Courtès2020-06-17
| | | | | | | | This has become redundant with the standard 'unpack' phase since 17919a58012c38052133ed029450fdb98d01fb5c. * guix/build/gnu-dist.scm (copy-source): Remove. (%dist-phases): Remove 'unpack' phase.
* build-system/gnu: Remove Hydra-specific code from 'gnu-dist'.Ludovic Courtès2020-06-17
| | | | | * guix/build/gnu-dist.scm (install-dist): Remove code for 'hydra-build-products'.
* build-system/gnu: Remove 'autoreconf' phase from 'gnu-dist'.Ludovic Courtès2020-06-17
| | | | | | | | This has been superseded by the 'bootstrap' phase added in 189be331acfda1c242a9c85fca8d2a0356742f48. * guix/build/gnu-dist.scm (autoreconf): Remove. (%dist-phases): Remove it.
* build-system/gnu: Adjust 'dist-package' to current 'autoconf-wrapper' API.Ludovic Courtès2020-06-17
| | | | | | This is a followup to 464f5447396fcec9b43f7eab71d5d42b522a157f. * guix/build-system/gnu.scm (dist-package): Do not call 'autoconf-wrapper'.
* profiles: Add comment at the top of 'manifest' file.Ludovic Courtès2020-06-17
| | | | | * guix/build/profiles.scm (build-profile): Add comment at the top of MANIFEST-FILE.
* time-machine: Add '--disable-authentication'.Ludovic Courtès2020-06-16
| | | | | | | | | * guix/inferior.scm (cached-channel-instance): Add #:authenticate? and pass it to 'latest-channel-instances'. * guix/scripts/time-machine.scm (show-help, %options): Add '--disable-authentication'. (%default-options): Add 'authenticate-channels?'. (guix-time-machine): Honor it.
* pull: Add '--disable-authentication'.Ludovic Courtès2020-06-16
| | | | | | | | | | * guix/channels.scm (latest-channel-instance): Add #:authenticate? and honor it. (latest-channel-instances): Likewise. * guix/scripts/pull.scm (%default-options): Add 'authenticate-channels?'. (show-help, %options): Add '--disable-authentication'. (guix-pull): Pass #:authenticate? to 'latest-channel-instances'. * doc/guix.texi (Invoking guix pull): Document it.
* channels: Automatically add introduction for the official 'guix' channel.Ludovic Courtès2020-06-16
| | | | | | | | | | This is useful when people run "guix time-machine -C channels.scm", where 'channels.scm' misses channel introductions. * guix/channels.scm (%default-channel-url): New variable. (%default-channels): Use it. (ensure-default-introduction): New procedure. (latest-channel-instance): Call it.
* channels: Make 'validate-pull' call right after clone/pull.Ludovic Courtès2020-06-16
| | | | | | | | | | | | | | This should come before patching, authentication, etc. * guix/channels.scm (latest-channel-instance): Add #:validate-pull parameter and honor it. Return a single value: the instance. (ensure-forward-channel-update): Change 'instance' parameter to 'commit' and adjust accordingly. (latest-channel-instances): Adjust to 'latest-channel-instance' changes. * guix/scripts/pull.scm (warn-about-backward-updates): Change 'instance' parameter to 'commit' and adjust accordingly. * tests/channels.scm ("latest-channel-instances #:validate-pull"): Likewise.
* channels: 'latest-channel-instance' authenticates Git checkouts.Ludovic Courtès2020-06-16
| | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/22883>. * guix/channels.scm (<channel>)[introduction]: New field. (<channel-introduction>): New record type. (%guix-channel-introduction): New variable. (%default-channels): Use it. (<channel-metadata>)[keyring-reference]: New field. (%default-keyring-reference): New variable. (read-channel-metadata, read-channel-metadata-from-source): Initialize the 'keyring-reference' field. (commit-short-id, verify-introductory-commit) (authenticate-channel): New procedures. (latest-channel-instance): Call 'authenticate-channel' when CHANNEL has an introduction. * tests/channels.scm (gpg+git-available?, commit-id-string): New procedures. ("authenticate-channel, wrong first commit signer"): ("authenticate-channel, .guix-authorizations"): New tests. * doc/guix.texi (Invoking guix pull): Mention authentication.
* tests: Move OpenPGP helpers to (guix tests gnupg).Ludovic Courtès2020-06-16
| | | | | | | | * tests/git-authenticate.scm (key-id): Remove. (%ed25519-public-key-file, %ed25519-secret-key-file) (%ed25519bis-public-key-file, %ed25519bis-secret-key-file) (read-openpgp-packet, key-fingerprint): Move to... * guix/tests/gnupg.scm: ... here.
* git-authenticate: 'authenticate-commits' takes a #:keyring parameter.Ludovic Courtès2020-06-16
| | | | | * guix/git-authenticate.scm (authenticate-commits): Add #:keyring parameter.
* git-authenticate: Cache takes a key parameter.Ludovic Courtès2020-06-16
| | | | | | | | * guix/git-authenticate.scm (authenticated-commit-cache-file) (cache-authenticated-commit, previously-authenticated-commits): Add 'key' parameter and honor it. * build-aux/git-authenticate.scm (git-authenticate): Pass "channels/guix" as the key.
* build-system: cmake: Add substitutable keyword.Efraim Flashner2020-06-16
| | | | | * guix/build-system/cmake.scm (cmake-build, cmake-cross-build): Add substitutable keyword.
* pack: Add zstd compressor.Tobias Geerinckx-Rice2020-06-16
| | | | | * guix/scripts/pack.scm (%compressors): Add zstd. * doc/guix.texi (Invoking guix pack): Document it.
* ui: Use package-description-string.Arun Isaac2020-06-15
| | | | | * guix/ui.scm (package->recutils): Use package-description-string instead of package-description and P_.
* ui: Do not translate package synopsis a second time.Arun Isaac2020-06-15
| | | | | * guix/ui.scm (package->recutils): package-synopsis-string already returns a translated string. Do not attempt to translate it again.
* ui: Cut off search early if any regexp does not match.Arun Isaac2020-06-15
| | | | | * guix/ui.scm (relevance): When one of the regexps does not match, cut off early and return 0. Do not try to match the remaining regexps.
* ci: Add build-products id field and export accessors.Mathieu Othacehe2020-06-15
| | | | | | | * guix/ci.scm (build-product?, build-product-id, build-product-type, build-product-file-size, build-product-path): Export them, [id]: new field.
* ci: Add status option to "latest-builds".Mathieu Othacehe2020-06-15
| | | | * guix/ci.scm (latest-builds): Add "status" option.
* download: Remove usa-mirror.go-parts.com mirror.Tobias Geerinckx-Rice2020-06-15
| | | | | | It incorrectly redirects 404s (at least) to the commercial home page. * guix/download.scm (%mirrors): Remove usa-mirror.go-parts.com URLs.
* ci: Fix buildproducts reading.Mathieu Othacehe2020-06-15
| | | | | | | This is a follow-up of 4e05bbb093a17145fcabd48ea1d2c9cd7559084d. * guix/ci.scm (<build>)[products]: Test for vector type, as products can be "null".
* ci: Add job option to "latest-builds".Mathieu Othacehe2020-06-15
| | | | * guix/ci.scm (latest-builds): Add "job" option.
* ci: Add build products support.Mathieu Othacehe2020-06-15
| | | | | * guix/ci.scm (<build-product>): New json mapping, (<build)[products]: new field.
* guix repl: Add script execution.Konrad Hinsen2020-06-14
| | | | | | | | | * guix/scripts/repl.scm: Add filename options for script execution. * doc/guix.texi (Invoking guix repl): Document it. * tests/guix-repl.sh: Test it. * Makefile.am: (SH_TESTS): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* scripts: system: Fix "init" command.Mathieu Othacehe2020-06-14
| | | | | | | | This is a follow-up of 7ca533c7237622d70b423033c4506217d9ce4014. The introduced "target" variable is shadowing the target argument. * guix/scripts/system.scm (perform-action): Rename "target" variable to "target*".
* lint: Add 'check-for-collisions' checker.Ludovic Courtès2020-06-14
| | | | | | | | | | | | Suggested by Edouard Klein <edk@beaver-labs.com>. * guix/profiles.scm (check-for-collisions): Export. * guix/lint.scm (check-profile-collisions): New procedure. (%local-checkers): Add 'profile-collisions' checker. * tests/lint.scm ("profile-collisions: no warnings") ("profile-collisions: propagated inputs collide") ("profile-collisions: propagated inputs collide, store items"): New tests. * doc/guix.texi (Invoking guix lint): Document it.
* profiles: Fix pathological performance of 'manifest-transitive-entries'.Ludovic Courtès2020-06-14
| | | | | | | | | | | | | | For packages with lots of propagated inputs, 'manifest-transitive-entries', as called from 'check-for-collisions', would exhibit pathological behavior. For example, "guix install cl-ana" wouldn't complete in 1mn; now, it's down to 20s. The issue was that manifest entries would never be 'equal?' due to the delayed field in <manifest-entry>. * guix/profiles.scm (manifest-transitive-entries): Use a vhash instead of a set. Use 'manifest-entry=?' instead of 'equal?' when checking for equality.
* ui: Set 'LESS' environment variable unconditionally.Ludovic Courtès2020-06-14
| | | | | | | | Fixes <https://bugs.gnu.org/41811>. Reported by Lars-Dominik Braun <lars@6xq.net>. * guix/ui.scm (call-with-paginated-output-port): Remove (getenv "LESS") call.
* Merge branch 'staging'Marius Bakke2020-06-13
|\
| * Merge branch 'master' into stagingMarius Bakke2020-06-11
| |\
| * \ Merge branch 'master' into stagingMarius Bakke2020-06-08
| |\ \
| * \ \ Merge branch 'master' into stagingMarius Bakke2020-06-06
| |\ \ \
| * \ \ \ Merge branch 'master' into stagingMarius Bakke2020-05-29
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into stagingMarius Bakke2020-05-26
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into stagingMarius Bakke2020-05-26
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' into stagingMarius Bakke2020-05-26
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' into stagingJakub Kądziołka2020-04-29
| |\ \ \ \ \ \ \ \
| * | | | | | | | | build-system/go: Allow providing additional build flagsJakub Kądziołka2020-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/go.scm (build-flags): New argument. * guix/build/go-build-system.scm (build): Use apply to pass the additional arguments to invoke.
| * | | | | | | | | Merge branch 'master' into stagingJakub Kądziołka2020-03-29
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | cargo-build-system: Accept a #:features argumentJakub Kądziołka2020-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/cargo-build-system.scm (build, install): Pass the features to cargo. (check): Remove indirection layer for consistency with build and install. * guix/build-system/cargo.scm (cargo-build): New argument; pass it into the builder. * gnu/packages/rust-apps.scm (ripgrep): Use the new argument instead of a custom phase.
* | | | | | | | | | | image: Make 'find-image' non-monadic.Jan (janneke) Nieuwenhuizen2020-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/system/image.scm (find-image): Make non-monadic. Add 'target' parameter. * gnu/tests/install.scm (run-install): Update caller, passing (%current-target-system). * guix/scripts/system.scm (perform-action): Likewise.
* | | | | | | | | | | guix: Update to Bioconductor 3.11.Ricardo Wurmus2020-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/r.scm (bioconductor-uri): Use new URL. * guix/import/cran.scm (%bioconductor-version): Update to 3.11.
* | | | | | | | | | | lint: check-patch-file-names: Use origin-actual-file-name.Christopher Baines2020-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids crashes for the patch-file-names checker where a <origin> is used for a patch, but without a value for the file-name field. This is currently the case with the bash package. * guix/lint.scm (check-patch-file-names): Change origin-file-name to origin-actual-file-name.
* | | | | | | | | | | git-authenticate: Disallow SHA1 (and MD5) signatures.Ludovic Courtès2020-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/git-authenticate.scm (commit-signing-key): Add #:disallowed-hash-algorithms and honor it. (authenticate-commit)[recent-commit?]: New variable. Pass #:disallowed-hash-algorithms to 'commit-signing-key'. * tests/git-authenticate.scm ("signed commits, SHA1 signature"): New test.