public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Maxim Uvarov <maxim.uvarov@linaro.org>
Cc: Peter Robinson <pbrobinson@gmail.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	u-boot@lists.denx.de, pbrobinson@redhat.com,
	joe.hershberger@ni.com, rfried.dev@gmail.com, goldsimon@gmx.de,
	lwip-devel@nongnu.org
Subject: Re: [PATCHv4 1/5] net/lwip: add lwip-external submodule
Date: Wed, 2 Aug 2023 12:32:32 -0400	[thread overview]
Message-ID: <20230802163232.GA3630934@bill-the-cat> (raw)
In-Reply-To: <CAD8XO3ZNXZdpr+x5YDPG=N-ihZJ2JB5arDt2Q507mDea6Rk2Kg@mail.gmail.com>

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

On Wed, Aug 02, 2023 at 02:03:04PM +0600, Maxim Uvarov wrote:
> On Mon, 31 Jul 2023 at 04:06, Peter Robinson <pbrobinson@gmail.com> wrote:
> 
> > On Fri, Jul 28, 2023 at 7:09 PM Tom Rini <trini@konsulko.com> wrote:
> > >
> > > On Thu, Jul 27, 2023 at 03:34:48PM +0300, Ilias Apalodimas wrote:
> > >
> > > > Tom, Simon
> > > > are you ok with submodules on this one?
> > >
> > > Still punting on that question and waiting for commentary from
> > > distribution people.
> >
> > I would prefer not to have to deal with submodules unless the required
> > bits were pulled as part of the release tarball process where it
> > wouldn't then matter to distributions.
> >
> > Peter
> >
> 
> Ilias pointed to an interesting alternative which edk2 uses its git
> subtrees.
> Docs:
> https://www.atlassian.com/git/tutorials/git-subtree
> https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt
> 
> Examples:
> git subtree add --prefix lib/lwip/lwip-external
> https://git.savannah.nongnu.org/git/lwip.git master --squash
> $ git log
> commit 83488286d287e53fad1efbfe1d4f5dbf69202f4a (HEAD -> master)
> Merge: 27b050e91d 120e0665c3
> Author: Maxim Uvarov <maxim.uvarov@linaro.org>
> Date:   Wed Aug 2 07:53:17 2023 +0000
> 
>     Merge commit '120e0665c37ec69d46c10fc341e253ae2e69afca' as
> 'lib/lwip/lwip-external'
> 
> commit 120e0665c37ec69d46c10fc341e253ae2e69afca
> Author: Maxim Uvarov <maxim.uvarov@linaro.org>
> Date:   Wed Aug 2 07:53:17 2023 +0000
> 
>     Squashed 'lib/lwip/lwip-external/' content from commit 84fde1ebbf
> 
>     git-subtree-dir: lib/lwip/lwip-external
>     git-subtree-split: 84fde1ebbfe35b3125fc2d89b8a456cbacf148e9
> 
> 
> So it actually plases code of lwip.git into a subdirectory as a git
> commit.  When you do git clone then all sources will be fetched.
> No need for any additional commands after that. I vote for subtree instead
> of plain code copy.

Since I think we could use this to start off on one stable tag and then
merge to the next as they come out (which is likely the cadence we
want), this does seem like the reasonable way forward.  Too late for v5,
but for v6 can you please make sure the doc contains (and an easy way to
test this would be to start with say STABLE_2_1_0_RELEASE and move it up
to STABLE_2_1_3_RELEASE) an example / instructions on how to use subtree
to perform the updates.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2023-08-02 16:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-14 14:19 [PATCHv4 0/5] net/lwip: add lwip library for the network stack Maxim Uvarov
2023-07-14 14:19 ` [PATCHv4 1/5] net/lwip: add lwip-external submodule Maxim Uvarov
2023-07-27 12:34   ` Ilias Apalodimas
2023-07-28 18:08     ` Tom Rini
2023-07-28 22:17       ` Simon Glass
2023-07-30 22:06       ` Peter Robinson
2023-08-02  8:03         ` Maxim Uvarov
2023-08-02 16:32           ` Tom Rini [this message]
2023-07-14 14:19 ` [PATCHv4 2/5] net/lwip: add lwip library for the network stack Maxim Uvarov
2023-07-27 13:29   ` Ilias Apalodimas
2023-07-27 14:23     ` Maxim Uvarov
2023-07-28 14:26     ` Maxim Uvarov
2023-07-14 14:19 ` [PATCHv4 3/5] net/lwip: add doc/develop/net_lwip.rst Maxim Uvarov
2023-07-27 12:33   ` Ilias Apalodimas
2023-07-14 14:19 ` [PATCHv4 4/5] net/lwip: add dns command Maxim Uvarov
2023-07-14 14:20 ` [PATCHv4 5/5] net/lwip: apps/http: add dns support Maxim Uvarov
2023-07-27 12:59   ` Ilias Apalodimas
2023-07-27 12:22 ` [PATCHv4 0/5] net/lwip: add lwip library for the network stack Ilias Apalodimas
2023-07-28  1:51 ` Simon Glass
2023-07-28 11:24   ` Maxim Uvarov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230802163232.GA3630934@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=goldsimon@gmx.de \
    --cc=ilias.apalodimas@linaro.org \
    --cc=joe.hershberger@ni.com \
    --cc=lwip-devel@nongnu.org \
    --cc=maxim.uvarov@linaro.org \
    --cc=pbrobinson@gmail.com \
    --cc=pbrobinson@redhat.com \
    --cc=rfried.dev@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox