[oe-commits] Mei Lei : Add a new task checklicense and fix some bugs in distro_check.py

git version control git at git.openembedded.org
Tue May 17 17:14:54 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: b41148cda9f0cc292b662a8473f26bc1ee0148f3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b41148cda9f0cc292b662a8473f26bc1ee0148f3

Author: Mei Lei <lei.mei at intel.com>
Date:   Mon May 16 19:06:21 2011 +0800

Add a new task checklicense and fix some bugs in distro_check.py

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 at intel.com>

---

 meta/classes/distrodata.bbclass |  177 ++++++++++++++++++++++-----------------
 meta/lib/oe/distro_check.py     |   27 ++++--
 2 files changed, 119 insertions(+), 85 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=b41148cda9f0cc292b662a8473f26bc1ee0148f3




More information about the Openembedded-commits mailing list