unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] doc: Run guix refresh -l to find out about dependent packages.
@ 2016-07-28 11:13 ng0
  2016-07-28 12:02 ` Vincent Legoll
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: ng0 @ 2016-07-28 11:13 UTC (permalink / raw)
  To: guix-devel

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

This adds an item about guix refresh to the contributing section of the
docs.
-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-doc-Run-guix-refresh-l-to-find-out-about-dependent-p.patch --]
[-- Type: text/x-patch, Size: 1550 bytes --]

From 5fead8acf58b4ce000c60381a02db688561dbf05 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Thu, 28 Jul 2016 11:06:32 +0000
Subject: [PATCH] doc: Run guix refresh -l to find out about dependent
 packages.

* doc/contributing.texi (Submitting Patches): Includes an item to
explain that core-updates and core-updates-next exist and that your
change will be applied on them if it affects too many dependent
packages, example: libgcrypt.
---
 doc/contributing.texi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/doc/contributing.texi b/doc/contributing.texi
index c0755bb..cfad190 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -328,6 +328,21 @@ extensions---or to the operating system kernel---e.g., reliance on
 @code{uname} or @file{/proc} files.
 
 @item
+Run @command{guix refresh --list-dependent} (@pxref{Invoking guix refresh})
+to find out how many packages would rebuild based on your patch.
+When your patch touches important or a big number of packages, it is
+prefered to be applied on the git branch core-updates or core-updates-next.
+
+@example
+guix refresh -l libgcrypt
+Building the following 822 packages would ensure 2221 dependent packages
+are rebuilt:
+@end example
+
+This is a good example for a number which indicates that a change to
+libgcrypt would not simply be applied on master.
+
+@item
 When writing documentation, please use gender-neutral wording when
 referring to people, such as
 @uref{https://en.wikipedia.org/wiki/Singular_they, singular
-- 
2.9.2


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

* Re: [PATCH] doc: Run guix refresh -l to find out about dependent packages.
  2016-07-28 11:13 [PATCH] doc: Run guix refresh -l to find out about dependent packages ng0
@ 2016-07-28 12:02 ` Vincent Legoll
  2016-07-28 15:42   ` ng0
  2016-07-28 13:09 ` Ludovic Courtès
  2016-07-28 13:48 ` Ludovic Courtès
  2 siblings, 1 reply; 6+ messages in thread
From: Vincent Legoll @ 2016-07-28 12:02 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

Maybe, it'd better to get a real native English speaker review, but
until he comes, here are my comments:

"how many packages would rebuild"
"how many packages have to be rebuilt"

"for a number which indicates that a change to"
"for why your change to"

IANANES...

-- 
Vincent Legoll

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

* Re: [PATCH] doc: Run guix refresh -l to find out about dependent packages.
  2016-07-28 11:13 [PATCH] doc: Run guix refresh -l to find out about dependent packages ng0
  2016-07-28 12:02 ` Vincent Legoll
@ 2016-07-28 13:09 ` Ludovic Courtès
  2016-07-28 13:48 ` Ludovic Courtès
  2 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2016-07-28 13:09 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

ng0 <ng0@we.make.ritual.n0.is> skribis:

> --- a/doc/contributing.texi
> +++ b/doc/contributing.texi
> @@ -328,6 +328,21 @@ extensions---or to the operating system kernel---e.g., reliance on
>  @code{uname} or @file{/proc} files.
>  
>  @item
> +Run @command{guix refresh --list-dependent} (@pxref{Invoking guix refresh})
> +to find out how many packages would rebuild based on your patch.
> +When your patch touches important or a big number of packages, it is
> +prefered to be applied on the git branch core-updates or core-updates-next.
> +
> +@example
> +guix refresh -l libgcrypt
> +Building the following 822 packages would ensure 2221 dependent packages
> +are rebuilt:
> +@end example
> +
> +This is a good example for a number which indicates that a change to
> +libgcrypt would not simply be applied on master.

