From: Trevor Woerner <twoerner@gmail.com>
To: yocto-patches@lists.yoctoproject.org
Subject: Re: [yocto-patches] [meta-rockchip][PATCH] linux-torvalds-next: use AUTOREV
Date: Tue, 18 Jun 2024 08:08:22 -0400 [thread overview]
Message-ID: <20240618120822.GA40144@localhost> (raw)
In-Reply-To: <fb7d421b-9db5-461c-b89d-05cb9c5016ee@cherry.de>
On Tue 2024-06-18 @ 12:04:48 PM, Quentin Schulz via lists.yoctoproject.org wrote:
> Hi Trevor,
>
> On 6/18/24 1:07 AM, Trevor Woerner via lists.yoctoproject.org wrote:
> > Already the SRCREV that was used for -next has been rebased out of existence.
>
> Mmmm, no. It's still there, just not in the master branch.
>
> > Also that tag that was originally proposed no longer exists. With a repository
>
> It still exists. https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/?h=next-20240611
Yesterday at noon my time I cloned the linux-next repository on a machine I
had never done this build on and that tag and commit ID were not there, and
this is still true:
$ git tag
...
next-20230310
next-20230314
next-20230315
next-20230316
next-20230317
next-20230829
next-20240613
v2.6.11
v2.6.11-tree
v2.6.12
v2.6.12-rc2
...
$ git show a957267fa7e9159d3d2ee1421359ebf228570c68
fatal: bad object a957267fa7e9159d3d2ee1421359ebf228570c68
$ git pull
...
$ git tag
...
next-20230829
next-20240613
next-20240617
v2.6.11
v2.6.11-tree
v2.6.12
v2.6.12-rc2
...
$ git show a957267fa7e9159d3d2ee1421359ebf228570c68
fatal: bad object a957267fa7e9159d3d2ee1421359ebf228570c68
> > that is rebased so regularly, the only thing we can safely use to hope for
> > valid builds that don't need to be tweaked every few days is AUTOREV.
> >
>
> Or... use ;tag=next-20240611 in the git fetcher and force people to use the
> network for radxa-zero-e boards.
>
> I personally would vote for using the tag instead of AUTOREV. Kernel
> maintainers rarely (have they ever done it?) move tags around so that should
> be fine. Whereas using AUTOREV on linux-next is basically hoping that
> nothing breaks from a development branch, maybe too much to ask for right
> now?
When I click on the commit of the link you provided earlier it says: "Notice:
this object is not reachable from any branch". If the tag is not accessible
from any branch then I can't specify a branch to the fetcher. If I don't
specify the branch to the fetcher then I get flooded with "...you didn't
specify a branch, and we're going to make this mandatory soon..." messages,
flooded!
I also got an email from someone yesterday who had tried the radxa-zero-3w
build and it failed for them. When I do the builds on my machine that I've
been using for development, the build succeeds (because the repository
predates the assumed rebasing). If I then go to the ${DL_DIR}/git2/ directory
and delete the linux-next repository, then retry the build, it fails.
When I try the build on a machine that has never done this build, it fails.
I started my change yesterday by using the "tag=next-20240611" addition to the
fetcher and was surprised when the build failed on a different build machine.
I think AUTOREV is that safest bet here.
next prev parent reply other threads:[~2024-06-18 12:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-17 23:07 [meta-rockchip][PATCH] linux-torvalds-next: use AUTOREV Trevor Woerner
2024-06-18 10:04 ` [yocto-patches] " Quentin Schulz
2024-06-18 12:08 ` Trevor Woerner [this message]
2024-06-18 13:25 ` Quentin Schulz
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=20240618120822.GA40144@localhost \
--to=twoerner@gmail.com \
--cc=yocto-patches@lists.yoctoproject.org \
/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 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.