From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mail.openembedded.org (Postfix) with ESMTP id 4E60E61FE1 for ; Mon, 22 Jul 2013 09:51:37 +0000 (UTC) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 22 Jul 2013 02:51:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,718,1367996400"; d="scan'208";a="374038310" Received: from unknown (HELO helios.localnet) ([10.252.122.69]) by fmsmga002.fm.intel.com with ESMTP; 22 Jul 2013 02:51:37 -0700 From: Paul Eggleton To: Steffen Sledz Date: Mon, 22 Jul 2013 10:51:36 +0100 Message-ID: <6366141.Q5aULPr4OG@helios> Organization: Intel Corporation User-Agent: KMail/4.10.5 (Linux/3.8.0-26-generic; KDE/4.10.5; i686; ; ) In-Reply-To: <51ECFF6F.60601@dresearch-fe.de> References: <51ECCF5C.2020505@dresearch-fe.de> <51ECFF6F.60601@dresearch-fe.de> MIME-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: SRC_URI and latest HEAD revision with git X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2013 09:51:37 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Monday 22 July 2013 11:46:23 Steffen Sledz wrote: > On 22.07.2013 11:01, Nicolas Dechesne wrote: > > On Mon, Jul 22, 2013 at 8:21 AM, Steffen Sledz > > wrote: > >> After being OE abstinent for some months i'd like to ask what is the > >> current suggested method for recipes building from the HEAD revision of > >> a git repository (we need this for continuous integration). > >> > >> I read some RFC's in the ml about PKGV/PKGR stuff, but i miss a final > >> decision, documentation and a good example.> > > you can use ${AUTOREV} for this purpose. You can look at poky-bleeding > > distro config for such an example. > > > > e.g. > > http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto/conf/distr > > o/include/poky-floating-revisions.inc > Hmmmm? This doesn't seem the work. > > Here's what i tried in my recipe: > > ------------> snip <------------ > PR = "r3" > > SRCREV="${AUTOREV}" > PV = "gitr${SRCPV}" > ------------> snip <------------ > > But i get package versions like > > gitr0+53b64e717404d282d0c58b7fa4a4e74ab2ca81ba-r3 > > where SRCPB is always 0. :( > > A bit more description and/or a complete example would be very helpful. If you want these to increment now AIUI you need to be using the PR server: https://wiki.yoctoproject.org/wiki/PR_Service Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre