Re: Display a single "substitute: updating list of substitutes from ..."

2018-05-17 Thread Ludovic Courtès
Chris Marusich <cmmarus...@gmail.com> skribis: > Pierre Neidhardt <ambre...@gmail.com> writes: > >> Every now and then, guix updates the list of substitutes. While doing >> so, it displays a bunch of >> >> substitute: updating list of substitu

Re: Display a single "substitute: updating list of substitutes from ..."

2018-05-17 Thread Pierre Neidhardt
Chris Marusich writes: > Perhaps what you're seeing might be caused by this: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22990 I think it is! -- Pierre Neidhardt signature.asc Description: PGP signature

Re: Display a single "substitute: updating list of substitutes from ..."

2018-05-17 Thread Chris Marusich
Pierre Neidhardt <ambre...@gmail.com> writes: > Every now and then, guix updates the list of substitutes. While doing > so, it displays a bunch of > > substitute: updating list of substitutes from > 'https://mirror.hydra.gnu.org'... 100.0% > > Sometimes dozens

Re: Display a single "substitute: updating list of substitutes from ..."

2018-05-17 Thread Hartmut Goebel
Am 17.05.2018 um 08:27 schrieb Pierre Neidhardt: > I don't find it very informative to show this to the user more than once. Same for me. I find it esp. irritating to see info like this: substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updat

Display a single "substitute: updating list of substitutes from ..."

2018-05-17 Thread Pierre Neidhardt
Every now and then, guix updates the list of substitutes. While doing so, it displays a bunch of substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% Sometimes dozens of them in a row. I don't find it very informative to show this to the user more

Re: updating list of substitutes

2015-11-18 Thread Thompson, David
On Wed, Nov 18, 2015 at 11:15 AM, Pjotr Prins wrote: > Hi Ludo, > > Hydra needs to get kicked ;). Download substitutes is slow. Too slow. > > How much would it cost to get some decent hardware for the substitute > server? Maybe we can do a dedicated round of funding on

Re: updating list of substitutes

2015-11-18 Thread Alex Sassmannshausen
Thompson, David writes: > On Wed, Nov 18, 2015 at 11:15 AM, Pjotr Prins > wrote: >> Hi Ludo, >> >> Hydra needs to get kicked ;). Download substitutes is slow. Too slow. >> >> How much would it cost to get some decent hardware for the substitute >> server? Maybe we can

Re: updating list of substitutes

2015-11-18 Thread Pjotr Prins
Hi Ludo, Hydra needs to get kicked ;). Download substitutes is slow. Too slow. How much would it cost to get some decent hardware for the substitute server? Maybe we can do a dedicated round of funding on this list and go round with a cap at FOSDEM? I am happy to put in $100 if it solves the

Re: updating list of substitutes

2015-10-13 Thread Andreas Enge
uest if some packages are available, to some logic on the hydra side guessing the list of packages a client might be interested in. So maybe just switching to a more powerful and reactive hydra machine would be the better way to solve this problem! Andreas PS: And we should stop "updating list of

Re: updating list of substitutes

2015-10-13 Thread Ludovic Courtès
Andreas Enge skribis: > Still, my impression (also from using substitutes) is that _access_ to hydra > is slow; Yes. If you haven’t tried yet, compare it with the speed at which ‘guix publish’ serves those .narinfo URLs on a “real” machine; it’s an order of magnitude faster,

Re: updating list of substitutes

2015-10-12 Thread Pjotr Prins
On Mon, Oct 12, 2015 at 01:15:01AM -0400, Mark H Weaver wrote: > The phrase "the substitute list" suggests a single, complete list of all > available substitutes, but there is no such list. Instead, quoting > Ludovic above: > > "When building a package FOO, Guix looks for substitutes for FOO >

Re: updating list of substitutes

2015-10-12 Thread Ludovic Courtès
Pjotr Prins skribis: > On Mon, Oct 12, 2015 at 01:15:01AM -0400, Mark H Weaver wrote: >> The phrase "the substitute list" suggests a single, complete list of all >> available substitutes, but there is no such list. Instead, quoting >> Ludovic above: >> >> "When

Re: updating list of substitutes

2015-10-12 Thread Pjotr Prins
On Mon, Oct 12, 2015 at 12:31:21PM -0400, Mark H Weaver wrote: > In summary, the full set of available substitutes is typically quite > large and changes frequently, so this approach would entail a lot of > wasted network bandwidth (and load on hydra) to maintain the complete > list of substitutes

Re: updating list of substitutes

2015-10-11 Thread Efraim Flashner
On Sun, 11 Oct 2015 09:46:54 +0200 Pjotr Prins <pjotr.publi...@thebird.nl> wrote: > The list of substitutes gets downloaded every time I do someting: > > substitute: updating list of substitutes from 'http://hydra.gnu.org'... > 4.6% > > and it is slow. Am

Re: updating list of substitutes

2015-10-11 Thread Ludovic Courtès
Pjotr Prins <pjotr.publi...@thebird.nl> skribis: > The list of substitutes gets downloaded every time I do someting: > > substitute: updating list of substitutes from 'http://hydra.gnu.org'... > 4.6% > > and it is slow. Am I doing something wrong? No! Slowness

Re: updating list of substitutes

2015-10-11 Thread Pjotr Prins
On Sun, Oct 11, 2015 at 08:39:32PM +0200, Ludovic Courtès wrote: > No! Slowness is a longstanding issue of hydra.gnu.org, a poor little > VM. I hope we can address it soon! See > . Looking forward to that :) > > It appears

