emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#32115: closed ([PATCH 0/2] Add (guix inferior) and


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32115: closed ([PATCH 0/2] Add (guix inferior) and improve 'guix pull -l')
Date: Fri, 13 Jul 2018 16:01:02 +0000

Your message dated Fri, 13 Jul 2018 17:59:58 +0200
with message-id <address@hidden>
and subject line Re: [bug#32115] [PATCH 0/2] Add (guix inferior) and improve 
'guix pull -l'
has caused the debbugs.gnu.org bug report #32115,
regarding [PATCH 0/2] Add (guix inferior) and improve 'guix pull -l'
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
32115: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32115
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 0/2] Add (guix inferior) and improve 'guix pull -l' Date: Tue, 10 Jul 2018 18:45:59 +0200
Hello Guix!

This patch adds (guix inferior), a module to interact with an inferior Guix
process, along with a ‘guix repl’ command, which spawns a REPL optionally a
simple sexp-based protocol.

‘guix pull -l’ uses (guix inferior) to display this:

--8<---------------cut here---------------start------------->8---
Generation 1    Jun 10 2018 00:18:18
  guix 65956ad
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: origin/master
    commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe
Generation 2    Jun 11 2018 11:02:49
  guix e0cc7f6
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: origin/master
    commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d
  2 new packages: keepalived, libnfnetlink
  6 packages upgraded: address@hidden, address@hidden,
    address@hidden, address@hidden, address@hidden, address@hidden
Generation 3    Jun 13 2018 23:31:07
  guix 844cc1c
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: origin/master
    commit: 844cc1c8f394f03b404c5bb3aee086922373490c
  28 new packages: emacs-helm-ls-git, emacs-helm-mu, emacs-helm-pass, 
emacs-image+,
    emacs-package-lint, emacs-puppet-mode, emacs-wgrep-helm, 
go-github-com-gorilla-mux,
    go-github-com-jonboulle-clockwork, go-github-com-spf13-pflag, libostree, 
ovmf-aarch64, ovmf-arm, qtwebglplugin,
    qtwebview, r-ellipse, r-factoextra, r-factominer, r-flashclust, r-ggpubr, 
r-ggsci, r-ggsignif, r-hdf5r,
    r-nbclust, r-writexl, skopeo, umoci, vkd3d
  69 packages upgraded: address@hidden, address@hidden, address@hidden, 
address@hidden, address@hidden,
    address@hidden, address@hidden, address@hidden, address@hidden, 
address@hidden,
    address@hidden, address@hidden, address@hidden, address@hidden, 
address@hidden, address@hidden,

[...]

--8<---------------cut here---------------end--------------->8---

It takes about one second per generation on my SSD-powered laptop, though, so
we might want to have a persistent cache of each generation’s package list.

Eventually I think we can use (guix inferior) for other purposes.  For example,
hpcguix-web should use it to regularly grab the latest package list.  And, we
could add a gexp compiler for <inferior-package> such that one can seamlessly
refer to packages coming from a different Guix version.  Then, if we wanted to,
we could have ‘guix package’ & co. allow you to specify packages coming from
a different Guix.  Could be fun!

Thoughts?  Comments?

Ludo’.

Ludovic Courtès (2):
  Add (guix inferior) and (guix scripts repl).
  pull: Use (guix inferior) to display new and upgraded packages.

 Makefile.am           |   3 +
 doc/guix.texi         |  59 +++++++++++++
 guix/inferior.scm     | 197 +++++++++++++++++++++++++++++++++++++++++
 guix/scripts/pull.scm |  91 ++++++++++++++++---
 guix/scripts/repl.scm | 199 ++++++++++++++++++++++++++++++++++++++++++
 tests/inferior.scm    |  69 +++++++++++++++
 6 files changed, 607 insertions(+), 11 deletions(-)
 create mode 100644 guix/inferior.scm
 create mode 100644 guix/scripts/repl.scm
 create mode 100644 tests/inferior.scm

-- 
2.18.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#32115] [PATCH 0/2] Add (guix inferior) and improve 'guix pull -l' Date: Fri, 13 Jul 2018 17:59:58 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Ludovic Courtès <address@hidden> skribis:

> This patch adds (guix inferior), a module to interact with an inferior Guix
> process, along with a ‘guix repl’ command, which spawns a REPL optionally a
> simple sexp-based protocol.
>
> ‘guix pull -l’ uses (guix inferior) to display this:
>
> Generation 1  Jun 10 2018 00:18:18
>   guix 65956ad
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: origin/master
>     commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe
> Generation 2  Jun 11 2018 11:02:49
>   guix e0cc7f6
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: origin/master
>     commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d
>   2 new packages: keepalived, libnfnetlink
>   6 packages upgraded: address@hidden, address@hidden,
>     address@hidden, address@hidden, address@hidden, address@hidden
> Generation 3  Jun 13 2018 23:31:07
>   guix 844cc1c
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: origin/master
>     commit: 844cc1c8f394f03b404c5bb3aee086922373490c
>   28 new packages: emacs-helm-ls-git, emacs-helm-mu, emacs-helm-pass, 
> emacs-image+,
>     emacs-package-lint, emacs-puppet-mode, emacs-wgrep-helm, 
> go-github-com-gorilla-mux,
>     go-github-com-jonboulle-clockwork, go-github-com-spf13-pflag, libostree, 
> ovmf-aarch64, ovmf-arm, qtwebglplugin,
>     qtwebview, r-ellipse, r-factoextra, r-factominer, r-flashclust, r-ggpubr, 
> r-ggsci, r-ggsignif, r-hdf5r,
>     r-nbclust, r-writexl, skopeo, umoci, vkd3d
>   69 packages upgraded: address@hidden, address@hidden, address@hidden, 
> address@hidden, address@hidden,
>     address@hidden, address@hidden, address@hidden, address@hidden, 
> address@hidden,
>     address@hidden, address@hidden, address@hidden, address@hidden, 
> address@hidden, address@hidden,

I pushed these patches with a couple of improvements.  Let me know what
you think!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]