~ruther/guix-local

fce2394e — Ludovic Courtès 13 years ago
store: Slightly improve memoization hashing.

* guix/store.scm (open-connection): Call `make-hash-table' with 100.
  (add-text-to-store): Move TEXT first in ARGS, for better `hash'
  results.
  (add-to-store): Likewise, move ST first.
a9ebd9ef — Ludovic Courtès 13 years ago
store: Remove the `fixed?' parameter from `add-to-store'.

* guix/store.scm (add-to-store): Remove the `fixed?' parameter from the
  public interface.
* gnu/packages/bootstrap.scm, guix-download.in, guix/derivations.scm,
  guix/packages.scm, tests/derivations.scm: Update all callers
  accordingly.
fd060fd3 — Ludovic Courtès 13 years ago
store: Avoid use of `set!'.

* guix/store.scm (operation): New macro.
  (define-operation): Define in terms of `operation'.
  (add-text-to-store): Define using `operation', and remove now
  unnecessary `set!'.
  (add-to-store): Likewise.
  (add-text-to-store/cached, add-to-store/cached): Remove.
82c38fe6 — Ludovic Courtès 13 years ago
store: Micro-optimize `write-string'.

* guix/store.scm (write-string): Optimize to write the length, contents,
  and padding all at once.  This yields a 2% improvement on the
  execution time of "guix-build gdb".
473b03b3 — Ludovic Courtès 13 years ago
Gracefully handle failure to install the current locale.

* guix/ui.scm (install-locale): New procedure.
* guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
  guix-package.in: Use it instead of (setlocale LC_ALL "").
bdcf35a6 — Ludovic Courtès 13 years ago
store: Cache `add-text-to-store' results.

* guix/store.scm (<nix-server>)[atts-cache]: New field.
  (add-text-to-store/cached): New procedure.  Use it as a wrapper around
  `add-text-to-store'.
  When running "guix-build gdb", this reduces the number of RPCs from
  3048 to 289, and execution time from 4.7s to 2.6s.
2c3f47ee — Ludovic Courtès 13 years ago
store: Make the `add-to-store' cache per-connection.

* guix/store.scm (<nix-server>)[ats-cache]: New field.
  (open-connection): Update accordingly.
  (add-to-store/cached): Use (nix-server-add-to-store-cache SERVER)
  instead of a weak hash table.
2fbf053b — Andreas Enge 13 years ago
gnu: Add libssh2.

* gnu/packages/ssh.scm: New file.
* Makefile.am (MODULES): Add it.
2a75d4e6 — Andreas Enge 13 years ago
gnu: Add openldap.

* gnu/packages/openldap.scm: New file.
* Makefile.am (MODULE): Add it.
a7b6ffee — Ludovic Courtès 13 years ago
store: Make `add-to-store' memoizing.

* guix/store.scm (add-to-store/cached): New variable.
  Use it as the new `add-to-store'.
  This reduces the number of RPCs when doing "guix-build gdb" from 5009
  to 3053, and the execution time from 7s to 3.9s.
d7e8e288 — Ludovic Courtès 13 years ago
gnu: gdb: Update to 7.5.1.

* gnu/packages/gdb.scm (gdb): Update to 7.5.1.
8aab64fc — Ludovic Courtès 13 years ago
build: Require Automake 1.12 or later.

* configure.ac: Require Automake 1.12 or later.
2289721c — Nikita Karetnikov 13 years ago
Update 'TODO'.
acc08466 — Nikita Karetnikov 13 years ago
guix-package: Add '--search'.

* guix-package.in (find-packages-by-description): New procedure.
  (show-help, %options): Add '--search'.
  (guix-package)[process-query]: Add support for '--search'.
* doc/guix.texi (Invoking guix-package): Document it.
* tests/guix-package.sh: Add tests.
c9ee0485 — Ludovic Courtès 13 years ago
gnu: automake: Update to 1.13.1.

* gnu/packages/autotools.scm (automake): Update to 1.13.1.
168030ea — Ludovic Courtès 13 years ago
gnu: autoconf-wrapper: Fix "guile" input.

* gnu/packages/autotools.scm (autoconf-wrapper): Remove `lambda' for
  "guile" input..
82fe08ed — Ludovic Courtès 13 years ago
guix-package: Always use the next number for new generations.

Suggested by Andreas Enge <andreas@enge.fr> at
<http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00325.html>.

* guix-package.in (latest-profile-number): Remove.
  (switch-symlinks): New procedure.
  (roll-back)[switch-link]: Use it.
  (guix-package)[process-actions]: Always choose NUMBER + 1 for the new
  profile.  Use `switch-symlinks' instead of `symlink'.  Remove code to
  delete PROFILE when it exists since `switch-symlinks' has the same
  effect.
* tests/guix-package.sh: Adjust existing `--roll-back' tests.
* doc/guix.texi (Invoking guix-package): Document this `--roll-back'
  behavior.
d9307267 — Ludovic Courtès 13 years ago
guix-package: When rolling back to nothingness, point to the empty profile.

Suggested by Andreas Enge <andreas@enge.fr> at
<http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00316.html>.

* guix-package.in (roll-back): Check whether PROFILE is valid using
  `file-exists?'.  When NUMBER is zero, just emit a notice.  When
  PREVIOUS-NUMBER is zero and PREVIOUS-PROFILE does not exist, build the
  empty profile, and link to it.
* tests/guix-package.sh: Add tests.
* doc/guix.texi (Invoking guix-package): Document the new behavior.
29767aae — Ludovic Courtès 13 years ago
Update `TODO'.
41d42f50 — Ludovic Courtès 13 years ago
Update `AUTHORS' and `THANKS'.
Next