Skip to contentSkip to conversation

QEMU submaintainers and pull requests

Qemu-devel Cornelia Huck 4 participants 10 messages Feb 16, 2018 – Feb 17, 2018

lore
Share & tools
lore
#0 lore raw

Hi,

for 2.13 (or whatever it will be called), I'd like to switch to a submaintainer model for s390x, where maintainers for a certain s390x area (including myself) send me pull requests that I integrate into s390-next resp. s390-fixes, for which I send a pull request to merge into master.

The problem here is that I don't want these sub pull requests to be picked up by Peter's scripts, generating confusion. So far, my ideas have been:

- Post s390 pull requests only to [email protected]. This sucks, as it makes part of the process intransparent to any QEMU developer not subscribed to that mailing list.
- Put a certain marker into the subject, like "PULL *s390x*" or so. I'm not sure how robust that is.
- Ditch the pull request idea, keep applying patches. This is not quite as bad as it sounds, as I have the infrastructure to apply patches anyway, but it hides the real workflow (and simply pulling is likely less work for me in the long run.)

Thoughts? Ideas?

#1 lore raw
Quoted 12 lines · Cornelia Huck

Hi,

for 2.13 (or whatever it will be called), I'd like to switch to a submaintainer model for s390x, where maintainers for a certain s390x area (including myself) send me pull requests that I integrate into s390-next resp. s390-fixes, for which I send a pull request to merge into master.

The problem here is that I don't want these sub pull requests to be picked up by Peter's scripts, generating confusion. So far, my ideas have been:

Quoted 9 lines

- Post s390 pull requests only to [email protected]. This sucks, as it makes part of the process intransparent to any QEMU developer not subscribed to that mailing list.
- Put a certain marker into the subject, like "PULL *s390x*" or so. I'm not sure how robust that is.
- Ditch the pull request idea, keep applying patches. This is not quite as bad as it sounds, as I have the infrastructure to apply patches anyway, but it hides the real workflow (and simply pulling is likely less work for me in the long run.)

The block folks are already doing this, so we should just formalize what they're doing at the moment I guess. From my point of view as long as there's something I can easily filter in/out in the email body or subject so I don't get confused (and which doesn't require me to update my filters every time a new subsystem switches to using submaintainer pulls!) I don't mind about the rest of it. Maybe a subject line with 'PULL SUBSYSTEM s390x' (ditto block, etc etc) ?

thanks
-- PMM

#2 lore raw
Quoted 23 lines · On Fri, 16 Feb 2018 11:25:12 +0000 Peter Maydell <[email protected]>…
Quoted 12 lines · Cornelia Huck

Hi,

for 2.13 (or whatever it will be called), I'd like to switch to a submaintainer model for s390x, where maintainers for a certain s390x area (including myself) send me pull requests that I integrate into s390-next resp. s390-fixes, for which I send a pull request to merge into master.

The problem here is that I don't want these sub pull requests to be picked up by Peter's scripts, generating confusion. So far, my ideas have been:

Quoted 9 lines

- Post s390 pull requests only to [email protected]. This sucks, as it makes part of the process intransparent to any QEMU developer not subscribed to that mailing list.
- Put a certain marker into the subject, like "PULL *s390x*" or so. I'm not sure how robust that is.
- Ditch the pull request idea, keep applying patches. This is not quite as bad as it sounds, as I have the infrastructure to apply patches anyway, but it hides the real workflow (and simply pulling is likely less work for me in the long run.)

Quoted 8 lines

The block folks are already doing this, so we should just formalize what they're doing at the moment I guess. From my point of view as long as there's something I can easily filter in/out in the email body or subject so I don't get confused (and which doesn't require me to update my filters every time a new subsystem switches to using submaintainer pulls!) I don't mind about the rest of it. Maybe a subject line with 'PULL SUBSYSTEM s390x' (ditto block, etc etc) ?

Yes, "PULL SUBSYSTEM <subsys>" looks reasonable.

#3 lore raw
In reply to Peter Maydell
Quoted 9 lines · Peter Maydell

On 16 February 2018 at 11:18, Cornelia Huck <[email protected]> wrote:
The block folks are already doing this, so we should just formalize what they're doing at the moment I guess. From my point of view as long as there's something I can easily filter in/out in the email body or subject so I don't get confused (and which doesn't require me to update my filters every time a new subsystem switches to using submaintainer pulls!)
I don't mind about the rest of it. Maybe a subject line with 'PULL SUBSYSTEM s390x' (ditto block, etc etc) ?

What about just requiring you to be in the "To" or "Cc" fields? That works pretty well for Linux.

Paolo

#4 lore raw
Quoted 11 lines · Paolo Bonzini
Quoted 9 lines · Peter Maydell

On 16 February 2018 at 11:18, Cornelia Huck <[email protected]> wrote:
The block folks are already doing this, so we should just formalize what they're doing at the moment I guess. From my point of view as long as there's something I can easily filter in/out in the email body or subject so I don't get confused (and which doesn't require me to update my filters every time a new subsystem switches to using submaintainer pulls!)
I don't mind about the rest of it. Maybe a subject line with 'PULL SUBSYSTEM s390x' (ditto block, etc etc) ?

Quoted 2 lines

What about just requiring you to be in the "To" or "Cc" fields? That works pretty well for Linux.

It would require existing submaintainers to change their process, though -- currently not all pull requests are to/cc me.

