All of lore.kernel.org
 help / color / mirror / Atom feed
* dev manual inconsistently encourages changing "poky" checkout locally
@ 2025-06-20  9:05 Robert P. J. Day
  2025-06-20  9:26 ` [docs] " Alexander Kanavin
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2025-06-20  9:05 UTC (permalink / raw)
  To: YP docs mailing list


  while at least one of the other YP docs stresses to never, ever,
ever mess with your checkout of poky, the dev manual here:

https://docs.yoctoproject.org/dev-manual/start.html#cloning-the-poky-repository

  reads: "Your local repository of poky is identical to the upstream
  poky repository at the time from which it was cloned. As you work
  with the local branch, you can periodically use the git pull --rebase
  command to be sure you are up-to-date with the upstream branch."

that seems inconsistent. does that merit rewording?

rday



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

* Re: [docs] dev manual inconsistently encourages changing "poky" checkout locally
  2025-06-20  9:05 dev manual inconsistently encourages changing "poky" checkout locally Robert P. J. Day
@ 2025-06-20  9:26 ` Alexander Kanavin
  2025-06-20  9:44   ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Kanavin @ 2025-06-20  9:26 UTC (permalink / raw)
  To: rpjday; +Cc: YP docs mailing list

Can you point to the 'other doc' please? I think the idea is that one
never makes local modifications to poky, but pulling in upstream
changes is fine.

Alex

On Fri, 20 Jun 2025 at 11:05, Robert P. J. Day via
lists.yoctoproject.org <rpjday=crashcourse.ca@lists.yoctoproject.org>
wrote:
>
>
>   while at least one of the other YP docs stresses to never, ever,
> ever mess with your checkout of poky, the dev manual here:
>
> https://docs.yoctoproject.org/dev-manual/start.html#cloning-the-poky-repository
>
>   reads: "Your local repository of poky is identical to the upstream
>   poky repository at the time from which it was cloned. As you work
>   with the local branch, you can periodically use the git pull --rebase
>   command to be sure you are up-to-date with the upstream branch."
>
> that seems inconsistent. does that merit rewording?
>
> rday
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7118): https://lists.yoctoproject.org/g/docs/message/7118
> Mute This Topic: https://lists.yoctoproject.org/mt/113739433/1686489
> Group Owner: docs+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

* Re: [docs] dev manual inconsistently encourages changing "poky" checkout locally
  2025-06-20  9:26 ` [docs] " Alexander Kanavin
@ 2025-06-20  9:44   ` Robert P. J. Day
  2025-06-20  9:47     ` Alexander Kanavin
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2025-06-20  9:44 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: YP docs mailing list

On Fri, 20 Jun 2025, Alexander Kanavin wrote:

> Can you point to the 'other doc' please? I think the idea is that one
> never makes local modifications to poky, but pulling in upstream
> changes is fine.
>
> Alex

  it's point 5 here:

https://docs.yoctoproject.org/what-i-wish-id-known.html

>
> On Fri, 20 Jun 2025 at 11:05, Robert P. J. Day via
> lists.yoctoproject.org <rpjday=crashcourse.ca@lists.yoctoproject.org>
> wrote:
> >
> >
> >   while at least one of the other YP docs stresses to never, ever,
> > ever mess with your checkout of poky, the dev manual here:
> >
> > https://docs.yoctoproject.org/dev-manual/start.html#cloning-the-poky-repository
> >
> >   reads: "Your local repository of poky is identical to the upstream
> >   poky repository at the time from which it was cloned. As you work
> >   with the local branch, you can periodically use the git pull --rebase
> >   command to be sure you are up-to-date with the upstream branch."
> >
> > that seems inconsistent. does that merit rewording?
> >
> > rday
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#7118): https://lists.yoctoproject.org/g/docs/message/7118
> > Mute This Topic: https://lists.yoctoproject.org/mt/113739433/1686489
> > Group Owner: docs+owner@lists.yoctoproject.org
> > Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [alex.kanavin@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>


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

* Re: [docs] dev manual inconsistently encourages changing "poky" checkout locally
  2025-06-20  9:44   ` Robert P. J. Day
@ 2025-06-20  9:47     ` Alexander Kanavin
  2025-06-20 10:03       ` Antonin Godard
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Kanavin @ 2025-06-20  9:47 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: YP docs mailing list

On Fri, 20 Jun 2025 at 11:44, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>   it's point 5 here:
>
> https://docs.yoctoproject.org/what-i-wish-id-known.html

"Never modify the POKY layer. Never. Ever. When you update to the next
release, you’ll lose all of your work. ALL OF IT."

I'm not sure what this point wants to say to be honest. Can't make sense of it.

Alex


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

* Re: [docs] dev manual inconsistently encourages changing "poky" checkout locally
  2025-06-20  9:47     ` Alexander Kanavin
@ 2025-06-20 10:03       ` Antonin Godard
  0 siblings, 0 replies; 5+ messages in thread
From: Antonin Godard @ 2025-06-20 10:03 UTC (permalink / raw)
  To: alex.kanavin, Robert P. J. Day; +Cc: YP docs mailing list

On Fri Jun 20, 2025 at 11:47 AM CEST, Alexander Kanavin via lists.yoctoproject.org wrote:
> On Fri, 20 Jun 2025 at 11:44, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>>   it's point 5 here:
>>
>> https://docs.yoctoproject.org/what-i-wish-id-known.html
>
> "Never modify the POKY layer. Never. Ever. When you update to the next
> release, you’ll lose all of your work. ALL OF IT."
>
> I'm not sure what this point wants to say to be honest. Can't make sense of it.

While the what-i-wish-id-known document is pretty clear about it, it's true that
saying "As you work with the local branch, you can periodically use the git pull
--rebase command to be sure you are up-to-date with the upstream branch." when
speaking about the poky repository kind of imply local modifications. And these
two documents are unrelated.

So all-in-all, I think what we want to remove here is the "--rebase" flag.
That's the only thing implying local modifications to poky. Using "git pull" is
fine. I'd take a patch.

Antonin

-- 
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



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

end of thread, other threads:[~2025-06-20 10:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-20  9:05 dev manual inconsistently encourages changing "poky" checkout locally Robert P. J. Day
2025-06-20  9:26 ` [docs] " Alexander Kanavin
2025-06-20  9:44   ` Robert P. J. Day
2025-06-20  9:47     ` Alexander Kanavin
2025-06-20 10:03       ` Antonin Godard

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.