unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [SCM] guix source archive branch, master, updated. v0.1-234-g0206513
       [not found] <E1UDLYG-0004ar-JJ@vcs.savannah.gnu.org>
@ 2013-03-06 23:45 ` Ludovic Courtès
  2013-03-07  0:18   ` Nikita Karetnikov
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2013-03-06 23:45 UTC (permalink / raw)
  To: nikita; +Cc: bug-guix

nikita <nikita@karetnikov.org> skribis:

> commit 02065130de33e990969fe9b7cc19b9b1c24f3ff7
> Author: Nikita Karetnikov <nikita@karetnikov.org>
> Date:   Sun Mar 3 23:20:28 2013 +0000
>
>     utils: Add 'wrap-program'.
>     
>     * guix/build/utils.scm (wrap-program): New procedure.

Such changes should be done in ‘core-updates’, not ‘master’, because
they entail a full rebuild.

So I’ve reverted it in ‘master’ and cherry-picked it in ‘core-updates’.

Ludo’.

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

* Re: [SCM] guix source archive branch, master, updated. v0.1-234-g0206513
  2013-03-06 23:45 ` [SCM] guix source archive branch, master, updated. v0.1-234-g0206513 Ludovic Courtès
@ 2013-03-07  0:18   ` Nikita Karetnikov
  2013-03-07  0:33     ` Nikita Karetnikov
  2013-03-07 13:55     ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Nikita Karetnikov @ 2013-03-07  0:18 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: bug-guix

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

> Such changes should be done in ‘core-updates’, not ‘master’, because
> they entail a full rebuild.

Oh, I'm sorry.  But could you explain why?  I'm puzzled because the
commit doesn't remove anything.

Could you provide a list of files that shouldn't be changed in 'master'?
I guess that 'gnu/packages/base.scm', 'gnu/packages/make-bootstrap.scm',
and 'guix/build' shouldn't be touched.  Anything else?

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: [SCM] guix source archive branch, master, updated. v0.1-234-g0206513
  2013-03-07  0:18   ` Nikita Karetnikov
@ 2013-03-07  0:33     ` Nikita Karetnikov
  2013-03-07 13:55     ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Nikita Karetnikov @ 2013-03-07  0:33 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: bug-guix

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

> Oh, I'm sorry.  But could you explain why?  I'm puzzled because the
> commit doesn't remove anything.

I think that I got it.  The file will be recompiled anyway.  So any file
that uses it will be rebuilt as well.

(The question about the list of files is valid, though.)

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: [SCM] guix source archive branch, master, updated. v0.1-234-g0206513
  2013-03-07  0:18   ` Nikita Karetnikov
  2013-03-07  0:33     ` Nikita Karetnikov
@ 2013-03-07 13:55     ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-03-07 13:55 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: bug-guix

Nikita Karetnikov <nikita@karetnikov.org> skribis:

>> Such changes should be done in ‘core-updates’, not ‘master’, because
>> they entail a full rebuild.
>
> Oh, I'm sorry.  But could you explain why?  I'm puzzled because the
> commit doesn't remove anything.

guix/build/utils.scm is used by every build script; same for
gnu/build/gnu-build-system.scm.  So if you change something there,
everything has to be rebuilt.

The purpose of ‘core-updates’ is to have a staging area for changes that
require full rebuilds, so that users don’t end up rebuild everything
every other day.  ;-)

> Could you provide a list of files that shouldn't be changed in 'master'?
> I guess that 'gnu/packages/base.scm', 'gnu/packages/make-bootstrap.scm',
> and 'guix/build' shouldn't be touched.  Anything else?

make-bootstrap.scm can actually be changed at will.  base.scm can be
changed too, as long as the derivations it defines remain unchanged (for
instance, you can add comments, change ‘hello’, but not glibc.)

If in doubt, try ‘guix build coreutils -n’ after making your change to
see if it entails a full rebuild.

Ludo’.

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

end of thread, other threads:[~2013-03-07 13:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1UDLYG-0004ar-JJ@vcs.savannah.gnu.org>
2013-03-06 23:45 ` [SCM] guix source archive branch, master, updated. v0.1-234-g0206513 Ludovic Courtès
2013-03-07  0:18   ` Nikita Karetnikov
2013-03-07  0:33     ` Nikita Karetnikov
2013-03-07 13:55     ` Ludovic Courtès

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