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. Would be nice to have a progress bar or at least a spinner. -- Ricardo
Hi Ricardo,
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.
:-)
In addition to this whislist, it appears to me the same for "Computing
Guix derivation", even there is something moving.
All the best,
simon
zimoun <zimon.toutoune@gmail.com> writes:
> 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 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).
--
Ricardo
On Thu, 21 May 2020 at 22:09, Ricardo Wurmus <rekado@elephly.net> wrote:
> 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 a
couple of seconds -- even with a poor Wifi connection -- and the
longest is Guix from Savannah: and "slow" as everything under gnu.org.
I feel much more frustrated by "Computing Guix derivation" which takes
ages on my machine and I never know if the computations are at 20% or
80% or whatever.
And I never pull on my laptop the current HEAD of master otherwise I
am waiting between 10 and 30 minutes building all the derivations
because they are not substituable yet; well I pull 1 or 2 weeks
behind.
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
Hi,
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.
Ludo’.
Hi, 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 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 Ludo’.
Ludovic Courtès <ludo@gnu.org> skribis: > 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 > 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’.
Ludovic Courtès <ludo@gnu.org> skribis:
> And now the Guix side of it:
>
> https://issues.guix.gnu.org/43968
Merged in 298f9d29d6c26e408a90d08d147d926aa6f81ab3, closing!
Ludo’.