Re: linux-media checkout failing for KernelCI

Denys Fedoryshchenko <[email protected]>
Newsgroups dev.linux.lists.kernelci
Message-ID <[email protected]>
On Fri, 2024-05-17 at 12:57 -0400, Gustavo Padovan wrote:
> 
> 
> On 5/17/24 11:29, Guenter Roeck wrote:
> > On Fri, May 17, 2024 at 6:41 AM Gustavo Padovan <[email protected]>
> > wrote:
> > > 
> > > Hi Media maintainers,
> > > 
> > > We are struggling to use the media tree, in the same way we
> > > usually
> > > virtually all other trees in KernelCI. The following commands
> > > gives
> > > KernelCI a fatal error.
> > > 
> > > git clone
> > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > > cd linux
> > > git remote add media https://git.linuxtv.org/media_tree.git
> > > git remote update media
> > > git fetch --tags https://git.linuxtv.org/media_tree.git
> > Why not "git fetch --tags media" instead of the last two commands ?
> > That is working for me, and it is what I always use when fetching
> > remote repositories.
> 
> Hmm. Maybe we were just being newbies with the way KernelCI does it.
> :)
Actually, the problem is that this "magical sequence" in the legacy
code was written years ago, and git blame gives incorrect results, so i
can't ask author "why?". 
It’s a sort of "Chesterton's Fence" in the legacy library.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.