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: Wed, 03 Sep 2008 19:39:39 +0200	[thread overview]
Message-ID: <g9mi4r$53n$1@ger.gmane.org> (raw)
In-Reply-To: <200809031554.52267.zecke@selfish.org>

Holger Freyther wrote:
> Hey guys,
>
> we have a couple of issues with hash based SCMs (like git) and how we handle
> them.
>
> 1.) sane-srcrev. During stabilisation you want to lock down a rev, so you set
> one in sane-srcrev.
>
> 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 :)

regards,

Koen




  reply	other threads:[~2008-09-03 17:41 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 [this message]
2008-09-03 23:17   ` Holger Freyther
2008-09-04  9:54     ` Koen Kooi
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='g9mi4r$53n$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