public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
* Keep scripts/create-pull-request and send-pull-request ?
@ 2023-08-10 14:04 Michael Opdenacker
  2023-08-10 14:09 ` [docs] " Bruce Ashfield
       [not found] ` <d03b0041-978c-40c0-8905-f4f3d62729be@bec-systems.com>
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Opdenacker @ 2023-08-10 14:04 UTC (permalink / raw)
  To: OE-core; +Cc: michael.opdenacker, YP docs mailing list

Greetings,

I'm reviewing 
https://docs.yoctoproject.org/next/contributor-guide/submit-change.html#using-scripts-to-push-a-change-upstream-and-request-a-pull 
and trying to simplify it.

Do people still use scripts/create-pull-request and send-pull-request? I 
see some obsolete URLs in the first script, and mostly old commits to 
their code.

I'm also asking because I'm wondering whether it's better to document 
how to create and send pull requests from standard git tools. This way, 
people also learn how to submit pull requests to other upstreams.

What do you think?

Thanks in advance
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



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

* Re: [docs] Keep scripts/create-pull-request and send-pull-request ?
  2023-08-10 14:04 Keep scripts/create-pull-request and send-pull-request ? Michael Opdenacker
@ 2023-08-10 14:09 ` Bruce Ashfield
  2023-08-10 14:13   ` Michael Opdenacker
  2023-08-10 14:39   ` Frédéric Martinsons
       [not found] ` <d03b0041-978c-40c0-8905-f4f3d62729be@bec-systems.com>
  1 sibling, 2 replies; 7+ messages in thread
From: Bruce Ashfield @ 2023-08-10 14:09 UTC (permalink / raw)
  To: michael.opdenacker; +Cc: OE-core, YP docs mailing list

On Thu, Aug 10, 2023 at 10:04 AM Michael Opdenacker via
lists.yoctoproject.org
<michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote:
>
> Greetings,
>
> I'm reviewing
> https://docs.yoctoproject.org/next/contributor-guide/submit-change.html#using-scripts-to-push-a-change-upstream-and-request-a-pull
> and trying to simplify it.
>
> Do people still use scripts/create-pull-request and send-pull-request? I
> see some obsolete URLs in the first script, and mostly old commits to
> their code.

I use create-pull-request for all my series, so the scripts still do
work and are in at least in use here.

But I send with git send-email directly.

Bruce

>
> I'm also asking because I'm wondering whether it's better to document
> how to create and send pull requests from standard git tools. This way,
> people also learn how to submit pull requests to other upstreams.
>
> What do you think?
>
> Thanks in advance
> Michael.
>
> --
> Michael Opdenacker, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#4135): https://lists.yoctoproject.org/g/docs/message/4135
> Mute This Topic: https://lists.yoctoproject.org/mt/100663723/1050810
> Group Owner: docs+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


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

* Re: [docs] Keep scripts/create-pull-request and send-pull-request ?
  2023-08-10 14:09 ` [docs] " Bruce Ashfield
@ 2023-08-10 14:13   ` Michael Opdenacker
  2023-08-10 14:17     ` Bruce Ashfield
  2023-08-10 14:39   ` Frédéric Martinsons
  1 sibling, 1 reply; 7+ messages in thread
From: Michael Opdenacker @ 2023-08-10 14:13 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: OE-core, YP docs mailing list

Hi Bruce

On 10.08.23 at 16:09, Bruce Ashfield wrote:
> On Thu, Aug 10, 2023 at 10:04 AM Michael Opdenacker via
> lists.yoctoproject.org
> <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote:
>> Greetings,
>>
>> I'm reviewing
>> https://docs.yoctoproject.org/next/contributor-guide/submit-change.html#using-scripts-to-push-a-change-upstream-and-request-a-pull
>> and trying to simplify it.
>>
>> Do people still use scripts/create-pull-request and send-pull-request? I
>> see some obsolete URLs in the first script, and mostly old commits to
>> their code.
> I use create-pull-request for all my series, so the scripts still do
> work and are in at least in use here.
>
> But I send with git send-email directly.


Good to know, thanks!
So, we need to keep at least the first one. I'll send a patch to it then.

I'm not saying we should keep documenting them though ;-)

Thanks
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



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

* Re: [docs] Keep scripts/create-pull-request and send-pull-request ?
  2023-08-10 14:13   ` Michael Opdenacker
@ 2023-08-10 14:17     ` Bruce Ashfield
  0 siblings, 0 replies; 7+ messages in thread
From: Bruce Ashfield @ 2023-08-10 14:17 UTC (permalink / raw)
  To: Michael Opdenacker; +Cc: OE-core, YP docs mailing list

On Thu, Aug 10, 2023 at 10:13 AM Michael Opdenacker
<michael.opdenacker@bootlin.com> wrote:
>
> Hi Bruce
>
> On 10.08.23 at 16:09, Bruce Ashfield wrote:
> > On Thu, Aug 10, 2023 at 10:04 AM Michael Opdenacker via
> > lists.yoctoproject.org
> > <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote:
> >> Greetings,
> >>
> >> I'm reviewing
> >> https://docs.yoctoproject.org/next/contributor-guide/submit-change.html#using-scripts-to-push-a-change-upstream-and-request-a-pull
> >> and trying to simplify it.
> >>
> >> Do people still use scripts/create-pull-request and send-pull-request? I
> >> see some obsolete URLs in the first script, and mostly old commits to
> >> their code.
> > I use create-pull-request for all my series, so the scripts still do
> > work and are in at least in use here.
> >
> > But I send with git send-email directly.
>
>
> Good to know, thanks!
> So, we need to keep at least the first one. I'll send a patch to it then.
>
> I'm not saying we should keep documenting them though ;-)

