“guix_ pull” should show a progress bar for channel updates

OpenSubmitted by Ricardo Wurmus.
Details
3 participants
  • Ludovic Courtès
  • Ricardo Wurmus
  • zimoun
Owner
unassigned
Severity
important
Merged with
R
R
Ricardo Wurmus wrote on 19 May 23:30 +0200
“guix pull” should show a progress bar for channel updates
(address . bug-guix@gnu.org)
87imgrfw9i.fsf@elephly.net
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 doingsomething, nor can I see what the progress is.
Would be nice to have a progress bar or at least a spinner.
-- Ricardo
Z
Z
zimoun wrote on 21 May 13:00 +0200
Re: bug#41409: “guix pull” should show a progres s bar for channel updates
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 41409@debbugs.gnu.org)
CAJ3okZ1LnAsiKyqHRUDX5P=petQSj-5K19JhtPXHbDm9=jfpSQ@mail.gmail.com
Hi Ricardo,
On Tue, 19 May 2020 at 23:31, Ricardo Wurmus <rekado@elephly.net> wrote:
Toggle quote (7 lines)> 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.
Most of the time is fetching from network so if you have a goodnetwork connection, this step is not long enough to be disconcerting.:-)
In addition to this whislist, it appears to me the same for "ComputingGuix derivation", even there is something moving.

All the best,simon
R
R
Ricardo Wurmus wrote on 21 May 22:09 +0200
Re: bug#41409: “guix pull” should show a progress bar for channel updates
(name . zimoun)(address . zimon.toutoune@gmail.com)(address . 41409@debbugs.gnu.org)
87367tdp8u.fsf@elephly.net
zimoun <zimon.toutoune@gmail.com> writes:
Toggle quote (13 lines)> On Tue, 19 May 2020 at 23:31, Ricardo Wurmus <rekado@elephly.net> wrote:>>> 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.>> Most of the time is fetching from network so if you have a good> network connection, this step is not long enough to be disconcerting.> :-)
It can take several seconds or even over a few minutes when fetchingfrom multiple channels. For what it’s worth I got annoyed waiting for“guix pull” on ci.guix.gnu.org, which has a pretty decent networkconnection (even though users on the outside cannot see it this way dueto the firewall).
-- Ricardo
Z
Z
zimoun wrote on 22 May 00:29 +0200
Re: bug#41409: “guix pull” should show a progres s bar for channel updates
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 41409@debbugs.gnu.org)
CAJ3okZ34VFPPw3dJ1dxNio20_FrM350XJf8Dw3wj4_PaoB9jDA@mail.gmail.com
On Thu, 21 May 2020 at 22:09, Ricardo Wurmus <rekado@elephly.net> wrote:
Toggle quote (6 lines)> It can take several seconds or even over a few minutes when fetching> from multiple channels. For what it’s worth I got annoyed waiting for> “guix pull” on ci.guix.gnu.org, which has a pretty decent network> connection (even though users on the outside cannot see it this way due> to the firewall).
Wow! Few minutes. To me, each channel (Gitlab, GitHub, etc.) takes acouple of seconds -- even with a poor Wifi connection -- and thelongest is Guix from Savannah: and "slow" as everything under gnu.org.I feel much more frustrated by "Computing Guix derivation" which takesages on my machine and I never know if the computations are at 20% or80% or whatever.And I never pull on my laptop the current HEAD of master otherwise Iam waiting between 10 and 30 minutes building all the derivationsbecause they are not substituable yet; well I pull 1 or 2 weeksbehind.
Well, a spinner for the Git updating part could improve use cases:first pull, long period between 2 pulls, firewall, etc..On the other hand, an European mirror of guix.git could help too, IMHO.
Cheers,simon
L
L
Ludovic Courtès wrote on 24 May 23:17 +0200
Re: bug#41409: “guix pull” should show a progress bar for channel updates
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 41409@debbugs.gnu.org)
875zclyqve.fsf@gnu.org
Hi,
Ricardo Wurmus <rekado@elephly.net> skribis:
Toggle quote (7 lines)> 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 notyet provide bindings to the progress-report thingie for fetchoperations.
Ludo’.
L
L
Ludovic Courtès wrote on 2 Jul 00:15 +0200
control message for bug #39260
(address . control@debbugs.gnu.org)
87366ayj9j.fsf@gnu.org
merge 39260 41409quit
L
L
Ludovic Courtès wrote on 2 Jul 00:15 +0200
(address . control@debbugs.gnu.org)
871rluyj9e.fsf@gnu.org
severity 39260 importantquit
L
L
Ludovic Courtès wrote on 5 Oct 09:45 +0200
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:
https://gitlab.com/guile-git/guile-git/-/commit/7a3d97a72e7907213241f62d3bac926361f50f95
However, there’s an (unrelated) issue with libgit2 meaning thatGuile-Git is not in a releasable state yet:
https://github.com/libgit2/libgit2/issues/5650
Ludo’.
L
L
Ludovic Courtès wrote on 12 Oct 23:30 +0200
(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:
https://issues.guix.gnu.org/43968
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’.
?