Re: updating list of substitutes

2015-10-11 Thread Mark H Weaver
Pjotr Prins writes: > On Sun, Oct 11, 2015 at 08:39:32PM +0200, Ludovic Courtès wrote: >> > It appears to me that if the list does not change it should not be >> > downloaded. >> >> It’s not downloaded “every time.” >> >> When building a package FOO, Guix looks for

Re: updating list of substitutes

2015-05-26 Thread Ludovic Courtès
Pjotr Prins pjotr.publi...@thebird.nl skribis: I am getting really tired of looking at substitute-binary: updating list of substitutes from 'http://hydra.gnu.org'... Thanks for sharing your tiredness! ;-) This message comes from a pre-0.8.2 Guix though. Now, I’m not claiming it’s

Re: updating list of substitutes

2015-04-23 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: On Wed, Apr 22, 2015 at 01:46:35PM +0200, Pjotr Prins wrote: 5. We reload the list of substitutes after a fixed time Let me rephrase. Can we have a more lazy approach towards fetching substitutes? Rather than a fixed TTL we could fetch the latest list on

Re: updating list of substitutes

2015-04-22 Thread Taylan Ulrich Bayırlı/Kammer
Pjotr Prins pjotr.publi...@thebird.nl writes: But even when installing, one may not need to download anything if the package is already in the store. So I think the following would be good: Determine the list of packages to be installed in a profile with guix package or to be built with

Re: updating list of substitutes

2015-04-22 Thread Pjotr Prins
On Wed, Apr 22, 2015 at 02:24:21PM +0200, Andreas Enge wrote: On Wed, Apr 22, 2015 at 01:46:35PM +0200, Pjotr Prins wrote: 5. We reload the list of substitutes after a fixed time Let me rephrase. Can we have a more lazy approach towards fetching substitutes? Rather than a fixed TTL we could

Re: updating list of substitutes

2015-04-22 Thread Mark H Weaver
Pjotr Prins pjotr.publi...@thebird.nl writes: On Tue, Apr 21, 2015 at 02:02:37PM +0200, Andreas Enge wrote: On Tue, Apr 21, 2015 at 12:02:16PM +0200, Pjotr Prins wrote: ls /var/guix/profiles/per-user/wrk/guix-profile-2-link/bin/ruby

Re: updating list of substitutes

2015-04-22 Thread Pjotr Prins
???guix publish??? may have a different TTL.) Q2: Can we switch off updating list of substitutes? A command line switch would do. '--no-update-supstitutes' No. Let me rephrase. Can we have a more lazy approach towards fetching substitutes? Rather than a fixed TTL we could fetch

Re: updating list of substitutes

2015-04-22 Thread Andreas Enge
On Wed, Apr 22, 2015 at 01:46:35PM +0200, Pjotr Prins wrote: 5. We reload the list of substitutes after a fixed time Let me rephrase. Can we have a more lazy approach towards fetching substitutes? Rather than a fixed TTL we could fetch the latest list on the first failed substitute. A while

updating list of substitutes

2015-04-21 Thread Pjotr Prins
Pretty much every time I want to install a package I get a search for updating list of substitutes being on a slow internet line this sucks (not everyone has fast internet! Think outside the US/Europe where internet is often still metered on mobile lines), besides installing the same software

Re: updating list of substitutes

2015-04-21 Thread Ludovic Courtès
Pjotr Prins pjotr.publi...@thebird.nl skribis: Pretty much every time I want to install a package I get a search for updating list of substitutes being on a slow internet line this sucks (not everyone has fast internet! Think outside the US/Europe where internet is often still metered

Re: updating list of substitutes

2015-04-21 Thread Andreas Enge
On Tue, Apr 21, 2015 at 10:40:28AM +0200, Pjotr Prins wrote: How do I recreate the exact same system from Hydra? Even now if I install the exact same Ruby-2.2.1 it will install different packages compared to yesterday. I am lost here. If you use a fixed release or git commit of guix,

Re: updating list of substitutes

2015-04-21 Thread Pjotr Prins
On Tue, Apr 21, 2015 at 11:19:58AM +0200, Andreas Enge wrote: On Tue, Apr 21, 2015 at 10:40:28AM +0200, Pjotr Prins wrote: How do I recreate the exact same system from Hydra? Even now if I install the exact same Ruby-2.2.1 it will install different packages compared to yesterday. I am

Re: updating list of substitutes

2015-04-21 Thread Andreas Enge
On Tue, Apr 21, 2015 at 12:02:16PM +0200, Pjotr Prins wrote: ls /var/guix/profiles/per-user/wrk/guix-profile-2-link/bin/ruby /var/guix/profiles/per-user/wrk/guix-profile-2-link/bin/ruby - /gnu/store/gy1dnlh6qhwd40admi3b1mr4r9cn8bww-ruby-2.2.1/bin/ruby A few days later I install ruby-1.8.7

Re: updating list of substitutes

2015-04-21 Thread Pjotr Prins
On Tue, Apr 21, 2015 at 02:02:37PM +0200, Andreas Enge wrote: On Tue, Apr 21, 2015 at 12:02:16PM +0200, Pjotr Prins wrote: ls /var/guix/profiles/per-user/wrk/guix-profile-2-link/bin/ruby /var/guix/profiles/per-user/wrk/guix-profile-2-link/bin/ruby -