unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#41409: “guix pull” should show a progress bar for channel updates
@ 2020-05-19 21:30 Ricardo Wurmus
  2020-05-21 11:00 ` zimoun
  2020-05-24 21:17 ` Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2020-05-19 21:30 UTC (permalink / raw)
  To: 41409

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#41409: “guix pull” should show a progress bar for channel updates
  2020-05-19 21:30 bug#41409: “guix pull” should show a progress bar for channel updates Ricardo Wurmus
@ 2020-05-21 11:00 ` zimoun
  2020-05-21 20:09   ` Ricardo Wurmus
  2020-05-24 21:17 ` Ludovic Courtès
  1 sibling, 1 reply; 8+ messages in thread
From: zimoun @ 2020-05-21 11:00 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 41409

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#41409: “guix pull” should show a progress bar for channel updates
  2020-05-21 11:00 ` zimoun
@ 2020-05-21 20:09   ` Ricardo Wurmus
  2020-05-21 22:29     ` zimoun
  0 siblings, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2020-05-21 20:09 UTC (permalink / raw)
  To: zimoun; +Cc: 41409


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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#41409: “guix pull” should show a progress bar for channel updates
  2020-05-21 20:09   ` Ricardo Wurmus
@ 2020-05-21 22:29     ` zimoun
  0 siblings, 0 replies; 8+ messages in thread
From: zimoun @ 2020-05-21 22:29 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 41409

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#41409: “guix pull” should show a progress bar for channel updates
  2020-05-19 21:30 bug#41409: “guix pull” should show a progress bar for channel updates Ricardo Wurmus
  2020-05-21 11:00 ` zimoun
@ 2020-05-24 21:17 ` Ludovic Courtès
  2020-10-05  7:45   ` bug#39260: " Ludovic Courtès
  1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2020-05-24 21:17 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 41409

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’.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#39260: bug#41409: “guix pull” should show a progress bar for channel updates
  2020-05-24 21:17 ` Ludovic Courtès
@ 2020-10-05  7:45   ` Ludovic Courtès
  2020-10-12 21:30     ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2020-10-05  7:45 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 41409, 39260

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’.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#41409: “guix pull” should show a progress bar for channel updates
  2020-10-05  7:45   ` bug#39260: " Ludovic Courtès
@ 2020-10-12 21:30     ` Ludovic Courtès
  2020-10-26 22:52       ` bug#39260: " Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2020-10-12 21:30 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 41409, 39260

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’.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#39260: bug#41409: “guix pull” should show a progress bar for channel updates
  2020-10-12 21:30     ` Ludovic Courtès
@ 2020-10-26 22:52       ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2020-10-26 22:52 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 39260-done, 41409-done

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’.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-10-26 22:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 21:30 bug#41409: “guix pull” should show a progress bar for channel updates Ricardo Wurmus
2020-05-21 11:00 ` zimoun
2020-05-21 20:09   ` Ricardo Wurmus
2020-05-21 22:29     ` zimoun
2020-05-24 21:17 ` Ludovic Courtès
2020-10-05  7:45   ` bug#39260: " Ludovic Courtès
2020-10-12 21:30     ` Ludovic Courtès
2020-10-26 22:52       ` bug#39260: " Ludovic Courtès

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git