thanks
-- PMM

#5 lore raw
Quoted 12 lines · Peter Maydell
Quoted 11 lines · Paolo Bonzini
Quoted 9 lines · Peter Maydell

On 16 February 2018 at 11:18, Cornelia Huck <[email protected]> wrote:
The block folks are already doing this, so we should just formalize what they're doing at the moment I guess. From my point of view as long as there's something I can easily filter in/out in the email body or subject so I don't get confused (and which doesn't require me to update my filters every time a new subsystem switches to using submaintainer pulls!)
I don't mind about the rest of it. Maybe a subject line with 'PULL SUBSYSTEM s390x' (ditto block, etc etc) ?

Quoted 5 lines
Quoted 2 lines

What about just requiring you to be in the "To" or "Cc" fields? That works pretty well for Linux.

It would require existing submaintainers to change their process, though -- currently not all pull requests are to/cc me.

Yeah, but that would not be too hard. There are only about 40 maintainers, and if anybody misses the news they would notice fairly quickly. :)

BTW, Fam and I are also planning to improve Patchew so that it is better at detecting pull requests and especially merged pull requests.

Thanks,

Paolo

#8 lore raw
In reply to Peter Maydell
Quoted 12 lines · Peter Maydell
Quoted 11 lines · Paolo Bonzini
Quoted 9 lines · Peter Maydell

On 16 February 2018 at 11:18, Cornelia Huck <[email protected]> wrote:
The block folks are already doing this, so we should just formalize what they're doing at the moment I guess. From my point of view as long as there's something I can easily filter in/out in the email body or subject so I don't get confused (and which doesn't require me to update my filters every time a new subsystem switches to using submaintainer pulls!)
I don't mind about the rest of it. Maybe a subject line with 'PULL SUBSYSTEM s390x' (ditto block, etc etc) ?

Quoted 5 lines
Quoted 2 lines

What about just requiring you to be in the "To" or "Cc" fields? That works pretty well for Linux.

It would require existing submaintainers to change their process, though -- currently not all pull requests are to/cc me.

All this time I thought it was /already/ required to cc Peter on pull requests !

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#9 lore raw
Quoted 13 lines · Daniel P. Berrangé
Quoted 12 lines · Peter Maydell
Quoted 11 lines · Paolo Bonzini
Quoted 9 lines · Peter Maydell

On 16 February 2018 at 11:18, Cornelia Huck <[email protected]> wrote:
The block folks are already doing this, so we should just formalize what they're doing at the moment I guess. From my point of view as long as there's something I can easily filter in/out in the email body or subject so I don't get confused (and which doesn't require me to update my filters every time a new subsystem switches to using submaintainer pulls!)
I don't mind about the rest of it. Maybe a subject line with 'PULL SUBSYSTEM s390x' (ditto block, etc etc) ?

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

What about just requiring you to be in the "To" or "Cc" fields? That works pretty well for Linux.

It would require existing submaintainers to change their process, though -- currently not all pull requests are to/cc me.

All this time I thought it was /already/ required to cc Peter on pull requests !

The only thing I currently require is that the body text contains the appropriate magic words and that it goes to qemu-devel in to or cc.

thanks
-- PMM

#6 lore raw
In reply to Paolo Bonzini
Quoted 16 lines · On Fri, 16 Feb 2018 16:08:39 +0100 Paolo Bonzini <[email protected]> wrote:
Quoted 15 lines · Peter Maydell
Quoted 13 lines · Paolo Bonzini
Quoted 9 lines · Peter Maydell

On 16 February 2018 at 11:18, Cornelia Huck <[email protected]> wrote:
The block folks are already doing this, so we should just formalize what they're doing at the moment I guess. From my point of view as long as there's something I can easily filter in/out in the email body or subject so I don't get confused (and which doesn't require me to update my filters every time a new subsystem switches to using submaintainer pulls!)
I don't mind about the rest of it. Maybe a subject line with 'PULL SUBSYSTEM s390x' (ditto block, etc etc) ?

What about just requiring you to be in the "To" or "Cc" fields? That works pretty well for Linux.

Quoted 6 lines
Quoted 2 lines

It would require existing submaintainers to change their process, though -- currently not all pull requests are to/cc me.

Yeah, but that would not be too hard. There are only about 40 maintainers, and if anybody misses the news they would notice fairly quickly. :)

Well, I wouldn't mind (I send pull requests to Peter anyway, and I'd certainly want s390x pull requests addressed to me as well).

We could use both (subject prefix and To:/Cc:) for a belt-and-suspenders approach.

Quoted 3 lines

BTW, Fam and I are also planning to improve Patchew so that it is better at detecting pull requests and especially merged pull requests.

Cool.

Would a certain formatting be helpful for patchew as well? Or do you plan to parse the cover letter to hopefully find the output of git request-pull and get the correct base from that?

#7 lore raw
Quoted 8 lines · Cornelia Huck
Quoted 2 lines

BTW, Fam and I are also planning to improve Patchew so that it is better at detecting pull requests and especially merged pull requests.

Cool.

Would a certain formatting be helpful for patchew as well? Or do you plan to parse the cover letter to hopefully find the output of git request-pull and get the correct base from that?

Yes, basically replace "git am" with "git fetch" if the cover letter has a line that looks like it's produced by "git request-pull".

Paolo