summaryrefslogtreecommitdiff
path: root/meta/classes/distrodata.bbclass
AgeCommit message (Collapse)AuthorFiles
2011-12-06distrodata.bbclass:Fix some recipes upstream version check issue.Mei Lei1
Some recipes,like rt-tests,clutter-box2d,iproute2,didn't declare upstream protocal, but in distrodata.bbclass, we use rsync as the default protocal, this will lead an error when checking upstream version. Change default protocal from rsync to git in distrodata.bbclass. Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-26getVar/setVar cleanupsRichard Purdie1
Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie1
This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-21distrodata: fix distro_check codeSaul Wold1
This fixes a problem with package names from inherits showing up Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-06-28distrodata.bbclass: Get the extend recipe's information from non bbextended ↵Mei Lei1
recipe This patch will check whether the recipe is an extened recipe, if yes, some informaiton couldn't be got, so collect those information(like maintainer information or lastcheckversion) from non bbextended recipe. Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-05-17Add a new task checklicense and fix some bugs in distro_check.pyMei Lei1
distro_check.py: Create a new function called create_log_file to reduce a lot of repeat code in distrodata.bbclass. We needn't to create log file in function save_distro_check_result, because the log file has been generated in check_eventhandler. Another bug is that we maybe access the /tmp/Meego-1.0 before we create this file. Add a judge statement to decide whether we need to create this file firstly. distrodata.bbclass: Add a new task checklicense to collect missing text license information. This can help package-report system to know how many recipes are missing license text. Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-04-06distrodata.bbclass: Merge the get_pkg_info.log into checkpkg.csvMei Lei1
For easy view the check package result, merge the two files into checkpkg.csv, after that, the package report system will use checkpkg.csv instead of get_pkg_info.log. Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-03-04distrodata.bbclass: Get git repo tag informationMei Lei1
For those recipes which use git repo and have tag information, we can use tag to trace the version change. For other no tag recipes, we still use their commit checksum to trace their version change. Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-02-23distrodata.bbclass: Fix some issues when checking upstream version on ↵Mei Lei1
sourceforge Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-02-21distrodata.bbclass: Fix some bugs for rpm,icu and quicky recipe when ↵Mei Lei1
checking upstream version Fix some bugs in checkpkg function when checking upstream version Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-02-07distrodata: Update to new fetcher APIRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-01distrodata.bbclass: Imporve the checkpkg task more precisely and generate ↵Mei Lei1
data for pkg-report-system Imporve some regular expression when checking recipes' upstream version, reduce the number of invalid recipes' upstream version and imporve the precision Generate some data for package report system. Signed-off-by: Mei Lei<lei.mei@intel.com>
2011-01-20distrodata.bbclass: add .xz file typeSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-31classes: Drop Handled/NotHandled eventhandler keywords, they don't do anythingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-16distrodata: fix messageSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-16distrodata: add eventhandler for checkpkg taskSaul Wold1
Change group column to Owner Column for checkpkg output Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-11-22utility-tasks.bbclass: Move distro related tasks to distrodata.bbclassDongxiao Xu1
Most of the d.keys() used in file parsing are variables in distro_tracking_fields.inc, which are not used in normal build. Therefore remove the inclusion of distro_tracking_fields.inc from poky.conf. Besides, move distro related tasks to distrodata.bbclass, which includes that tracking field file. By this change, the file parsing time could save about 25%. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-10-15distrodata: Modify Distro tracking spreadsheetSaul Wold1
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-17distro data: Update distro data tracking dataSaul Wold1
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-02DistroData: add eventhandler to correctly setup log fileSaul Wold1
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-08-17DistroData: Cleanup Version numbers and add DistroData ParserSaul Wold1
Signed-off-by: Saul Wold <Saul.Wold@intel.com>