Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [RFC] policy proposal: INC_PR
Date: Tue, 20 Sep 2011 21:30:35 +0100	[thread overview]
Message-ID: <1316550641.14488.61.camel@ted> (raw)
In-Reply-To: <4E78E508.9080706@windriver.com>

On Tue, 2011-09-20 at 14:10 -0500, Mark Hatle wrote:
> On 9/20/11 2:04 PM, Dmitry Eremin-Solenikov wrote:
> > Hello, colleagues,
> > 
> > While debugging some stuff in oe-core & company I've noticed that
> > lot's of packages
> > either don't use INC_PR, or misuse it (e.g. .inc has INC_PR, but then
> > .bb just defines PR = "rX").
> 
> I've noticed similar things.  I'd agree, we should define and use INC_PR for
> items that have .inc files.  There have been many times that I need to fix a bug
> in the .inc file and end up manually updating the PR is 2 or 3 recipes that use
> the .inc.
> 
> One question though, how do we handle packages with multilib .inc files?
> 
> INC_PR += ...  (or is it .=)

I'm going to disagree here. I'd actually like to see the whole PR thing
become irrelevant. Its insane we have to spend so much time doing
something the system should be able to figure out for itself. It
currently serves two purposes:

1. Triggers rebuilds of packages when they change
2. Handles package feed upgrades correctly

For 1, we can use the sstate checksums and for 2, we can use some kind
of PR server, either local or networked.

I'm therefore proposing that after the current release is finished, we
enable the BasicHash signature generator (which adds the sstate
checksums to the stamp files) and stop bumping PR values (so INC_PR can
die and PR values can likely fade out of recipes). If the tooling we
have for 2 isn't enough we'll then just simply have to improve it and
make it work.

Comments?

Cheers,

Richard




  reply	other threads:[~2011-09-20 20:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-20 19:04 [RFC] policy proposal: INC_PR Dmitry Eremin-Solenikov
2011-09-20 19:10 ` Mark Hatle
2011-09-20 20:30   ` Richard Purdie [this message]
2011-09-20 20:36     ` Koen Kooi
2011-09-20 20:47       ` Richard Purdie

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=1316550641.14488.61.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --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