Date: Wed, 6 Mar 2024 11:26:00 -0800 From: Warner Losh <imp@bsdimp.com> To: "Bjoern A. Zeeb" <bz@freebsd.org> Cc: freebsd-git@freebsd.org Subject: Re: vendor imports beyond the committers guide? Message-ID: <CANCZdfpyDQPcm2O6tzF4M91u7Pw_XhA5ihpCMON8=w7-YLezpw@mail.gmail.com> In-Reply-To: <nr98n9r4-58r6-rn91-1p01-58q56260rn66@serrofq.bet> References: <n4p4714r-2n97-psq3-34p2-887qq0o1354q@SerrOFQ.bet> <CANCZdfpDDx=riEdExdpzmr6DHy7%2Bgpifm_1aJMcmGiSYAeVrgw@mail.gmail.com> <5pps4nrs-or51-9018-sqp4-7q69s4780r61@serrofq.bet> <Zeig9nKD-Onc58T1@cell.glebi.us> <CANCZdfqxF-oQvc_W1jMKs=F5SE13_NmtvFOnPetr5JH6fBcPaA@mail.gmail.com> <nr98n9r4-58r6-rn91-1p01-58q56260rn66@serrofq.bet>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000070ec06061302ee84 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 6, 2024 at 10:19=E2=80=AFAM Bjoern A. Zeeb <bz@freebsd.org> wro= te: > On Wed, 6 Mar 2024, Warner Losh wrote: > > > On Wed, Mar 6, 2024 at 8:59=E2=80=AFAM Gleb Smirnoff <glebius@freebsd.o= rg> > wrote: > > > >> Bjoern, > >> > >> On Wed, Mar 06, 2024 at 12:37:07AM +0000, Bjoern A. Zeeb wrote: > >> B> > These details likely need to be documented, but what's the detail= s > >> here that > >> B> > you need to do? > >> B> > >> B> I may want to track the (unchanged) versions of the LinuxKPI based > wifi > >> drivers > >> B> in sys/contrib/dev so we can more easily diff against the latest > >> upstream > >> B> import and ship changes back etc. > >> > >> Can you please give an example, e.g. this the the directory in our tre= e > and > >> this is the origin we want to make the vendor import from. I will > >> experiment > >> and produce a sequence of git commands you'd need to do to make proper > >> subtree import. Warner will check me :) > >> > > > > He wants to do this with the Linux drivers we have in the tree... > > > > So we should get the version he started with, import that into the vend= or > > branch (for each driver, since they are separately released and > versioned). > > Once we do that, we can do a subtree merge, but we may have to jump > through > > some hoops so we wind up back to the current files. I have ideas how to > do > > this, but haven't done it yet. Once we have those, we can switch to > updating > > them via the standard vendor import stuff.... > > > > So I know I skipped an email in this change... if you, Bjorn, have the > > files / pointers > > or whatever that you started with, I can import those, do the merge, th= en > > we can look > > at updating. I'm hoping the number of changes are relatively small... > > I can probably produce (for each driver) a set of the original > unmodified files which then went into FreeBSD with modifications > if we do need the entire history and not just the set from the latest > import? > How many versions are there? Warner --00000000000070ec06061302ee84 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 6, 2024 at 10:19=E2=80=AF= AM Bjoern A. Zeeb <<a href=3D"mailto:bz@freebsd.org">bz@freebsd.org</a>&= gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0= px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On We= d, 6 Mar 2024, Warner Losh wrote:<br> <br> > On Wed, Mar 6, 2024 at 8:59=E2=80=AFAM Gleb Smirnoff <<a href=3D"ma= ilto:glebius@freebsd.org" target=3D"_blank">glebius@freebsd.org</a>> wro= te:<br> ><br> >>=C2=A0 =C2=A0Bjoern,<br> >><br> >> On Wed, Mar 06, 2024 at 12:37:07AM +0000, Bjoern A. Zeeb wrote:<br= > >> B> > These details likely need to be documented, but what= 9;s the details<br> >> here that<br> >> B> > you need to do?<br> >> B><br> >> B> I may want to track the (unchanged) versions of the LinuxKPI= based wifi<br> >> drivers<br> >> B> in sys/contrib/dev so we can more easily diff against the la= test<br> >> upstream<br> >> B> import and ship changes back etc.<br> >><br> >> Can you please give an example, e.g. this the the directory in our= tree and<br> >> this is the origin we want to make the vendor import from.=C2=A0 I= will<br> >> experiment<br> >> and produce a sequence of git commands you'd need to do to mak= e proper<br> >> subtree import. Warner will check me :)<br> >><br> ><br> > He wants to do this with the Linux drivers we have in the tree...<br> ><br> > So we should get the version he started with, import that into the ven= dor<br> > branch (for each driver, since they are separately released and versio= ned).<br> > Once we do that, we can do a subtree merge, but we may have to jump th= rough<br> > some hoops so we wind up back to the current files. I have ideas how t= o do<br> > this, but haven't done it yet. Once we have those, we can switch t= o updating<br> > them via the standard vendor import stuff....<br> ><br> > So I know I skipped an email in this change... if you, Bjorn, have the= <br> > files / pointers<br> > or whatever that you started with, I can import those, do the merge, t= hen<br> > we can look<br> > at updating. I'm hoping the number of changes are relatively small= ...<br> <br> I can probably produce (for each driver) a set of the original<br> unmodified files which then went into FreeBSD with modifications<br> if we do need the entire history and not just the set from the latest<br> import?<br></blockquote><div><br></div><div>How many versions are there?</d= iv><div><br></div><div>Warner=C2=A0</div></div></div> --00000000000070ec06061302ee84--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpyDQPcm2O6tzF4M91u7Pw_XhA5ihpCMON8=w7-YLezpw>