From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: "Hans Beckérus" <hans.beckerus@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: SRCREV how is it supposed to work?
Date: Tue, 05 Nov 2013 10:51:08 +0000 [thread overview]
Message-ID: <1589538.2ShOaANikJ@helios> (raw)
In-Reply-To: <CAFyqS9rbOyN7OV-b7MRN0YGtu87ZGxDkHb50=kJxvNiGcXdgXQ@mail.gmail.com>
On Tuesday 05 November 2013 10:25:24 Hans Beckérus wrote:
> I have seen recipes that defines PV = "xyz+git${SRCPV}" and then
> SRCREV to a specific tag instead of ${AUTOREV}.
> Is that not contradictory? Or is it simply that the author of that
> recipe wished to have a git tag automatically added to the version
> string?
> Are there any specific cases when that approach is to prefere?
AFAIK, there are two recommended values for SRCREV assuming you are fetching
from an SCM at all:
A) A specific revision (SHA1 hash when fetching from git)
or
B) "${AUTOREV}" if you want to always build the latest version available at
time of building. If you want to build the latest version from a branch,
specify it in branch= in the SRC_URI entry.
Anything else isn't really a good idea. Sometimes I wonder if we ought to just
tighten this up so that only settings that make sense can be set.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2013-11-05 10:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-29 11:46 SRCREV how is it supposed to work? Hans Beckérus
2013-10-29 11:00 ` Martin Jansa
2013-10-29 13:27 ` Hans Beckérus
2013-10-29 13:42 ` Martin Jansa
2013-10-29 14:20 ` Hans Beckérus
2013-11-05 9:25 ` Hans Beckérus
2013-11-05 9:47 ` [meta-mono] Mono 3.2.3 support Alex J Lennon
2013-11-05 10:51 ` Paul Eggleton [this message]
2013-11-05 22:10 ` SRCREV how is it supposed to work? Robert Calhoun
2013-11-05 22:21 ` Hans Beckerus
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=1589538.2ShOaANikJ@helios \
--to=paul.eggleton@linux.intel.com \
--cc=hans.beckerus@gmail.com \
--cc=yocto@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.