* [U-Boot] Patch submission process question
@ 2011-08-16 1:20 Joe Hershberger
2011-08-16 7:06 ` Simon Schwarz
0 siblings, 1 reply; 5+ messages in thread
From: Joe Hershberger @ 2011-08-16 1:20 UTC (permalink / raw)
To: u-boot
Hi u-boot,
What is the recommended way to handle a patch series that depends on
another patch series (already sent but not integrated)?
How about a patch that was sent, that at the time didn't depend on
another series, but after review and changes, now depends on those
changes?
Even a bit more generally, some of the series are getting quite long
due to small dependencies. This tends to put lots of unrelated
content into the same series based on small dependencies. How is this
supposed to be dealt with? Is it best to make long series or just to
send part of it and wait for it to be integrated before sending the
rest?
Thanks,
-Joe
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Patch submission process question
2011-08-16 1:20 [U-Boot] Patch submission process question Joe Hershberger
@ 2011-08-16 7:06 ` Simon Schwarz
2011-08-16 16:56 ` Scott Wood
0 siblings, 1 reply; 5+ messages in thread
From: Simon Schwarz @ 2011-08-16 7:06 UTC (permalink / raw)
To: u-boot
Hi Joe,
On 08/16/2011 03:20 AM, Joe Hershberger wrote:
> Hi u-boot,
>
> What is the recommended way to handle a patch series that depends on
> another patch series (already sent but not integrated)?
>
AFAIK the recommend way is to note in the patch that it depends on
another - best with some kind of link from gmane or a message-ID.
> How about a patch that was sent, that at the time didn't depend on
> another series, but after review and changes, now depends on those
> changes?
Then you have to note it in the version history that it now depends on
another patch - don't forget to also note it in the normal merge message.
>
> Even a bit more generally, some of the series are getting quite long
> due to small dependencies. This tends to put lots of unrelated
> content into the same series based on small dependencies. How is this
> supposed to be dealt with? Is it best to make long series or just to
> send part of it and wait for it to be integrated before sending the
> rest?
Hm, here U'am not really sure - I think I would send a complete series -
but this is best answered by a custodian.
>
> Thanks,
> -Joe
Regards
Simon
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Patch submission process question
2011-08-16 7:06 ` Simon Schwarz
@ 2011-08-16 16:56 ` Scott Wood
2011-08-16 22:31 ` Joe Hershberger
2011-08-17 8:35 ` Simon Schwarz
0 siblings, 2 replies; 5+ messages in thread
From: Scott Wood @ 2011-08-16 16:56 UTC (permalink / raw)
To: u-boot
On 08/16/2011 02:06 AM, Simon Schwarz wrote:
> Hi Joe,
>
> On 08/16/2011 03:20 AM, Joe Hershberger wrote:
>> Hi u-boot,
>>
>> What is the recommended way to handle a patch series that depends on
>> another patch series (already sent but not integrated)?
>>
> AFAIK the recommend way is to note in the patch that it depends on
> another - best with some kind of link from gmane or a message-ID.
A patchwork link would be ideal.
>> How about a patch that was sent, that at the time didn't depend on
>> another series, but after review and changes, now depends on those
>> changes?
> Then you have to note it in the version history that it now depends on
> another patch - don't forget to also note it in the normal merge message.
Merge message? If you mean the commit message (above the "---"), why?
It should not be committed before its dependencies.
>> Even a bit more generally, some of the series are getting quite long
>> due to small dependencies. This tends to put lots of unrelated
>> content into the same series based on small dependencies. How is this
>> supposed to be dealt with? Is it best to make long series or just to
>> send part of it and wait for it to be integrated before sending the
>> rest?
> Hm, here U'am not really sure - I think I would send a complete series -
> but this is best answered by a custodian.
If it's getting very long (the threshold is obviously subjective), I'd
do the "send part of it and wait" approach. Especially if there are a
lot of respins.
-Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Patch submission process question
2011-08-16 16:56 ` Scott Wood
@ 2011-08-16 22:31 ` Joe Hershberger
2011-08-17 8:35 ` Simon Schwarz
1 sibling, 0 replies; 5+ messages in thread
From: Joe Hershberger @ 2011-08-16 22:31 UTC (permalink / raw)
To: u-boot
On Tue, Aug 16, 2011 at 11:56 AM, Scott Wood <scottwood@freescale.com> wrote:
> On 08/16/2011 02:06 AM, Simon Schwarz wrote:
>> On 08/16/2011 03:20 AM, Joe Hershberger wrote:
>>> Even a bit more generally, some of the series are getting quite long
>>> due to small dependencies. This tends to put lots of unrelated
>>> content into the same series based on small dependencies. How is this
>>> supposed to be dealt with? Is it best to make long series or just to
>>> send part of it and wait for it to be integrated before sending the
>>> rest?
>> Hm, here U'am not really sure - I think I would send a complete series -
>> but this is best answered by a custodian.
>
> If it's getting very long (the threshold is obviously subjective), I'd
> do the "send part of it and wait" approach. Especially if there are a
> lot of respins.
How about if a series largely doesn't change but has one or two
patches change or maybe one or two patches added to the end? Is it
preferable to resend all of the patches in the series marked as a new
version or to only send the changed / added patches?
Thanks,
-Joe
(Sorry about the double send, Scott).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Patch submission process question
2011-08-16 16:56 ` Scott Wood
2011-08-16 22:31 ` Joe Hershberger
@ 2011-08-17 8:35 ` Simon Schwarz
1 sibling, 0 replies; 5+ messages in thread
From: Simon Schwarz @ 2011-08-17 8:35 UTC (permalink / raw)
To: u-boot
On 08/16/2011 06:56 PM, Scott Wood wrote:
<snip>
>>> How about a patch that was sent, that at the time didn't depend on
>>> another series, but after review and changes, now depends on those
>>> changes?
>> Then you have to note it in the version history that it now depends on
>> another patch - don't forget to also note it in the normal merge message.
>
> Merge message? If you mean the commit message (above the "---"), why?
> It should not be committed before its dependencies.
Sorry meant commit message. True - so just note it in the version
history and - for convenience - in the cover letter?
Regards
Simon
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-08-17 8:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-16 1:20 [U-Boot] Patch submission process question Joe Hershberger
2011-08-16 7:06 ` Simon Schwarz
2011-08-16 16:56 ` Scott Wood
2011-08-16 22:31 ` Joe Hershberger
2011-08-17 8:35 ` Simon Schwarz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox