From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: Package recipes change proposal (system-wide) - name wise
Date: Thu, 26 Jul 2012 20:40:12 +0100 [thread overview]
Message-ID: <1343331612.7600.19.camel@ted> (raw)
In-Reply-To: <969F26A8BAB325438E7EB80D3C3134FB16174E03@IRSMSX102.ger.corp.intel.com>
On Wed, 2012-07-25 at 07:23 +0000, Iorga, Cristian wrote:
> For me, having the version number contained in the name of package recipe is a little bit puzzling.
> For example: libpcre/libpcre_8.31.bb
>
> Is there a solid technical reason to not have it like this?
>
> libpcre/libpcre.bb
> and inside the recipe to have a PV variable defined:
> PV="8.31"
FWIW, you can do that and it will just work, even today. Its just not
the convention we've "grown up" with.
> In that case, the upgrade/update process would not involve performing a "git move" operation.
> In my opinion, this "git move" operation is something to be avoided, as it puzzles a little bit the versioning system and complicates the review process.
>
> Of course, some changes in the bitbake system would be involved, but I guess would not be too complicated.
> Also, there will be a volume of work to be performed for changing the name of recipes and adding the PV variable inside the recipe.
> But I guess that a script could solve that, followed by some manual review.
The original idea was that updating to new versions was easy, it was a
mv operation. The checksums have of course complicated this idea but the
principle still applies. It also lets you see versions without having to
view the files themselves which I know I personally find very useful.
Also, as others have mentioned, git can detect move operations if you
tell it to.
Cheers,
Richard
next prev parent reply other threads:[~2012-07-26 19:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-25 7:02 [PATCH 0/1] mtools: add glibc-gconv-* to RDEPENDS/RRECOMMENDS xin.ouyang
2012-07-25 7:02 ` [PATCH 1/1] " xin.ouyang
2012-07-26 19:04 ` Phil Blundell
2012-07-25 7:23 ` Package recipes change proposal (system-wide) - name wise Iorga, Cristian
2012-07-25 10:05 ` Koen Kooi
2012-07-25 10:09 ` Paul Eggleton
2012-07-25 13:48 ` Chris Larson
2012-07-26 19:52 ` Bruce Ashfield
2012-07-26 19:40 ` Richard Purdie [this message]
2012-07-26 20:44 ` Joshua Lock
2012-07-28 9:22 ` Anders Darander
2012-08-03 23:46 ` Darren Hart
2012-07-26 19:01 ` [PATCH 0/1] mtools: add glibc-gconv-* to RDEPENDS/RRECOMMENDS Saul Wold
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=1343331612.7600.19.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