‘guix refresh -l’ is already mentioned in that section:

  https://www.gnu.org/software/guix/manual/html_node/Submitting-Patches.html

The specific branch names are not mentioned, but that’s also because
this process is still in flux.  “core-updates” initially meant “updates
to the core”, where “core” designates GCC, libc, Binutils, and a few
other packages that make up the implicit inputs of gnu-build-system.

Python, libgcrypt, and similar packages are not “core” packages,
strictly speaking.  Ideally, we’d run ‘python-updates’,
‘libgcrypt-updates’, etc. branches, but whether we do this depends on
our build farm capacity and on its current load.

In short, I think it’s best not too give too many details about a
process that’s not set in stone.  :-)

Thoughts?

Ludo’.

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

* Re: [PATCH] doc: Run guix refresh -l to find out about dependent packages.
  2016-07-28 11:13 [PATCH] doc: Run guix refresh -l to find out about dependent packages ng0
  2016-07-28 12:02 ` Vincent Legoll
  2016-07-28 13:09 ` Ludovic Courtès
@ 2016-07-28 13:48 ` Ludovic Courtès
  2016-07-28 15:48   ` ng0
  2 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2016-07-28 13:48 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

ng0 <ng0@we.make.ritual.n0.is> skribis:

> * doc/contributing.texi (Submitting Patches): Includes an item to
> explain that core-updates and core-updates-next exist and that your
> change will be applied on them if it affects too many dependent
> packages, example: libgcrypt.

In the end I added something a bit more general in commit
189b1543cbc2db50e6dd309e84bce4eb503f0493.

Ludo’.

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

* Re: [PATCH] doc: Run guix refresh -l to find out about dependent packages.
  2016-07-28 12:02 ` Vincent Legoll
@ 2016-07-28 15:42   ` ng0
  0 siblings, 0 replies; 6+ messages in thread
From: ng0 @ 2016-07-28 15:42 UTC (permalink / raw)
  To: guix-devel

Vincent Legoll <vincent.legoll@gmail.com> writes:

> Maybe, it'd better to get a real native English speaker review, but
> until he comes, here are my comments:
>
> "how many packages would rebuild"
> "how many packages have to be rebuilt"
>
> "for a number which indicates that a change to"
> "for why your change to"
>
> IANANES...
>
> -- 
> Vincent Legoll

Yes, it was not perfect.  I can do better, but it was just something I
added because I thought it was missing, to open discussion on the
patch.
Aall of the languages I speak including my native one start to sound
weird occasionally when I'm stressed, including but not limited to
"creative" approaches to language.
-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

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

* Re: [PATCH] doc: Run guix refresh -l to find out about dependent packages.
  2016-07-28 13:48 ` Ludovic Courtès
@ 2016-07-28 15:48   ` ng0
  0 siblings, 0 replies; 6+ messages in thread
From: ng0 @ 2016-07-28 15:48 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Ludovic Courtès <ludo@gnu.org> writes:

> ng0 <ng0@we.make.ritual.n0.is> skribis:
>
>> * doc/contributing.texi (Submitting Patches): Includes an item to
>> explain that core-updates and core-updates-next exist and that your
>> change will be applied on them if it affects too many dependent
>> packages, example: libgcrypt.
>
> In the end I added something a bit more general in commit
> 189b1543cbc2db50e6dd309e84bce4eb503f0493.
>
> Ludo’.

Okay, this reads more general and better with the information you gave
about the branches in the previous message.

Thanks.
-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

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

end of thread, other threads:[~2016-07-28 15:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-28 11:13 [PATCH] doc: Run guix refresh -l to find out about dependent packages ng0
2016-07-28 12:02 ` Vincent Legoll
2016-07-28 15:42   ` ng0
2016-07-28 13:09 ` Ludovic Courtès
2016-07-28 13:48 ` Ludovic Courtès
2016-07-28 15:48   ` ng0

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