* bug#32022: (new feature) Change guix pull to choose commits for which substitutes is already built by default
@ 2018-06-30 19:06 swedebugia
2018-07-02 13:45 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: swedebugia @ 2018-06-30 19:06 UTC (permalink / raw)
To: Bug-guix@gnu org
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
Hi
I would like it to be easy for newcomers to do the right thing when pulling.
I suggest we by default give guix pullers a bit more information and interaction.
Something like this:
"Checking for newly built derivations of guix at hydra.gnu.org...
(table)
Date Commit Succeeded for x64?
28/6 54d84d8 yes
...
...
...
Pulling based on default commit selection scheme (see --help for details)
Most recently built commit is x4678x85 built x hours ago.
Continuing in 10 seconds...
Press ctrl+c to abort. "
Guix pull gets a new argument " -d" allowing you to specify the days old commit you want to select.
E. G. Guix pull -d 5 selects a commit build successfully 5 days ago by hydra.
Guix weather could show the table only, if the argument --guix-pull was given.
--
Cheers Swedebugia
[-- Attachment #2: Type: text/html, Size: 972 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#32022: (new feature) Change guix pull to choose commits for which substitutes is already built by default
2018-06-30 19:06 bug#32022: (new feature) Change guix pull to choose commits for which substitutes is already built by default swedebugia
@ 2018-07-02 13:45 ` Ludovic Courtès
2018-12-17 10:53 ` swedebugia
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-07-02 13:45 UTC (permalink / raw)
To: swedebugia; +Cc: 32022
Hello swedebugia,
swedebugia <swedebugia@riseup.net> skribis:
> I would like it to be easy for newcomers to do the right thing when pulling.
>
> I suggest we by default give guix pullers a bit more information and interaction.
> Something like this:
> "Checking for newly built derivations of guix at hydra.gnu.org...
> (table)
> Date Commit Succeeded for x64?
> 28/6 54d84d8 yes
> ...
> ...
> ...
>
> Pulling based on default commit selection scheme (see --help for details)
> Most recently built commit is x4678x85 built x hours ago.
> Continuing in 10 seconds...
> Press ctrl+c to abort. "
Any strategy that makes it easy to update to an “old” Guix revision is
risky: one could easily tweak the user into using an old revision that
lacks an important security fix. So that’s not an option to me.
Furthermore, note that people may choose not to use substitutes. The
proposed changes wouldn’t help them.
The problem we’re trying to address here is ‘guix pull’ slowness. We
can address it in several ways:
1. Provide substitutes in a timely fashion. We do that on
berlin.guixsd.org; hydra.gnu.org now provides substitutes, but not
in a timely fashion. We should arrange to make them more reactive
so that you’re unlikely to have to build things from source, though
we can’t entirely eliminate situations where you do have to build
part of the stuff from source.
2. Break up the build work that ‘guix pull’ does into reasonably-sized
derivations. (guix self) is a step in that direction, but as you
know there are still big derivations that have to compile a whole
lot of package modules. We could split that further.
3. Make Guile’s compiler faster. I think there’s still room for
improvement and that would benefit everyone.
IMO we should really work on these fronts rather than putting users at
risk just to paper over these performance issues.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-17 10:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-30 19:06 bug#32022: (new feature) Change guix pull to choose commits for which substitutes is already built by default swedebugia
2018-07-02 13:45 ` Ludovic Courtès
2018-12-17 10:53 ` swedebugia
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).