all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#73055] [PATCH] doc: Explain `git format-patch` revision format
@ 2024-09-05 18:48 Ekaitz Zarraga
  2024-09-08 13:31 ` Maxim Cournoyer
  2024-09-09 14:12 ` [bug#73055] [PATCH] doc: contributing: Remove --base=auto Ekaitz Zarraga
  0 siblings, 2 replies; 7+ messages in thread
From: Ekaitz Zarraga @ 2024-09-05 18:48 UTC (permalink / raw)
  To: 73055; +Cc: Ekaitz Zarraga, Florian Pelz, Ludovic Courtès,
	Maxim Cournoyer

* doc/contributing.texi(Sending a Patch Series): Add a note about
`git format-patch` revision format and link to git documentation.

Change-Id: Ie08f85dc19e3804165fb184664b74e85a804d7c4
---
 doc/contributing.texi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/doc/contributing.texi b/doc/contributing.texi
index 73f7addbef..d5d63ebdbd 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -2187,6 +2187,18 @@ Sending a Patch Series
       --cover-letter --base=auto
 @end example
 
+@quotation Note
+@code{git format-patch} accepts a wide range of
+@uref{https://git-scm.com/docs/gitrevisions, revision range} specifiers.
+For example, if you are working in a branch, you could select all commits
+in your branch starting at @code{master}.
+
+@example
+$ git format-patch master..@var{MY_BRANCH} -o outgoing \
+      --cover-letter --base=auto
+@end example
+@end quotation
+
 We can now send @emph{just} the cover letter to the
 @email{guix-patches@@gnu.org} address, which will create an issue
 that we can send the rest of the patches to.

base-commit: 7d2ced8d6d9c38327592d312376d59a8c37fc160
-- 
2.45.2





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

* [bug#73055] [PATCH] doc: Explain `git format-patch` revision format
  2024-09-05 18:48 [bug#73055] [PATCH] doc: Explain `git format-patch` revision format Ekaitz Zarraga
@ 2024-09-08 13:31 ` Maxim Cournoyer
  2024-09-08 20:16   ` Ekaitz Zarraga
  2024-09-09 14:12 ` [bug#73055] [PATCH] doc: contributing: Remove --base=auto Ekaitz Zarraga
  1 sibling, 1 reply; 7+ messages in thread
From: Maxim Cournoyer @ 2024-09-08 13:31 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: Ludovic Courtès, 73055, Florian Pelz

Hi Ekaitz,

Ekaitz Zarraga <ekaitz@elenq.tech> writes:

> * doc/contributing.texi(Sending a Patch Series): Add a note about
> `git format-patch` revision format and link to git documentation.
>
> Change-Id: Ie08f85dc19e3804165fb184664b74e85a804d7c4
> ---
>  doc/contributing.texi | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/doc/contributing.texi b/doc/contributing.texi
> index 73f7addbef..d5d63ebdbd 100644
> --- a/doc/contributing.texi
> +++ b/doc/contributing.texi
> @@ -2187,6 +2187,18 @@ Sending a Patch Series
>        --cover-letter --base=auto
>  @end example
>  
> +@quotation Note
> +@code{git format-patch} accepts a wide range of
> +@uref{https://git-scm.com/docs/gitrevisions, revision range} specifiers.
> +For example, if you are working in a branch, you could select all commits
> +in your branch starting at @code{master}.
> +
> +@example
> +$ git format-patch master..@var{MY_BRANCH} -o outgoing \
> +      --cover-letter --base=auto

The --base=auto can be dropped since it's part of our default git
config, which is automatically installed for all of our contributors
(c.f.: etc/git/gitconfig) when they build the Guix source.

Otherwise, LGTM, if others think it has enough value to be added.

--
Thanks,
Maxim




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

* [bug#73055] [PATCH] doc: Explain `git format-patch` revision format
  2024-09-08 13:31 ` Maxim Cournoyer
@ 2024-09-08 20:16   ` Ekaitz Zarraga
  2024-09-09  2:53     ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Ekaitz Zarraga @ 2024-09-08 20:16 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: Ludovic Courtès, 73055, Florian Pelz


> The --base=auto can be dropped since it's part of our default git
> config, which is automatically installed for all of our contributors
> (c.f.: etc/git/gitconfig) when they build the Guix source.
> 
> Otherwise, LGTM, if others think it has enough value to be added.
> 
> --
> Thanks,
> Maxim

Hi!

Should we remove the --base=auto from all the examples or only mine?

Thanks!




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

* [bug#73055] [PATCH] doc: Explain `git format-patch` revision format
  2024-09-08 20:16   ` Ekaitz Zarraga
@ 2024-09-09  2:53     ` Maxim Cournoyer
  0 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2024-09-09  2:53 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: Ludovic Courtès, 73055, Florian Pelz

Hi Ekaitz,

Ekaitz Zarraga <ekaitz@elenq.tech> writes:

>> The --base=auto can be dropped since it's part of our default git
>> config, which is automatically installed for all of our contributors
>> (c.f.: etc/git/gitconfig) when they build the Guix source.
>> Otherwise, LGTM, if others think it has enough value to be added.
>> --
>> Thanks,
>> Maxim
>
> Hi!
>
> Should we remove the --base=auto from all the examples or only mine?

Your commit shouldn't add it, and as an extra, if you don't mind the
extra scope, another commit removing it from all the existing examples
would be nice.

-- 
Thanks,
Maxim




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

* [bug#73055] [PATCH] doc: contributing: Remove --base=auto
  2024-09-05 18:48 [bug#73055] [PATCH] doc: Explain `git format-patch` revision format Ekaitz Zarraga
  2024-09-08 13:31 ` Maxim Cournoyer
@ 2024-09-09 14:12 ` Ekaitz Zarraga
  2024-09-10  2:54   ` Maxim Cournoyer
  1 sibling, 1 reply; 7+ messages in thread
From: Ekaitz Zarraga @ 2024-09-09 14:12 UTC (permalink / raw)
  To: 73055; +Cc: Ekaitz Zarraga, Florian Pelz, Ludovic Courtès,
	Maxim Cournoyer

* doc/contributing.texi(Sending a Patch Series): Remove --base=auto from
  examples

Change-Id: Idd421f9d6b592d6a314edfaa66404dee4c1b2241
---
 doc/contributing.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/contributing.texi b/doc/contributing.texi
index d5d63ebdbd..fe8f4c0113 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -2184,7 +2184,7 @@ Sending a Patch Series
 
 @example
 $ git format-patch -@var{NUMBER_COMMITS} -o outgoing \
-      --cover-letter --base=auto
+      --cover-letter
 @end example
 
 @quotation Note
@@ -2195,7 +2195,7 @@ Sending a Patch Series
 
 @example
 $ git format-patch master..@var{MY_BRANCH} -o outgoing \
-      --cover-letter --base=auto
+      --cover-letter
 @end example
 @end quotation
 

base-commit: 7d2ced8d6d9c38327592d312376d59a8c37fc160
prerequisite-patch-id: c786a06cb219ebf12546f05af46995498bf6b090
-- 
2.45.2





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

* [bug#73055] [PATCH] doc: contributing: Remove --base=auto
  2024-09-09 14:12 ` [bug#73055] [PATCH] doc: contributing: Remove --base=auto Ekaitz Zarraga
@ 2024-09-10  2:54   ` Maxim Cournoyer
  2024-12-03 22:00     ` bug#73055: [PATCH] doc: Explain `git format-patch` revision format Ekaitz Zarraga
  0 siblings, 1 reply; 7+ messages in thread
From: Maxim Cournoyer @ 2024-09-10  2:54 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: Ludovic Courtès, 73055, Florian Pelz

Hi,

Ekaitz Zarraga <ekaitz@elenq.tech> writes:

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>

-- 
Thanks,
Maxim




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

* bug#73055: [PATCH] doc: Explain `git format-patch` revision format
  2024-09-10  2:54   ` Maxim Cournoyer
@ 2024-12-03 22:00     ` Ekaitz Zarraga
  0 siblings, 0 replies; 7+ messages in thread
From: Ekaitz Zarraga @ 2024-12-03 22:00 UTC (permalink / raw)
  To: 73055-done; +Cc: Ekaitz Zarraga

Done by 7b46b8db9afac3825518dca10b5ff0eab04f5f08 and 
9001514e242ad15c190588439930b0fa4f6782e3




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

end of thread, other threads:[~2024-12-03 22:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05 18:48 [bug#73055] [PATCH] doc: Explain `git format-patch` revision format Ekaitz Zarraga
2024-09-08 13:31 ` Maxim Cournoyer
2024-09-08 20:16   ` Ekaitz Zarraga
2024-09-09  2:53     ` Maxim Cournoyer
2024-09-09 14:12 ` [bug#73055] [PATCH] doc: contributing: Remove --base=auto Ekaitz Zarraga
2024-09-10  2:54   ` Maxim Cournoyer
2024-12-03 22:00     ` bug#73055: [PATCH] doc: Explain `git format-patch` revision format Ekaitz Zarraga

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.