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

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

[debbugs-tracker] bug#27865: closed ([PATCH 0/3] Use Guile-Git for 'guix


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27865: closed ([PATCH 0/3] Use Guile-Git for 'guix pull')
Date: Tue, 01 Aug 2017 22:11:02 +0000

Your message dated Wed, 02 Aug 2017 00:10:26 +0200
with message-id <address@hidden>
and subject line Re: [bug#27865] [PATCH 0/3] Use Guile-Git for 'guix pull'
has caused the debbugs.gnu.org bug report #27865,
regarding [PATCH 0/3] Use Guile-Git for 'guix pull'
to be marked as done.

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


-- 
27865: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27865
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 0/3] Use Guile-Git for 'guix pull' Date: Fri, 28 Jul 2017 22:28:14 +0200
Hello Guix!

This is the long-awaited change where ‘guix pull’ fetches code over Git
instead of stupidly grabbing a full snapshot generated on-the-fly by the
poor Savannah servers.

As a side-effect, ‘guix pull’ gains a ‘--commit’ and a ‘--branch’
option.  Also, ‘guix --version’ will now show a Git commit ID instead of
a date.

This change makes Guile-Git a hard dependency.  The transition might be
somewhat bumpy since it’s possible that users not having Guile-Git
installed will run ‘guix pull’ and, upon completion, will get an error
when they re-run ‘guix pull’.  This will be fixed by installing
‘guile-git’.  Thinking about it, (guix scripts pull) could perhaps try
to be smart and have an error message saying “please install Guile-Git”
or something.

Thoughts?

Another (minor) issue is that there hasn’t been an official release of
Guile-Git yet, and things are still changing a little bit.  However I
think most of the important things are in place.

Guile-Git currently lacks bindings for the progress-report API when
cloning the repo.  We’ll use it when it’s available.

Feedback welcome!

Thanks,
Ludo’.

Ludovic Courtès (3):
  build: Make Guile-Git a hard requirement.
  pull: Fetch source code from Git.
  pull: Use the commit ID as the version string.

 Makefile.am           |   8 +-
 configure.ac          |  10 ++-
 doc/guix.texi         |  29 ++++---
 guix/scripts/pull.scm | 219 ++++++++++++++++++++++++--------------------------
 4 files changed, 124 insertions(+), 142 deletions(-)

-- 
2.13.3




--- End Message ---
--- Begin Message --- Subject: Re: [bug#27865] [PATCH 0/3] Use Guile-Git for 'guix pull' Date: Wed, 02 Aug 2017 00:10:26 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
address@hidden (Ludovic Courtès) skribis:

> Ludovic Courtès <address@hidden> skribis:
>
>> This change makes Guile-Git a hard dependency.  The transition might be
>> somewhat bumpy since it’s possible that users not having Guile-Git
>> installed will run ‘guix pull’ and, upon completion, will get an error
>> when they re-run ‘guix pull’.  This will be fixed by installing
>> ‘guile-git’.  Thinking about it, (guix scripts pull) could perhaps try
>> to be smart and have an error message saying “please install Guile-Git”
>> or something.
>
> I think we can go as far as installing Guile-Git in the user’s profile,
> like this:

I pushed it as 59a16275189f55ddd692b0ea5b415c706fa1fd69 but came up with
something less radical: ‘guix pull’ errors out when Guile-Git is
missing, with a message explaining how to install it.

When upgrading from Guix before Feb. 2017, ‘guix pull’ simply refuses to
upgrade because those old versions lacked a ‘guile-git’ package.

I think this should make the transition mostly painless.
Please report any issues!

Ludo’.


--- End Message ---

reply via email to

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