Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: Hash based SCMs and OpenEmbedded/Bitbake
Date: Thu, 04 Sep 2008 11:54:56 +0200	[thread overview]
Message-ID: <g9ob9g$g6p$1@ger.gmane.org> (raw)
In-Reply-To: <200809040117.39159.zecke@selfish.org>

Holger Freyther wrote:
> On Wednesday 03 September 2008 19:39:39 Koen Kooi wrote:
>
>>> Issue: The PV says something like PV = "1.0.0+gitr${SRCREV}". Now the
>>> SRCREV is fixed and will not go through the python hook. So the resulting
>>> package will be PV = "1.0.0+gitrdeadbeef" and if you want to upgrade to
>>> the ref "affe" you will have a package called "1.0.0+gitraffe" which is
>>> not upgradable.
>> The trick I have been lately:
>>
>> PV = "0.0+${PR}+gitr${SRCREV}"
>>
>> You increment PR everytime you bump SRCREV. Ugly, but works quite well :)
>
> I have seen that in the neuros recipes and removed that... I don't want to say
> what I thought when I saw this the first time.... :)

Please don't remove it, it screws up the versioning ('r' > 'g')





  reply	other threads:[~2008-09-04  9:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03 13:54 Hash based SCMs and OpenEmbedded/Bitbake Holger Freyther
2008-09-03 17:39 ` Koen Kooi
2008-09-03 23:17   ` Holger Freyther
2008-09-04  9:54     ` Koen Kooi [this message]
2008-09-04 15:43       ` Holger Freyther
2008-09-04 11:43 ` Phil Blundell
2008-09-04 15:46   ` Holger Freyther
2008-10-12 22:34 ` Holger Freyther
2008-10-12 23:30   ` Richard Purdie
2008-10-13 16:52     ` Holger Freyther
2008-10-13 19:37       ` Koen Kooi

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='g9ob9g$g6p$1@ger.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@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