summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAge
...
| * pull: Use ~/.cache/guix/checkouts instead of ~/.cache/guix/pull.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | | | | | Previously 'channel-news-for-commit' would use the former while 'guix pull' would use the latter. Consequently, the first 'guix pull -N' would clone the repository anew. * guix/scripts/pull.scm (guix-pull): Remove 'cache', and leave %REPOSITORY-CACHE-DIRECTORY to its default value.
| * gexp: Remove unused procedure.Ludovic Courtès2019-09-23
| | | | | | | | * guix/gexp.scm (syntax-location-string): Remove.
| * gexp: Catch and report non-self-quoting gexp inputs.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | | | | | | | | | Previously we would, for example, generate build scripts in the store; when trying to run them, we'd get a 'read' error due to the presence of #<foo> syntax in there. * guix/gexp.scm (gexp->sexp)[self-quoting?]: New procedure. [reference->sexp]: Check whether the argument in a <gexp-input> box is self-quoting. Raise a '&gexp-input-error' condition if it's not. * tests/gexp.scm ("lower-gexp, non-self-quoting input"): New test.
| * repl, marionette: 'self-quoting?' matches keywords.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | * guix/repl.scm (self-quoting?): Add 'keyword?' and 'array?'; remove 'vector?' and 'bytevector?'. * gnu/tests.scm (marionette-shepherd-service) <start>: Likewise. <modules>: Remove (rnrs bytevector).
| * show, search: Add '--load-path'.Ludovic Courtès2019-09-23
| | | | | | | | | | * guix/scripts/search.scm (show-help, %options): Add -L/--load-path. * guix/scripts/show.scm (show-help, %options): Add -L/--load-path.
| * build: ruby-build-system: Fix typo.Vagrant Cascadian2019-09-23
| | | | | | | | * guix/build/ruby-build-system: Fix spelling of "invocation".
| * import: stackage: Fix typo.Vagrant Cascadian2019-09-23
| | | | | | | | * guix/import/stackage: Fix spelling of "version".
| * inferior: Fix typo.Vagrant Cascadian2019-09-23
| | | | | | | | * guix/inferior: Fix spelling of "specifications".
| * lint: Fix typo.Vagrant Cascadian2019-09-23
| | | | | | | | * guix/lint: Fix spelling of "mentioning".
| * scripts: container: Fix typo.Vagrant Cascadian2019-09-23
| | | | | | | | * guix/scripts/container/exec (show-help): Fix spelling of COMMAND.
| * deploy: Add '--verbosity' and properly interpret build log.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | This is a followup to 91300526b7d9d775bd98a700ed3758420ef9eac6. * guix/scripts/deploy.scm (show-help, %options): Add '--verbosity'. (guix-deploy): Wrap 'with-store' in 'with-status-verbosity'.
| * pull: Display news titles directly upon 'pull'.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/pull.scm (display-profile-news): Return true when there's more to display. (display-news-entry-title): New procedure. (display-news-entry): Use it. (display-channel-specific-news): Return true when there's more to display. (display-channel-news-headlines): New procedure. (build-and-install): Call it. When 'display-channel-news-headlines' or 'display-profile-news' returns #t, print a hint to run "pull --news". (display-new/upgraded-packages): Return true when there's more to display.
| * pull: '-l' displays channel news.Ludovic Courtès2019-09-23
| | | | | | | | | | | | * guix/scripts/pull.scm (display-channel-news): Make 'previous' a parameter. (process-query)[list-generations]: Call 'display-channel-news'.
| * pull: Display channel news.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | | | * guix/scripts/pull.scm (display-news-entry) (display-channel-specific-news): New procedures. (display-channel-news): Call it. (display-new/upgraded-packages): Adjust hint message. * doc/guix.texi (Invoking guix pull): Mention it.
| * ui: Add 'current-message-language'.Ludovic Courtès2019-09-23
| | | | | | | | | | * guix/ui.scm (%default-message-language): New variable. (current-message-language): New procedure.
| * channels: Allow news entries to refer to a tag.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by Ricardo Wurmus <rekado@elephly.net>. * guix/channels.scm (<channel-news-entry>)[tag]: New field. (sexp->channel-news-entry): Accept either 'commit' or 'tag' in 'entry' forms. (resolve-channel-news-entry-tag): New procedure. (channel-news-for-commit): Move 'with-repository' form one level higher. Call 'resolve-channel-news-entry-tag' on all the news entries. * guix/tests/git.scm (populate-git-repository): Add clause for 'tag'. * tests/channels.scm ("channel-news, one entry"): Create a tag and add an entry with a tag. Check that the tag is resolved and also visible in the <channel-news-entry> record. * doc/guix.texi (Channels): Mention tags in news entries.
| * channels: Add support for a news file.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/channels.scm (<channel-metadata>)[news-file]: New field. (read-channel-metadata): Set the 'news-file' field. (read-channel-metadata-from-source): Likewise. (<channel-news>, <channel-news-entry>): New record types. (sexp->channel-news-entry, read-channel-news) (channel-news-for-commit): New procedures. * guix/tests/git.scm (populate-git-repository): For 'add', allow CONTENTS to be a procedure. * tests/channels.scm ("channel-news, no news") ("channel-news, one entry"): New tests. * doc/guix.texi (Channels): Document it.
| * git: Add 'commit-difference'.Ludovic Courtès2019-09-23
| | | | | | | | | | | | | | * guix/git.scm (commit-closure, commit-difference): New procedures. * guix/tests/git.scm, tests/git.scm: New files. * Makefile.am (dist_noinst_DATA): Add guix/tests/git.scm. (SCM_TESTS): Add tests/git.scm.
| * git: 'update-cached-checkout' avoids network access when unnecessary.Ludovic Courtès2019-09-23
| | | | | | | | | | | | * guix/git.scm (reference-available?): New procedure. (update-cached-checkout): Avoid call to 'remote-fetch' when REPOSITORY already contains REF.
| * pull: '--news' shows the list of channels added or removed.Ludovic Courtès2019-09-23
| | | | | | | | | | | | * guix/scripts/pull.scm (display-channel, channel=?) (display-channel-news, display-news): New procedures. (process-query): Call 'display-news' instead of 'display-profile-news'.
| * guix package: '--show' ignores deprecated packages.Ludovic Courtès2019-09-21
| | | | | | | | | | | | * guix/scripts/package.scm (process-query) <'show>: Remove superseded packages. * tests/guix-package-aliases.sh: Add test.
| * guix package: Add 'guix show' alias.zimoun2019-09-21
| | | | | | | | | | | | | | | | | | | | * guix/scripts/show.scm: New file. * Makefile.am (MODULES): Add it. * po/guix/POTFILES.in: Add it. * tests/guix-package-aliases.sh: Add test. * doc/guix.texi (Invoking guix package): Document it and use it in a example. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * inferior: Propagate '&store-protocol-error' error conditions.Ludovic Courtès2019-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now '&store-protocol-error' conditions raised in the inferior would not be correctly propagated because SRFI-35 records lack a read syntax. Reported at <https://bugs.gnu.org/37449> by Carl Dong <contact@carldong.me>. * guix/inferior.scm (port->inferior): Import (srfi srfi-34) in the inferior. (inferior-eval-with-store): Define 'error?' and 'error-message'. Wrap call to PROC in 'guard'. Check the response of INFERIOR for a 'store-protocol-error' or a 'result' tag. * tests/inferior.scm ("inferior-eval-with-store, &store-protocol-error"): New test.
| * import/github: Check for more version prefixes.Efraim Flashner2019-09-20
| | | | | | | | | | * guix/import/github.scm (latest-released-version): Allow the version string to begin with the word 'version'.
| * ui: 'relevance' connects regexps with a logical and.zimoun2019-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/36763>. Previously, the logical and connecting the regexps did not output the expected results (introduced in 8874faaaac665100a095ef25e39c9a389f5a397f). * guix/ui.scm (relevance) [score]: Change its arguments. [regexp->score]: New procedure. * tests/ui.scm ("package-relevance"): Add test. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * scripts: pull: Add options for generation managementKonrad Hinsen2019-09-18
| | | | | | | | | | | | | | | | | | | | | | * guix/scripts/pull.scm (%options) Add --roll-back, --switch-generation, --delete-generations (process-generation-change): New function (guix-pull): Execute generation management operations * doc/guix.texi: Document the generation management operations Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * pull: Work around Ubuntu's 'sudo'.Ludovic Courtès2019-09-18
| | | | | | | | | | | | | | | | Partly fixes <https://bugs.gnu.org/36785>. Reported by Julien Lepiller <julien@lepiller.eu>. * guix/scripts/pull.scm (ensure-default-profile): Do not call 'migrate-generations' when "SUDO_USER" is set.
| * import: pypi: Refresher recognizes pythonhosted.org source URLs.Ludovic Courtès2019-09-18
| | | | | | | | | | | | | | | | | | | | This is a followup to a5376200541abf8245973e601be246bf65b8b6c7. Since that commit, 'pypi-package?' would return false for most Python packages, and thus "guix refresh python-xxx" would report that no updaters apply to the package. * guix/import/pypi.scm (pypi-package?)[pypi-url?]: Recognize "files.pythonhosted.org" URLs.
| * guix package: "guix package -f FILE" ensures FILE returns a package.Ludovic Courtès2019-09-18
| | | | | | | | | | | | * guix/scripts/package.scm (options->installable): Add clause for 'install option with a non-package object. * tests/guix-package.sh: Add test.
* | Merge branch 'master' into core-updatesLudovic Courtès2019-09-17
|\|
| * Revert "build-system/r: Use %bioconductor-version."Efraim Flashner2019-09-16
| | | | | | | | | | | | This reverts commit 41ca406fa54e69f61c55b11ffe5cf465192a907c. This commit breaks 'guix pull', as reported by Hao Chen.
| * build-system/r: Use %bioconductor-version.Ricardo Wurmus2019-09-16
| | | | | | | | | | * guix/build-system/r.scm (bioconductor-uri): Use %bioconductor-version instead of hard-coding the version string.
| * import/cran: Export %bioconductor-version.Ricardo Wurmus2019-09-16
| | | | | | | | * guix/import/cran.scm (%bioconductor-version): Export it.
| * pack: Provide a meaningful "repository name" for Docker.Ludovic Courtès2019-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, images produced by 'guix pack -f docker' would always show up as "profile" in the output of 'docker images'. With this change, 'docker images' shows a name constructed from the packages found in the image--e.g., "bash-coreutils-grep-sed". * guix/docker.scm (canonicalize-repository-name): New procedure. (generate-tag): Remove. (manifest): Add optional 'tag' parameter and honor it. (repositories): Likewise. (build-docker-image): Add #:repository parameter and pass it to 'manifest' and 'repositories'. * guix/scripts/pack.scm (docker-image)[build]: Compute 'tag' and pass it as #:repository to 'build-docker-image'.
| * pack: Add packages in the order in which they appear on the command line.Ludovic Courtès2019-09-16
| | | | | | | | | | * guix/scripts/pack.scm (guix-pack)[manifest-from-args](packages): Reverse order of packages taken from OPTS.
| * import/utils: beautify-description: Recognize more fragments.Ricardo Wurmus2019-09-14
| | | | | | | | | | * guix/import/utils.scm (beautify-description): Handle additional common initial sentence fragments in descriptions.
| * build-system/cargo: Remove unused function.Efraim Flashner2019-09-13
| | | | | | | | * guix/build/cargo-build-system.scm (touch): Remove it.
| * build-system/cargo: Use 'strip-store-file-name'.Efraim Flashner2019-09-13
| | | | | | | | | | | | | | This is a follow-up to f58b2f38e4dfdbb8473fb2816d44fae6ad9cbc79. * guix/build/cargo-build-system.scm (configure): Use bespoke 'strip-store-file-name' function.
| * file-systems: Add /var/run/nscd to '%network-file-mappings'.Ludovic Courtès2019-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows containers created by "guix environment -CN" or by "guix system container -N" to talk to the host nscd. * gnu/system/file-systems.scm (%network-file-mappings): Add "/var/run/nscd". * gnu/build/shepherd.scm (default-mounts)[nscd-socket]: Remove. * gnu/system/linux-container.scm (container-script)[nscd-run-directory] [nscd-mapping, nscd-os, nscd-specs]: Remove. [script]: Filter out from SPECS bind-mounts where the device does not exist. * guix/scripts/environment.scm (launch-environment/container) [optional-mapping->fs]: New procedure. [mappings]: Remove %NETWORK-FILE-MAPPINGS. [file-systems]: Add %NETWORK-FILE-MAPPINGS here, filtered through 'optional-mapping->fs'.
| * build: cargo-build-system: Strip store hash from vendor-dir.Efraim Flashner2019-09-12
| | | | | | | | | | * guix/build/cargo-build-system.scm (configure): When copying the sources into the vendor-dir strip off the hash before the package name.
| * import: KDE updater finds packages even in sub-directory.Hartmut Goebel2019-09-10
| | | | | | | | | | | | | | | | | | | | | | | | Fixes <http://issues.guix.gnu.org/issue/30345> and finally fixes <http://issues.guix.gnu.org/issue/25020>. Formerly packages living in a path like /stable/frameworks/5.60/portingAids/kross-5.60.0.tar.xz have not been found. * guix/import/kde.scm (uri->kde-path-pattern): New procedure. (latest-kde-release): Use pattern to search for file.
| * upstream: Move KDE updater into a separate module.Hartmut Goebel2019-09-10
| | | | | | | | | | | | | | | | | | As it was done for (guix import gnome). * guix/import/kde.scm: New file. * Makefile.am (MODULES): Add it. * guix/gnu-maintenance.scm (%kde-updater) (%kde-file-list-uri) (download.kde.org-files) (latest-kde-release): Remove.
| * gnu-maintenance: KDE updater no longer relies on FTP access.Hartmut Goebel2019-09-10
| | | | | | | | | | | | | | | | | | | | Fetch the ls-lR.bz2 file list for download.kde.org, convert it into a list of file paths and cache the list. * guix/gnu-maintenance.scm (%kde-file-list-uri): New variable. (download.kde.org-files): New procedure. (latest-kde-release): Change to use DOWNLOAD.KDE.ORG-FILES and search for files in this list.
| * guix: Rename and move sans-extension to tarball-sans-extension.Hartmut Goebel2019-09-10
| | | | | | | | | | * guix/gnu-maintenance.scm (sans-extension): Move and rename to ... * guix/utils.scm (tarball-sans-extension): ... here.
| * import: crate: Allow imports of a specific version.Martin Becze2019-09-10
| | | | | | | | | | | | | | | | | | | | | | * guix/import/crate.scm (crate->guix-package): Add optional 'version' argument and honor it. * guix/scripts/import/crate.scm (guix-import-crate): Assume the first argument is a spec and destructure it with 'package-name->name+version'. Pass both to 'crate->guix-package'. * doc/guix.texi (Invoking guix import): Document it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| * refresh: Distinguish between "no updater" and "failing updater".Ludovic Courtès2019-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously, something like "guix refresh texmacs" would report "no updater". Now, it reports that the 'gnu-ftp' updater failed to list releases. * guix/upstream.scm (lookup-updater): Use 'find' instead of 'any' to return the <upstream-updater>. (package-latest-release): Adjust accordingly. * guix/scripts/refresh.scm (check-for-package-update): When 'package-latest-release' returns #f, distinguish between "no updater" and "failing updater".
| * packages: 'package-field-location' really catches 'system-error.Ludovic Courtès2019-09-10
| | | | | | | | | | | | | | This had been wrong since forever (i.e., 2013). * guix/packages.scm (package-field-location): Catch 'system-error, not 'system.
| * import: github: Fix incorrect no-release case.Ludovic Courtès2019-09-08
| | | | | | | | | | | | | | | | | | | | This is a followup to 81c3dc32244a17241d74eea9fa265edfcb326f6d. Since that commit, when /releases returned an empty JSON array, we would not fall back to /tags because of the incorrect match. * guix/import/github.scm (fetch-releases-or-tags): Match the empty vector instead of the empty list.
| * daemon: Invoke 'guix gc --list-busy' instead of 'list-runtime-roots'.Ludovic Courtès2019-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nix/scripts/list-runtime-roots.in: Remove. * guix/store/roots.scm (%proc-directory): New variable. (proc-file-roots, proc-exe-roots, proc-cwd-roots) (proc-fd-roots, proc-maps-roots, proc-environ-roots) (referenced-files, canonicalize-store-item, busy-store-items): New procedures, taken from 'list-runtime-roots.in'. * nix/libstore/globals.hh (Settings)[guixProgram]: New field. * nix/libstore/globals.cc (Settings::processEnvironment): Initialize 'guixProgram'. * nix/libstore/gc.cc (addAdditionalRoots): Drop code related to 'NIX_ROOT_FINDER'. Run "guix gc --list-busy". * nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove 'scripts/list-runtime-roots'. * config-daemon.ac: Don't output nix/scripts/list-runtime-roots. * build-aux/pre-inst-env.in: Don't set 'NIX_ROOT_FINDER'. Set 'GUIX'. * doc/guix.texi (Invoking guix gc): Document '--list-busy'. * guix/scripts/gc.scm (show-help, %options): Add "--list-busy". (guix-gc)[list-busy]: New procedure. Handle the 'list-busy' action.
* | Merge branch 'master' into core-updatesMark H Weaver2019-09-06
|\|