GNU bug report logs - #29966
[PATCH] Update guile-wiredtiger to 0.6.3

Previous Next

Package: guix-patches;

Reported by: Amirouche <amirouche <at> hypermove.net>

Date: Wed, 3 Jan 2018 19:53:01 UTC

Severity: normal

Tags: patch

Done: Amirouche Boubekki <amirouche <at> hypermove.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29966 in the body.
You can then email your comments to 29966 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#29966; Package guix-patches. (Wed, 03 Jan 2018 19:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Amirouche <amirouche <at> hypermove.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 03 Jan 2018 19:53:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Amirouche <amirouche <at> hypermove.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] Update guile-wiredtiger to 0.6.3
Date: Wed, 3 Jan 2018 20:52:20 +0100
[Message part 1 (text/plain, inline)]
The latest release was meant to make it possible to run the tests in 
guix. So I also changed a bit the package.

[0001-gnu-packages-guile-wiredtiger-Update-to-latest-relea.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#29966; Package guix-patches. (Mon, 08 Jan 2018 17:49:02 GMT) Full text and rfc822 format available.

Message #8 received at 29966 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kkebreau <at> posteo.net>
To: Amirouche <amirouche <at> hypermove.net>
Cc: 29966 <at> debbugs.gnu.org
Subject: Re: [bug#29966] [PATCH] Update guile-wiredtiger to 0.6.3
Date: Mon, 08 Jan 2018 12:47:58 -0500
[Message part 1 (text/plain, inline)]
Amirouche <amirouche <at> hypermove.net> writes:

> The latest release was meant to make it possible to run the tests in
> guix. So I also changed a bit the package.
>
>>From 68a3d58775a40956a17880a7e2eafad08b352d42 Mon Sep 17 00:00:00 2001
> From: amirouche <amirouche+dev <at> hypermove.net>
> Date: Wed, 3 Jan 2018 20:43:52 +0100
> Subject: [PATCH] gnu: packages: guile-wiredtiger: Update to latest release
>
> * gnu/package/databases.scm (guile-wiredtiger): bump to new release,
>   enable tests, disable parallel tests and htmlprag was removed from
>   upstream release so there not need to delete it anymore. Improve
>   the synopsis and description.

I've cleaned this commit message up a bit, like so:

gnu: guile-wiredtiger: Update to 0.6.3.

* gnu/package/databases.scm (guile-wiredtiger): Update to 0.6.3.
[arguments]: Enable tests; disable parallel tests; remove
'remove-bundled-dependencies' phase.
[synopsis, description]: Improve them.

> ---
>  gnu/packages/databases.scm | 25 ++++++++++---------------
>  1 file changed, 10 insertions(+), 15 deletions(-)
>
> diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
> index 6306846a8..ef9c1b4ce 100644
> --- a/gnu/packages/databases.scm
> +++ b/gnu/packages/databases.scm
> @@ -30,6 +30,7 @@
>  ;;; Copyright © 2017 Pierre Langlois <pierre.langlois <at> gmx.com>
>  ;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado <at> elephly.net>
>  ;;; Copyright © 2017 Kristofer Buffington <kristoferbuffington <at> gmail.com>
> +;;; Copyright © 2018 Amirouche Boubekki <amirouche <at> hypermove.net>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -1549,19 +1550,19 @@ trees (LSM), for sustained throughput under random insert workloads.")
>  (define-public guile-wiredtiger
>    (package
>      (name "guile-wiredtiger")
> -    (version "20171113.6cbc51da")
> +    (version "0.6.3")
>      (source (origin
>                (method git-fetch)
>                (uri (git-reference
>                      (url "https://framagit.org/a-guile-mind/guile-wiredtiger.git")
> -                    (commit "6cbc51dab95d28fe31ae025fbdd88f3ecbf2111b")))
> +                    (commit "070ed68139d99c279f058a6c293f00292d35dbd7")))
>                (file-name (string-append name "-" version "-checkout"))
>                (sha256
>                 (base32
> -                "0x3qwpgch5pg0k21kc792h4y6b36a8xd1zkfq8ar2l2mqmpzkzyd"))))
> +                "14rna97wsylajzxfif95wnblq85csgcfc666gh5dl0ssgd7x8llh"))))
>      (build-system gnu-build-system)
>      (arguments
> -     '(#:tests? #f
> +     '(#:parallel-tests? #f  ;; tests can't be run in parallel, yet.
>         #:configure-flags
>         (list (string-append "--with-libwiredtiger-prefix="
>                              (assoc-ref %build-inputs "wiredtiger")))
> @@ -1570,15 +1571,9 @@ trees (LSM), for sustained throughput under random insert workloads.")
>         (modify-phases %standard-phases
>           (add-after 'unpack 'bootstrap
>             (lambda _
> -             (zero? (system* "sh" "bootstrap"))))
> -         (add-before 'bootstrap 'remove-bundled-dependencies
> -           (lambda _
> -             ;; TODO: Remove microkanren.scm when we have a separate package
> -             ;; for it.
> -             (delete-file "htmlprag.scm")
> -             (substitute* "Makefile.am"
> -               (("htmlprag\\.scm") ""))
> -             #t)))))
> +             (zero? (system* "sh" "bootstrap")))))))

I've changed the (zero? (system* ...)) call to (invoke ...), a macro
available in (guix build utils) that does the same thing. AFAIK, our
codebase will be moving towards using 'invoke' for this purpose in the
future.

> +    ;; TODO: Remove microkanren.scm when we have a separate package
> +    ;; for it.
>      (native-inputs
>       `(("autoconf" ,autoconf)
>         ("automake" ,automake)
> @@ -1588,10 +1583,10 @@ trees (LSM), for sustained throughput under random insert workloads.")
>         ("guile" ,guile-2.2)))
>      (propagated-inputs
>       `(("guile-lib" ,guile-lib)))                 ;for (htmlprag)
> -    (synopsis "Wired Tiger bindings for GNU Guile")
> +    (synopsis "WiredTiger bindings for GNU Guile")
>      (description
>       "This package provides Guile bindings to the WiredTiger ``NoSQL''
> -database.")
> +database.  Various higher level database abstractions.")
>      (home-page "https://framagit.org/a-guile-mind/guile-wiredtiger")
>      (license license:gpl3+)))

Otherwise, this LGTM! Pushed to master with the above changes. Thanks
for updating this!
[signature.asc (application/pgp-signature, inline)]

Reply sent to Amirouche Boubekki <amirouche <at> hypermove.net>:
You have taken responsibility. (Mon, 08 Jan 2018 22:56:01 GMT) Full text and rfc822 format available.

Notification sent to Amirouche <amirouche <at> hypermove.net>:
bug acknowledged by developer. (Mon, 08 Jan 2018 22:56:01 GMT) Full text and rfc822 format available.

Message #13 received at 29966-done <at> debbugs.gnu.org (full text, mbox):

From: Amirouche Boubekki <amirouche <at> hypermove.net>
To: 29966-done <at> debbugs.gnu.org
Subject: close 29966
Date: Mon, 08 Jan 2018 23:55:36 +0100




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 06 Feb 2018 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.