Agreed!

Bruce

>
> Thanks
> Michael.
>
> --
> Michael Opdenacker, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


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

* Re: [docs] Keep scripts/create-pull-request and send-pull-request ?
  2023-08-10 14:09 ` [docs] " Bruce Ashfield
  2023-08-10 14:13   ` Michael Opdenacker
@ 2023-08-10 14:39   ` Frédéric Martinsons
  1 sibling, 0 replies; 7+ messages in thread
From: Frédéric Martinsons @ 2023-08-10 14:39 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: Michael Opdenacker, OE-core, YP docs mailing list

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

Le jeu. 10 août 2023, 16:09, Bruce Ashfield <bruce.ashfield@gmail.com> a
écrit :

> On Thu, Aug 10, 2023 at 10:04 AM Michael Opdenacker via
> lists.yoctoproject.org
> <michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote:
> >
> > Greetings,
> >
> > I'm reviewing
> >
> https://docs.yoctoproject.org/next/contributor-guide/submit-change.html#using-scripts-to-push-a-change-upstream-and-request-a-pull
> > and trying to simplify it.
> >
> > Do people still use scripts/create-pull-request and send-pull-request? I
> > see some obsolete URLs in the first script, and mostly old commits to
> > their code.
>
> I use create-pull-request for all my series, so the scripts still do
> work and are in at least in use here.
>
> But I send with git send-email directly.
>


Same here, I use the both scripts for patch series but I can perfectly use
git tools directly with some documentations (or if I opened those scripts)


>
> Bruce
>
> >
> > I'm also asking because I'm wondering whether it's better to document
> > how to create and send pull requests from standard git tools. This way,
> > people also learn how to submit pull requests to other upstreams.
> >
> > What do you think?
> >
> > Thanks in advance
> > Michael.
> >
> > --
> > Michael Opdenacker, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com
> >
> >
> >
> >
>
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#4136):
> https://lists.yoctoproject.org/g/docs/message/4136
> Mute This Topic: https://lists.yoctoproject.org/mt/100663723/6213388
> Group Owner: docs+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [
> frederic.martinsons@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 3679 bytes --]

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

* Re: [OE-core] Keep scripts/create-pull-request and send-pull-request ?
       [not found] ` <d03b0041-978c-40c0-8905-f4f3d62729be@bec-systems.com>
@ 2023-08-10 16:36   ` Michael Opdenacker
  2023-08-10 16:38     ` [docs] " Alexander Kanavin
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Opdenacker @ 2023-08-10 16:36 UTC (permalink / raw)
  To: Cliff Brake, OE-core; +Cc: YP docs mailing list

Hello,

On 10.08.23 at 16:18, Cliff Brake wrote:
> On 8/10/23 10:04, Michael Opdenacker via lists.openembedded.org wrote:
>> I'm wondering whether it's better to document how to create and send 
>> pull requests from standard git tools.
>
> +1
>
> Cliff


All things considered, since scripts/create-pull-request is still in 
use, in particular by Steve and Bruce, I'm leaning towards documenting 
both variants:

  * Creating a simple pull request using the standard git tools, as
    several of us are doing. Richard doesn't seem to mind. At least in
    my case, this applies to changes I previously submitted through the
    lists.
  * Creating a more elaborate pull request from a branch containing
    commits that haven't been shared yet, typically like what Steve
    does. This way, people can review each patch individually by e-mail.

Unless we want to standardize our pull requests, and make sure each 
commit is submitted (sometimes once again) as a separate patch. In that 
case, we'd only document the use of scripts/create-pull-request.

Cheers
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



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

* Re: [docs] [OE-core] Keep scripts/create-pull-request and send-pull-request ?
  2023-08-10 16:36   ` [OE-core] " Michael Opdenacker
@ 2023-08-10 16:38     ` Alexander Kanavin
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Kanavin @ 2023-08-10 16:38 UTC (permalink / raw)
  To: michael.opdenacker; +Cc: Cliff Brake, OE-core, YP docs mailing list

On Thu, 10 Aug 2023 at 18:36, Michael Opdenacker via
lists.yoctoproject.org
<michael.opdenacker=bootlin.com@lists.yoctoproject.org> wrote:
> All things considered, since scripts/create-pull-request is still in
> use, in particular by Steve and Bruce, I'm leaning towards documenting
> both variants:
>
>   * Creating a simple pull request using the standard git tools, as
>     several of us are doing. Richard doesn't seem to mind. At least in
>     my case, this applies to changes I previously submitted through the
>     lists.
>   * Creating a more elaborate pull request from a branch containing
>     commits that haven't been shared yet, typically like what Steve
>     does. This way, people can review each patch individually by e-mail.
>
> Unless we want to standardize our pull requests, and make sure each
> commit is submitted (sometimes once again) as a separate patch. In that
> case, we'd only document the use of scripts/create-pull-request.

FWIW, I haven't used either tool for years, and I do send large
patchsets. Standard git tooling is fully adequate, except for
management of cover letters which I'd like to get help with.

Alex


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

end of thread, other threads:[~2023-08-10 16:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-10 14:04 Keep scripts/create-pull-request and send-pull-request ? Michael Opdenacker
2023-08-10 14:09 ` [docs] " Bruce Ashfield
2023-08-10 14:13   ` Michael Opdenacker
2023-08-10 14:17     ` Bruce Ashfield
2023-08-10 14:39   ` Frédéric Martinsons
     [not found] ` <d03b0041-978c-40c0-8905-f4f3d62729be@bec-systems.com>
2023-08-10 16:36   ` [OE-core] " Michael Opdenacker
2023-08-10 16:38     ` [docs] " Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox