(guix git) does not report progress when cloning or fetching

DoneSubmitted by Ludovic Courtès.
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Severity
important
Merged with
L
L
Ludovic Courtès wrote on 24 Jan 2020 10:39
(address . bug-Guix@gnu.org)
8736c5fb28.fsf@gnu.org
Hello,

Currently commands such as ‘guix pull’ do not report progress while
cloning of fetching a Git repo. This is problematic when that takes a
while, for instance the first time one runs ‘guix pull’ (doing a full
clone).

We should add missing bindings (if any) to Guile-Git and use them to
show a progress bar or similar.

Ludo’.
L
L
Ludovic Courtès wrote on 2 Jul 2020 00:15
control message for bug #39260
(address . control@debbugs.gnu.org)
87366ayj9j.fsf@gnu.org
merge 39260 41409
quit
L
L
Ludovic Courtès wrote on 2 Jul 2020 00:15
(address . control@debbugs.gnu.org)
871rluyj9e.fsf@gnu.org
severity 39260 important
quit
L
L
Ludovic Courtès wrote on 5 Oct 2020 09:45
Re: bug#41409: “guix pull” should show a progress bar for channel updates
(name . Ricardo Wurmus)(address . rekado@elephly.net)
874kn96rq3.fsf@gnu.org
Hi,

Ludovic Courtès <ludo@gnu.org> skribis:

Toggle quote (13 lines)
> Ricardo Wurmus <rekado@elephly.net> skribis:
>
>> When I run “guix pull” (or “guix time-machine”) I see this message
>>
>> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
>>
>> followed by disconcerting silence. I can’t tell if it’s doing
>> something, nor can I see what the progress is.
>
> For the record, the main missing piece is in Guile-Git, which does not
> yet provide bindings to the progress-report thingie for fetch
> operations.

I’ve added support for the ‘transfer-progress’ callback in Guile-Git:


However, there’s an (unrelated) issue with libgit2 meaning that
Guile-Git is not in a releasable state yet:


Ludo’.
L
L
Ludovic Courtès wrote on 12 Oct 2020 23:30
(name . Ricardo Wurmus)(address . rekado@elephly.net)
87lfgbm8sm.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> skribis:

Toggle quote (19 lines)
> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> Ricardo Wurmus <rekado@elephly.net> skribis:
>>
>>> When I run “guix pull” (or “guix time-machine”) I see this message
>>>
>>> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
>>>
>>> followed by disconcerting silence. I can’t tell if it’s doing
>>> something, nor can I see what the progress is.
>>
>> For the record, the main missing piece is in Guile-Git, which does not
>> yet provide bindings to the progress-report thingie for fetch
>> operations.
>
> I’ve added support for the ‘transfer-progress’ callback in Guile-Git:
>
> https://gitlab.com/guile-git/guile-git/-/commit/7a3d97a72e7907213241f62d3bac926361f50f95

And now the Guix side of it:


Toggle quote (5 lines)
> However, there’s an (unrelated) issue with libgit2 meaning that
> Guile-Git is not in a releasable state yet:
>
> https://github.com/libgit2/libgit2/issues/5650

It’s a libgit2 bug but not a showstopper after all.

Ludo’.
L
L
Ludovic Courtès wrote on 26 Oct 2020 23:52
Re: bug#39260: bug#41409: “guix pull” should show a progress bar for channel updates
(name . Ricardo Wurmus)(address . rekado@elephly.net)
87pn548usc.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> skribis:

Toggle quote (4 lines)
> And now the Guix side of it:
>
> https://issues.guix.gnu.org/43968

Merged in 298f9d29d6c26e408a90d08d147d926aa6f81ab3, closing!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 39260@debbugs.gnu.org