Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Babanpreet Singh <bbnpreetsingh@gmail.com>
To: Paul Barker <paul@pbarker.dev>
Cc: openembedded-core@lists.openembedded.org,
	Ross Burton <ross.burton@arm.com>,
	Babanpreet Singh <bbnpreetsingh@gmail.com>
Subject: Re: [PATCH 2/2] recipetool: create: fix git URLs that only specify a tag
Date: Wed, 25 Nov 2026 03:04:45 +0000	[thread overview]
Message-ID: <20261125030445.7-1-bbnpreetsingh@gmail.com> (raw)
In-Reply-To: <DN2HHOGYJB3B.1EWTJOMA10ROH@pbarker.dev>

On Mon Nov 23, 2026 at 9:30 AM GMT, Paul Barker wrote:
> The explanation in the commit message doesn't really make sense. The
> issue with the test recipe created for matchbox-keyboard is that the
> commit tagged as "0.1.1" isn't present on the default branch. This is
> not true for all git URLs with "tag=..." and no "branch=...".

Hi Paul,

Yes, the message is wrong. bitbake 2515fbd10 has nothing to do with
it, the fetcher gives the same error for a nobranch=1 URL with
${AUTOREV} before that commit too. The tag being off master isn't the
cause either, though. libfakekey's 0.3 tag is the tip of master, and
git://git.yoctoproject.org/libfakekey;protocol=https;tag=0.3 fails on
current master with the same "Unable to resolve ''". Where the tag
lives matters later, for the branch= written into the recipe, which is
what the matchbox-keyboard test checks.

> There is no situation where we are "without a branch". As the following
> comment says, we assume we're on the "master" branch if the branch is
> not specified.

The tag block just above sets nobranch=1, so that default is skipped
and ${AUTOREV} has no branch to resolve.

I'll send a v2 with a fixed message.
Thanks for the review.

Baban

  reply	other threads:[~2026-11-25  3:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12  3:58 [PATCH 1/2] recipetool: create: keep tag= in SRC_URI Babanpreet Singh
2026-11-12  3:58 ` [PATCH 2/2] recipetool: create: fix git URLs that only specify a tag Babanpreet Singh
2026-11-23  9:30   ` Paul Barker
2026-11-25  3:04     ` Babanpreet Singh [this message]
2026-12-01 18:18     ` [PATCH v2] " Babanpreet Singh

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=20261125030445.7-1-bbnpreetsingh@gmail.com \
    --to=bbnpreetsingh@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul@pbarker.dev \
    --cc=ross.burton@arm.com \
    /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