GNU bug report logs -
#31618
[PATCH 0/4] Merge the beginning of the 'guile-daemon' branch
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Mon, 28 May 2018 10:29:01 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 01 Jun 2018 15:43:23 +0200
with message-id <87vab28vwk.fsf <at> gnu.org>
and subject line Re: [bug#31618] [PATCH 0/4] Merge the beginning of the 'guile-daemon' branch
has caused the debbugs.gnu.org bug report #31618,
regarding [PATCH 0/4] Merge the beginning of the 'guile-daemon' branch
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
31618: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31618
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hello Guix!
These patches merge the beginning of reepca’s work on the Guile
implementation of the build daemon from last year’s GSoC. It
is based on these commits by reepca:
a647f6e74 deduplication: new module.
b418ff86b guix: register-path: return #t on success.
6b979a819 guix: register-path: do deduplication.
374281f52 guix: register-path: reset timestamps after registering.
b6d9b2675 guix: register-path: use new %store-database-directory
4d945be54 guix: sql.scm: split into generic and store-specific parts.
70cbb8c81 .dir-locals.el: properly indent sql macros.
bcacbdfd2 guix: register-path: Honor environment variables.
654c8a776 guix: register-path: Implement prototype in scheme.
I modified things in several ways:
• Added configury to detect Guile-SQLite3 and make it an optional
dependency.
• Moved all the sqlite3-dependent code to (guix store database) so
that it can really be optional; in reepca’s branch part of it was
directly in (guix store).
• Removed (guix sql). Most of what it provided is now available in
guile-sqlite3 proper, so I adjusted (guix store database) to take
advantage of that.
• Added tests for (guix store database) and (guix store
deduplication), which allowed me to fix a couple of bugs.
The next step is to start using this internally in lieu of the
‘guix-register’ command.
At some point, we’ll have to make Guile-SQLite3 a mandatory dependency.
It would be nice if someone would take care of making proper releases of
it. :-) Any takers? Danny?
BTW, kudos to you reepca for the nice code!
Thanks,
Ludo’.
Caleb Ristvedt (2):
Add (gnu store database).
Add (guix store deduplication).
Ludovic Courtès (2):
build: Check for Guile-SQLite3.
database: 'register-path' resets timestamps.
.dir-locals.el | 2 +
Makefile.am | 19 +++
configure.ac | 5 +
guix/config.scm.in | 6 +
guix/self.scm | 9 +-
guix/store/database.scm | 234 ++++++++++++++++++++++++++++++++++
guix/store/deduplication.scm | 148 +++++++++++++++++++++
m4/guix.m4 | 18 +++
tests/store-database.scm | 54 ++++++++
tests/store-deduplication.scm | 64 ++++++++++
10 files changed, 558 insertions(+), 1 deletion(-)
create mode 100644 guix/store/database.scm
create mode 100644 guix/store/deduplication.scm
create mode 100644 tests/store-database.scm
create mode 100644 tests/store-deduplication.scm
--
2.17.0
[Message part 3 (message/rfc822, inline)]
Hello,
Ludovic Courtès <ludo <at> gnu.org> skribis:
> These patches merge the beginning of reepca’s work on the Guile
> implementation of the build daemon from last year’s GSoC. It
> is based on these commits by reepca:
Pushed, thanks again reepca!
Ludo’.
This bug report was last modified 7 years and 69 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.