Saul Wold | 14 Jun 2012 23:54
Picon

[PATCH] distrodata: cleanup after moving distro_tracking_fields

Remove some of the older fields that are not in the new list as we
are able to better automagically generate this directly from the
recipe files the extra files will go away.

To use this, one will have to include the appropirate files, such
as maintainers.inc, upstream_status.inc

Signed-off-by: Saul Wold <sgw@...>
---
 meta/classes/distrodata.bbclass |   56 +++++++++-----------------------------
 1 files changed, 14 insertions(+), 42 deletions(-)

diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index df6d300..90ee7ae 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
 <at>  <at>  -1,4 +1,3  <at>  <at> 
-require conf/distro/include/distro_tracking_fields.inc

 addhandler distro_eventhandler
 python distro_eventhandler() {
 <at>  <at>  -8,7 +7,7  <at>  <at>  python distro_eventhandler() {
 	logfile = dc.create_log_file(e.data, "distrodata.csv")
 	lf = bb.utils.lockfile("%s.lock" % logfile)
 	f = open(logfile,
"a")
-	f.write("Package,Description,Owner,License,ChkSum,Status,VerMatch,Version,Upsteam,Non-Update,Reason,Recipe
Status,Distro 1,Distro 2,Distro 3\n")
+	f.write("Package,Description,Owner,License,VerMatch,Version,Upsteam,Reason,Recipe
Status,Distro 1,Distro 2,Distro 3\n")
(Continue reading)


Gmane