summary refs log tree commit diff
AgeCommit message (Collapse)Author
2014-03-09store: Add #:timeout build option.Ludovic Courtès
* guix/serialization.scm (write-string-pairs): New procedure. * guix/store.scm (write-arg): Add 'string-pairs' case. (set-build-options): Add 'timeout' keyword parameter. Honor it. * tests/derivations.scm ("build-expression->derivation and timeout"): New test.
2014-03-09gnu: Add libpcap and jnettop.Ludovic Courtès
* gnu/packages/admin.scm (libpcap, jnettop): New variables.
2014-03-09build: Change state and log directories to $localstatedir/.../guix.Ludovic Courtès
* daemon.am (libstore_a_CPPFLAGS): Change /nix to /guix. * guix/config.scm.in (%state-directory): Likewise. * guix/store.scm (log-file): Likewise.
2014-03-09Change the default store file name to /gnu/store.Ludovic Courtès
* configure.ac: Change the default 'storedir' to /gnu/store. Print $storedir. * doc/guix.texi: Replace "/nix/store" by "/gnu/store", except where describing Nix compatibility. * Makefile.am: Likewise.
2014-03-09offload: Move macro definitions before use.Ludovic Courtès
* guix/scripts/offload.scm (lock-file, unlock-file, with-file-lock, with-machine-lock, machine-slot-file, acquire-build-slot, release-build-slot): Move definitions above their first use.
2014-03-09gnu: soprano: Add input raptor2.Andreas Enge
* gnu/packages/rdf.scm (soprano): Add input raptor2.
2014-03-09offload: Distinguish between 'decline' and 'postpone'.Ludovic Courtès
* guix/scripts/offload.scm (transfer-and-offload): New procedure, with core formerly in 'process-request'. (choose-build-machine): Remove 'requirements' parameter. (process-request): Reply 'decline' when none of MACHINES matches the requirements, and 'postpone' when MACHINES are busy.
2014-03-09gnu: raptor2: Disable parallel tests.Andreas Enge
* gnu/packages/rdf.scm (raptor2): Disable parallel tests since it makes tests fail.
2014-03-08offload: Prevent locked files from being GC'd.Ludovic Courtès
* guix/scripts/offload.scm (%slots): New variable. (choose-build-machine): Add SLOT to '%slots'.
2014-03-08offload: Fix thinko.Ludovic Courtès
* guix/scripts/offload.scm (choose-build-machine)[machine+slots]: Use 'filter-map', not 'filter'.
2014-03-08offload: Make 'parallel-builds' a hard limit.Ludovic Courtès
* guix/scripts/offload.scm (machine-choice-lock-file, machine-slot-file, acquire-build-slot, release-build-slot): New procedures. (choose-build-machine): Operate with (machine-choice-lock-file) taken. Acquire a build slot for each of MACHINES. Release those not used.
2014-03-08offload: Further generalize lock files.Ludovic Courtès
* guix/scripts/offload.scm (lock-machine, unlock-machine): Remove. (lock-file, unlock-file): New procedures. (with-file-lock): New macro. (with-machine-lock): Rewrite in terms of 'with-file-lock'.
2014-03-08offload: Generalize the machine lock mechanism.Ludovic Courtès
* guix/scripts/offload.scm (lock-machine): Add 'hint' parameter. (unlock-machine): Remove 'machine' parameter. (with-machine-lock): Add 'hint' parameter, and pass it down. (process-request): Adjust uses of 'with-machine-lock' to pass the 'bandwidth hint.
2014-03-08utils: Add a non-blocking option for 'fcntl-flock'.Ludovic Courtès
* guix/utils.scm (F_SETLK): New variable. (fcntl-flock): Add 'wait?' keyword parameter; honor it. * tests/utils.scm ("fcntl-flock non-blocking"): New test.
2014-03-08doc: Explain what's special about the (gnu packages ...) name space.Ludovic Courtès
* doc/guix.texi (Invoking guix package): Explain where packages are searched for and link to "Package Modules". (Defining Packages) <example>: Use 'define-module' clause instead of 'use-modules'. Explain why and link to "Package Modules". (Invoking guix build): Explain where packages aer searched for and link to "Package Modules". (Package Modules): Explain that (gnu packages ...) is scanned.
2014-03-07gnu: Add a2ps, trueprint, enscript, and source-highlightEric Bavier
* gnu/packages/pretty-print.scm: New file * gnu/packages/patches/source-highlight-regexrange-test.patch: New file * gnu-system.am (dist_patch_DATA): Add patch. (GNU_SYSTEM_MODULES): Add pretty-print.scm
2014-03-07store: 'export-paths' doesn't export references of the given files.Ludovic Courtès
This fixes a regression introduced in 99fbddf9a623757e39d88bfb431f8f7d6f24b75b ("store: Change 'export-paths' to always export in topological order.") * guix/store.scm (export-paths): Define 'ordered' variable. Iterate over it. * tests/store.scm ("export/import paths, ensure topological order"): Add 'file0'. Adjust accordingly.
2014-03-06gnu: Add ncmpc.David Thompson
* gnu/packages/mpd.scm (ncmpc): New variable.
2014-03-06utils: 'fcntl-flock' passes an errno when throwing an exception.Ludovic Courtès
* guix/utils.scm (%libc-errno-pointer, errno): New procedures. (fcntl-flock): Use it as the exception's argument.
2014-03-06offload: Serialize file transfers to build machines.Ludovic Courtès
* guix/scripts/offload.scm (machine-lock-file, lock-machine, unlock-machine): New procedures. (with-machine-lock): New macro. (process-request): Wrap 'send-files' and 'retrieve-files' calls in 'with-machine-lock'.
2014-03-06tests: Rewrite 'fcntl-lock' test.Ludovic Courtès
* tests/utils.scm (temp-file): New variable. ("fcntl-flock"): Rewrite to actually test whether the child process waits for the lock to be released. The previous test was wrong because (1) it expected F_SETLK semantics, not F_SETLKW, and (2) it got EBADF because of a mismatch between the open mode and the lock style.
2014-03-06download: Perform derivations locally.Ludovic Courtès
* guix/download.scm (url-fetch): Pass #:local-build? #t to 'build-expression->derivation'. * guix/git-download.scm (git-fetch): Likewise.
2014-03-06gnu: Add bitlbee.Mark H Weaver
* gnu/packages/messaging.scm (bitlbee): New variable. * gnu/packages/patches/bitlbee-fix-tests.patch: New file. * gnu/packages/patches/bitlbee-memset-fix.patch: New file. * gnu-system.am (dist_patch_DATA): Add patches.
2014-03-06gnu: Add libotr.Mark H Weaver
* gnu/packages/messaging.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-03-06gnu: gnupg: Add support for version 1.4.16.Mark H Weaver
* gnu/packages/gnupg.scm (gnupg-1): New variable.
2014-03-05gnu: Add lynx.Mark H Weaver
* gnu/packages/lynx.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-03-05gnu: gnutls: Upgrade to 3.2.12.Mark H Weaver
* gnu/packages/gnutls.scm (gnutls): Upgrade to 3.2.12. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-03-03gnu: Add ElementTree and pybugz.Ludovic Courtès
* gnu/packages/python.scm (python2-element-tree, python2-pybugz): New variables.
2014-03-03doc: Factorize documentation of common build options.Ludovic Courtès
* doc/guix.texi (Invoking guix package): Remove documentation for --dry-run, --fallback, --no-substitutes, and --max-silent-time. Add a cross-ref to "Invoking guix build". (Invoking guix archive): Add "common build options" as the cross-ref topic for "Invoking guix build". (Invoking guix build): Move common build options separately. Add a paragraph to explain.
2014-03-02gnu: subversion: Update to 1.7.14.Andreas Enge
* gnu/packages/version-control.scm (subversion): Update to 1.7.14.
2014-03-02gnu: subversion: Enable http checkouts.Andreas Enge
* gnu/packages/version-control.scm (subversion): Add input neon-0.29.6 to enable http and https checkouts.
2014-03-02gnu: Add neon-0.29.6.Andreas Enge
* gnu/packages/version-control.scm (neon-0.29.6): New variable.
2014-03-02gnu: Add neon.Andreas Enge
* gnu/packages/version-control.scm (neon): New variable.
2014-03-01gnu: hurd: Add Hurd headers.Manolis Ragkousis
* gnu/packages/hurd.scm (hurd-headers): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-03-01guix package: Use the common build options from (guix scripts build).Ludovic Courtès
* guix/scripts/build.scm (%standard-build-options): Change option handlers to support multiple seeds. * guix/scripts/package.scm (show-help): Remove --dry-run, --fallback, --no-substitutes, and --max-silent-time. (%options): Likewise, and add %STANDARD-BUILD-OPTIONS. (%default-options): Add 'verbosity'. (guix-package): Call 'set-build-options-from-command-line' instead of 'set-build-options'.
2014-03-01gnu: guile-ssh: Upgrade to 0.5.0.Ludovic Courtès
* gnu/packages/ssh.scm (guile-ssh): Upgrade to 0.5.0. [arguments]: Adjust 'autoreconf' phase. Add #:parallel-tests? #f and #:tests? #f. [native-inputs]: Add TEXINFO.
2014-03-01substitute-binary: Gracefully handle HTTP GET errors.Ludovic Courtès
* guix/http-client.scm (&http-get-error): New condition type. (http-fetch): Raise it instead of using 'error'. * guix/scripts/substitute-binary.scm (fetch) <http>: Wrap body into 'guard' form; gracefully handle 'http-get-error?' conditions.
2014-03-01offload: Comment out attempt to set up an lsh gateway.Ludovic Courtès
* guix/scripts/offload.scm (open-ssh-gateway): Comment out. (process-request): Remove call to 'open-ssh-gateway' and to 'kill'.
2014-03-01offload: 'remote-pipe' uses the right SSH key.Ludovic Courtès
* guix/scripts/offload.scm (remote-pipe): Pass -i when invoking %LSHG-COMMAND.
2014-03-01offload: Take the target machine load into account.Ludovic Courtès
* guix/scripts/offload.scm (machine-load, machine-less-loaded?, machine-less-loaded-or-faster?): New procedures. (choose-build-machine): Use 'machine-less-loaded-or-faster?' when sorting. Return the head of MACHINES unless it's loaded is >= 2.
2014-02-28guix archive: Change '--help' to show '--authorize'.Ludovic Courtès
* guix/scripts/archive.scm (show-help): Add '--authorize'.
2014-02-28gnu: libgc: Change URLs to point to hboehm.info.Ludovic Courtès
* gnu/packages/bdw-gc.scm (libgc)[source, home-page, license]: Update URL. (libatomic-ops)[source, home-page]: Likewise. (libgc-7.4)[source]: Likewise.
2014-02-28gnu-maintenance: Adjust 'latest-release' to filter Bash's patch directories.Ludovic Courtès
* guix/gnu-maintenance.scm (latest-release)[patch-directory-name?]: New procedure. <subdirs>: Use it to filter out Bash-like patch directories.
2014-02-27hydra: Set the default absolute build timeout to 20h.Ludovic Courtès
* build-aux/hydra/gnu-system.scm (package->alist): Add 'timeout' item.
2014-02-27gnu: Move libwebsockets to (gnu packages web).Ludovic Courtès
* gnu/packages/libwebsockets.scm: Remove. Move libwebsockets package definition to... * gnu/packages/web.scm (libwebsockets): ... here. * gnu-system.am (GNU_SYSTEM_MODULES): Remove libwebsockets.scm.
2014-02-27store: Use 'when' instead of 'if' in effectful context.Ludovic Courtès
* guix/store.scm (set-build-options): Use 'when' instead of 'if'.
2014-02-25gnu: Add mpd.David Thompson
* gnu/packages/mpd.scm (mpd): New variable.
2014-02-25gnu: Add libmpdclient.David Thompson
* gnu/packages/mpd.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-02-25gnu: zile: Upgrade to 2.4.10Eric Bavier
* gnu/packages/zile.scm (zile): Upgrade to 2.4.10
2014-02-25gnu: parallel: Upgrade to 20140222Eric Bavier
* gnu/packages/parallel.scm (parallel): Upgrade to 20140222