public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/9] file: 5.23 -> 5.24
Date: Wed, 29 Jul 2015 13:51:59 +0100	[thread overview]
Message-ID: <1438174319.11208.63.camel@linuxfoundation.org> (raw)
In-Reply-To: <20150728134825.GB2465@jama>

On Tue, 2015-07-28 at 15:48 +0200, Martin Jansa wrote:
> On Tue, Jul 28, 2015 at 02:08:20PM +0100, Burton, Ross wrote:
> > On 28 July 2015 at 03:12, Robert Yang <liezhi.yang@windriver.com> wrote:
> > 
> > > * Use git repo rather than tarball since the original SRC_URI is not
> > >   stable, it is not reachable sometimes.
> > >
> > 
> > Personally speaking I see this as a recipe for a release of file which just
> > happens to use git to fetch the tarball (and presumably that hash is the
> > 5.24 tag).  In situations like this I prefer to see the recipe called
> > file_5.24.bb as there's no point having a giant PV including git SHAs when
> > it's just the release.
> 
> until someone sets SRCREV_pn-file = "${AUTOREV}" somewhere and git SHAs
> in PV suddenly gets very useful.
> 
> Personally speaking I prefer recipes with git SCM in SRC_URI named
> <foo>_git.bb and PV set to "A.B.C+gitr${SRCPV}".

Having thought a bit about this, I have to admit I have a preference for
not doing this, just so we can know it is meant to be file 5.24 and not
that version plus some random git commits. If you override SRCREV, you
can override PV too to match the SRCREV.

Perhaps more importantly, its also more useful for the version
comparisons in the update tracking tooling. That might tip the balance.

Cheers,

Richard



  parent reply	other threads:[~2015-07-29 12:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28  2:12 [PATCH 0/9] Packages Upgrade Robert Yang
2015-07-28  2:12 ` [PATCH 1/9] git: 2.4.4 -> 2.4.6 Robert Yang
2015-07-28  2:12 ` [PATCH 2/9] file: 5.23 -> 5.24 Robert Yang
2015-07-28 13:08   ` Burton, Ross
2015-07-28 13:48     ` Martin Jansa
2015-07-29  5:54       ` Robert Yang
2015-07-29 12:51       ` Richard Purdie [this message]
2015-07-28  2:12 ` [PATCH 3/9] libuser: 0.61 -> 0.62 Robert Yang
2015-07-28  2:12 ` [PATCH 4/9] less: 478 -> 479 Robert Yang
2015-07-28  2:12 ` [PATCH 5/9] cracklib: 2.9.4 -> 2.9.5 Robert Yang
2015-07-28  2:12 ` [PATCH 6/9] gnupg: 2.1.5 -> 2.1.6 Robert Yang
2015-07-28  2:12 ` [PATCH 7/9] help2man-native: 1.46.4 -> 1.47.1 Robert Yang
2015-07-28  2:12 ` [PATCH 8/9] man-pages: 4.00 -> 4.01 Robert Yang
2015-07-28  2:12 ` [PATCH 9/9] pax-utils: 1.0.3 -> 1.0.5 Robert Yang

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=1438174319.11208.63.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox