From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [80.91.229.2] (helo=ciao.gmane.org) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1KbBaf-00083J-VS for openembedded-devel@openembedded.org; Thu, 04 Sep 2008 11:57:26 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KbBYS-0006od-EG for openembedded-devel@openembedded.org; Thu, 04 Sep 2008 09:55:08 +0000 Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Sep 2008 09:55:08 +0000 Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Sep 2008 09:55:08 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@openembedded.org From: Koen Kooi Date: Thu, 04 Sep 2008 11:54:56 +0200 Message-ID: References: <200809031554.52267.zecke@selfish.org> <200809040117.39159.zecke@selfish.org> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s55917625.adsl.wanadoo.nl User-Agent: Thunderbird/3.0b1pre (Macintosh; 2008080700) In-Reply-To: <200809040117.39159.zecke@selfish.org> Sender: news Subject: Re: Hash based SCMs and OpenEmbedded/Bitbake X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2008 09:57:26 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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')