summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAge
...
| * | | Merge branch 'master' into core-updatesLudovic Courtès2013-03-04
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am guix/scripts/gc.scm guix/scripts/package.scm guix/ui.scm tests/guix-package.sh
| * | | | guix: build: Add "share/pkgconfig" to PKG_CONFIG_PATH, as used by xorg.Andreas Enge2013-03-04
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (set-paths): Add "share/pkgconfig" to PKG_CONFIG_PATH.
| * | | | pull: Distinguish "already up to date" from "updated".Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/ui.scm (show-what-to-build): Return (length req*). * guix/scripts/pull.scm (guix-pull): Print an "already up to date" message when there's nothing to build.
| * | | | pull: Build (guix build download) first, because of the (gnutls) autoload.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/pull.scm (unpack): Build (guix build download) first, as done in 855a8ad71def2ebc594ed32c57bda0ca4e13d91c. Reported by Andreas Enge <andreas@enge.fr>.
| * | | | Add "guix pull".Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/pull.scm: New file. * Makefile.am (MODULES): Add it. * doc/guix.texi (Invoking guix pull): New node. (Invoking guix package): Add cross-ref to it. * guix/ui.scm (config-directory): New procedure. * scripts/guix.in: When `GUIX_UNINSTALLED' is undefined, add $XDG_CONFIG_HOME/guix/latest to the search path. * po/POTFILES.in: Add guix/scripts/pull.scm.
| * | | | ui: Factorize `show-what-to-build'.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/package.scm (guix-package)[show-what-to-build]: Move to.. * guix/ui.scm (show-what-to-build): ... here. Add a `store' parameter'. Adjust callers. * guix/scripts/build.scm (guix-build): Use it. Remove `req' and `req*' variables.
| * | | | ui: Add temporary file handling and atomic symlink switch.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/download.scm (call-with-temporary-output-file): Move to ui.scm. * guix/scripts/package.scm (switch-symlinks): Likewise. * guix/ui.scm (call-with-temporary-output-file, switch-symlinks): New procedures.
| * | | | download: Adjust to `http-get*' deprecation.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/download.scm (http-fetch): Adjust to use #:streaming? when using Guile 2.0.8+.
| * | | | derivations: Add a search path parameter for module derivations.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/derivations.scm (imported-modules, compiled-modules): Add a `module-path' parameter. Use it instead of %LOAD-PATH.
| * | | | store: Add the `%daemon-socket-file' parameter.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/store.scm (%daemon-socket-file): New variable. (open-connection): Use it as the default value for FILE.
| * | | | scripts: Remove hyphen in the command name shown by `--version'.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/build.scm (%options): Remove hyphen from the name passed to `show-version-and-exit'. * guix/scripts/download.scm (%options): Likewise. * guix/scripts/gc.scm (%options): Likewise. * guix/scripts/import.scm (%options): Likewise. * guix/scripts/package.scm (%options): Likewise.
| * | | | scripts: Remove initialization now redundant with `initialize-guix'.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/build.scm (guix-build): Remove calls to `install-locale', `textdomain', etc., now redundant with `initialize-guix'. * guix/scripts/download.scm (guix-download): Likewise. * guix/scripts/import.scm (guix-import): Likewise. * guix/scripts/package.scm (guix-package): Likewise. * guix/ui.scm: Remove export of `install-locale' and `initialize-guix'. (initialize-guix): Add docstring.
| * | | | Replace individual scripts with master 'guix' script.Mark H Weaver2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scripts/guix.in: New script. * Makefile.am (bin_SCRIPTS): Add 'scripts/guix'. Remove 'guix-build', 'guix-download', 'guix-import', 'guix-package', and 'guix-gc'. (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm', 'guix/scripts/import.scm', 'guix/scripts/package.scm', and 'guix/scripts/gc.scm'. * configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'. Remove 'guix-build', 'guix-download', 'guix-import', 'guix-package', and 'guix-gc'. * guix-build.in, guix-download.in, guix-gc.in, guix-import.in, guix-package.in: Remove shell script boilerplate. Move to guix-COMMAND.in to guix/scripts/COMMAND.scm. Rename module from (guix-COMMAND) to (guix scripts COMMAND). Change "guix-COMMAND" to "guix COMMAND" in usage help string. * pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH. Export $GUIX_UNINSTALLED. * tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of "guix-COMMAND". * doc/guix.texi: Replace all occurrences of "guix-COMMAND" with "guix COMMAND". * po/POTFILES.in: Update.
| * | | | packages: Add `package-output'.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/packages.scm (package-output): New procedure. * tests/packages.scm ("package-output"): New test.
| * | | | build-system/gnu: Make the strip behavior of `static-package' configurable.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/gnu.scm (static-package): Add #:strip-all? keyword parameter.
| * | | | Add version-compare and version>? to utils.scm.Mark H Weaver2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/utils.scm (version-compare, version>?): New exported procedures, based on version-string>?, which was formerly in gnu-maintenance.scm. * guix/gnu-maintenance.scm (version-string>?): Removed procedure. (latest-release): Use 'version>?' instead of 'version-string>?'.
| * | | | Patch-shebang: Do not add space after interpreter without argument.Andreas Enge2013-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (patch-shebang): Do not add a space after a command interpreter not followed by an argument; this made two tests of coreutils fail.
| * | | | Patch-shebang: Handle "#!/usr/bin/env command"Andreas Enge2013-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (patch-shebang): Handle replacement of "#!.*/env CMD ARGS" by "#!/nix/store/path/.../to/CMD ARGS".
* | | | | substitute-binary: Support decompression from non-file ports.Ludovic Courtès2013-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/substitute-binary.scm (filtered-port): Move to utils.scm. (decompressed-port): Upon "none", return '() as the second value. (guix-substitute-binary): Expect `decompressed-port' to return a list of PIDs as its second value. * guix/utils.scm (filtered-port): New procedure. Add case for when INPUT is not `file-port?'. * tests/utils.scm ("filtered-port, file", "filtered-port, non-file"): New tests.
* | | | | packages: Work around compiler bug in Guile 2.0.5.Ludovic Courtès2013-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/packages.scm (package-field-location): Work around compiler bug in 2.0.5. Reported by Andreas Enge <andreas@enge.fr>.
* | | | | web: Add workaround for <http://bugs.gnu.org/13095>.Ludovic Courtès2013-04-27
| | | | | | | | | | | | | | | | | | | | * guix/web.scm: Add workaround for <http://bugs.gnu.org/13095>.
* | | | | web: Add 2.0.5 workaround for responses without content-length.Ludovic Courtès2013-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/web.scm (read-response-body*)[when-guile<=2.0.5]: Support responses without content-length. Reported by Andreas Enge <andreas@enge.fr>.
* | | | | gnu-maintenance: Fix error message of `update-package-source'.Ludovic Courtès2013-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/gnu-maintenance.scm (update-package-source): In the (not loc) case, pass the location first and convert it to a string.
* | | | | ui: Add `args-fold*' and use it.Ludovic Courtès2013-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/ui.scm (args-fold*): New procedure. * guix/scripts/build.scm, guix/scripts/download.scm, guix/scripts/gc.scm, guix/scripts/hash.scm, guix/scripts/import.scm, guix/scripts/package.scm, guix/scripts/pull.scm, guix/scripts/refresh.scm: Use `args-fold*' instead of `args-fold'.
* | | | | ui: Use consistent spacing in `show-what-to-build' messages.Ludovic Courtès2013-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/ui.scm (show-what-to-build): Use consistent spacing in "the following..." messages.
* | | | | gnu-maintenance: Fix `latest-release' for GnuPG.Ludovic Courtès2013-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/gnu-maintenance.scm (latest-release): Filter out directories whose name does not contain digits early in the process. This fixes (latest-release "gnupg").
* | | | | ftp-client: `ftp-chdir' changes one step at a time.Ludovic Courtès2013-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/ftp-client.scm (%char-set:not-slash): New variable. (ftp-chdir): Add docstring. Change to DIR one step at a time. (ftp-retr): Fix indentation.
* | | | | pull: Use `download-to-store'.Ludovic Courtès2013-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/pull.scm (download-and-store): Remove. (unpack): Use `download-to-store' instead.
* | | | | web: Backport chunked encoding support for Guile <= 2.0.5.Ludovic Courtès2013-04-27
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/web.scm (when-guile<=2.0.5): New macro. (read-chunk-header, read-chunk, read-chunk-body, make-chunked-input-port, read-response-body*)[when-guile<=2.0.5]: New procedures. (http-fetch): Clarify message when (not data).
* | | | gnu-maintenance: Add newline in warning messages.Ludovic Courtès2013-04-25
| | | | | | | | | | | | | | | | | | | | * guix/gnu-maintenance.scm (download-tarball): Add newline in warning messages.
* | | | refresh: Add `--select'.Ludovic Courtès2013-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/refresh.scm (%options): Add `--select'. (show-help): Likewise. Augment initial help text. (guix-refresh)[core-package?]: New procedure. Use it when selecting packages.
* | | | web: Factorize `http-get' hackery.Ludovic Courtès2013-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix `substitute-binary --query' on Guile 2.0.5. * guix/web.scm: New file. * Makefile.am (MODULES): Add it. * po/POTFILES.in: Add it. * guix/gnu-maintenance.scm (http-fetch): Remove. (%package-list-url): Turn into a URI. (official-gnu-packages): Add #:text? #t to `http-fetch' call. * guix/scripts/substitute-binary.scm (fetch): Remove `http' case, and use `http-fetch' instead.
* | | | gnu-maintenance: Optimize `gnu-package?'.Ludovic Courtès2013-04-25
| | | | | | | | | | | | | | | | | | | | * guix/gnu-maintenance.scm (gnu-package?): Capture a memoizing version of `gnu-package?'.
* | | | gnu-maintenance: Optimize `release-file'.Ludovic Courtès2013-04-25
| | | | | | | | | | | | | | | | | | | | | | | | * guix/gnu-maintenance.scm (tarball-regexp): Remove. (%tarball-rx): New variable. (release-file): Adjust to use %TARBALL-RX.
* | | | gnu-maintenance: Optimize `latest-release'.Ludovic Courtès2013-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/gnu-maintenance.scm (tarball-regexp, sans-extension, release-file): New procedures. (%alpha-tarball-rx): New variable. (releases): Use them instead of local copies. (latest-release): Rewrite to not do a recursive search of all versions and instead jump directly to the latest.
* | | | Add `guix refresh' and related auto-update tools.Ludovic Courtès2013-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/gnu-maintenance.scm (ftp-server/directory)[quirks]: Add glib. (package-update-path, download-tarball, package-update, update-package-source): New procedures. * guix/gnupg.scm, guix/scripts/refresh.scm: New files. * Makefile.am (MODULES): Add them. * guix/utils.scm (file-extension): New procedure.
* | | | packages: Use `read' and source properties for `package-field-location'.Ludovic Courtès2013-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/packages.scm (package-field-location): Rewrite using `read' and source properties. Change to return #f upon failure. * tests/packages.scm ("package-field-location"): Check for #f upon failure. * build-aux/sync-synopses.scm: Adjust accordingly.
* | | | utils: Fix column number returned by `source-properties->location'.Ludovic Courtès2013-04-25
| | | | | | | | | | | | | | | | * guix/utils.scm (source-properties->location): Use COL, not COL + 1.
* | | | packages: Add `package-field-location'.Ludovic Courtès2013-04-22
| | | | | | | | | | | | | | | | | | | | | | | | * guix/packages.scm (package-field-location): New procedure. * build-aux/sync-synopses.scm: Use it instead of `package-location'. * tests/packages.scm ("package-field-location"): New test.
* | | | ui: Move macro definitions before any use.Ludovic Courtès2013-04-22
| | | | | | | | | | | | | | | | | | | | | | | | * guix/ui.scm (define-diagnostic, warning, report-error, leave): Move definitions before any use. Reported by Nikita Karetnikov. (install-locale): Move back close to `initialize-guix'.
* | | | Factorize `download-and-store'.Ludovic Courtès2013-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/download.scm (download-to-store): New procedure. * guix/scripts/download.scm (fetch-and-store): Remove. (guix-download): Use `download-to-store' instead. * guix/ui.scm (call-with-temporary-output-file): Move to... * guix/utils.scm (call-with-temporary-output-file): ... here.
* | | | Add 'guix hash'.Nikita Karetnikov2013-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/hash.scm: New file. * Makefile.am (MODULES): Add it. * po/POTFILES.in: Add it. * doc/guix.texi (Invoking guix hash): New node. (Defining Packages): Add a cross-reference to the 'Invoking guix hash' node.
* | | | guix download: Add supported formats to '--help'.Nikita Karetnikov2013-04-21
| | | | | | | | | | | | | | | | * guix/scripts/download.scm (show-help): Add supported formats.
* | | | ui: Move definition of `install-locale' after that of the `warning' macro.Ludovic Courtès2013-04-21
| | | | | | | | | | | | | | | | * guix/ui.scm (install-locale): Move definition after that of `warning'.
* | | | ui: Add a 'define-diagnostic' macro.Nikita Karetnikov2013-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/ui.scm (define-diagnostic): New macro, which is based on the previous version of 'warning'. (warning, leave): Redefine using 'define-diagnostic'. (report-error): New macro. (install-locale): Use 'warning' instead of 'format'. (call-with-error-handling): Adjust 'leave'. * gnu/packages.scm (package-files): Use 'warning' instead of 'format'. * guix/gnu-maintenance.scm (http-fetch): Use 'warning' and 'leave'. * guix/scripts/build.scm (derivations-from-package-expressions, guix-build): Adjust 'leave'. * guix/scripts/download.scm (guix-download): Adjust 'leave'. * guix/scripts/gc.scm (size->number, %options): Adjust 'leave'. * guix/scripts/package.scm (roll-back, guix-package): Adjust 'leave'. * po/POTFILES.in: Add 'guix/gnu-maintenance.scm'.
* | | | substitute-binary: Remove expired cache entries once in a while.Ludovic Courtès2013-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/substitute-binary.scm (%narinfo-expired-cache-entry-removal-delay): New variable. (obsolete?): New procedure, formerly in `lookup-narinfo'. (lookup-narinfo): Adjust accordingly. (remove-expired-cached-narinfos, maybe-remove-expired-cached-narinfo): New procedures. (guix-substitute-binary): Call `maybe-remove-expired-cached-narinfo'.
* | | | snix: Prefer synopses from the Womb rather than from Nixpkgs.Ludovic Courtès2013-04-20
| | | | | | | | | | | | | | | | | | | | | | | | * guix/snix.scm (snix-derivation->guix-package): When NAME is in (official-gnu-packages), use this synopsis instead of the one from Nixpkgs.
* | | | daemon: Gracefully handle cases where the daemon does not return a status code.Ludovic Courtès2013-04-20
| | | | | | | | | | | | | | | | * guix/store.scm (process-stderr): Check for EOF before doing (read-int p).
* | | | guix package: Allow the search of the latest release to be interrupted.Ludovic Courtès2013-04-17
| | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/package.scm (%sigint-prompt): New variable. (call-with-sigint-handler): New procedure. (waiting): Use it.
* | | | ui: Fix format string in `warning'.Ludovic Courtès2013-04-17
| | | | | | | | | | | | | | | | * guix/ui.scm (warning)[augmented-format-string]: Add missing ~*.