]> code.ossystems Code Review - openembedded-core.git/commit
utility-tasks.bbclass: automatic upstream version check
authorKevin Tian <kevin.tian@intel.com>
Sun, 30 May 2010 11:14:24 +0000 (19:14 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 3 Jun 2010 11:23:22 +0000 (12:23 +0100)
commit3161c9b15a39e552b383c704851edead8435365c
treef04cfa1b1e91eb7b7779f3920f4b692ffae3bf59
parent50224b5afa19c9e68fc36d9a44f3f39e8f0da225
utility-tasks.bbclass: automatic upstream version check

Automatic upstream version check can be triggered by "bitbake xxx -c checkpkg".
The rationale behind is to find a automatic way for version comparison between
current in-use one and upstream progress. The tricky thing is how to find out
useful version string from mass diverse information. Fortunately now it mostly
work for wget based protocol, except some sites (e.g. sourceforge) not providing
a directory service. Repo (git/svn/cvs) based protocols are handled in a very
simple manner, by always tagging as update required. This will be further
improved later. Use 'world' target to retrieve a full version check for all
active recipes.

Along with version check, other package information is also collected from
existing fields in .bb file

Signed-off-by Kevin Tian <kevin.tian@intel.com>
meta/classes/utility-tasks.bbclass