Hi,

In an attempt to make handing autogenerated bugreports easier  
sepukku.bbclass now uses a different naming for bugs. This is great  
and all, but will only work if the biggest user has the latest  
sepukku.bbclass. So:

Revision: 2c1b19f138545666f84b9b29076dcc0b6e695ed6
Ancestor: 6ce88d368dc1630ca919214fed422f283e4290c4
Author: [EMAIL PROTECTED]
Date: 2008-03-10T16:33:51
Branch: org.openembedded.dev

Modified files:
         classes/seppuku.bbclass

ChangeLog:

sepukku bbclass: change 'bugname' far so bugreports get grouped by PN- 
PV instead of PN-PV-PR-task
* mentions failed task now in bug comment


============================================================
--- classes/seppuku.bbclass     5ccb6b3ee62481e1ee237df90ec2f4a399801311
+++ classes/seppuku.bbclass     d9299ad4bccbb02b32acfbe21f8b514f0ec16283
@@ -329,12 +329,11 @@ python seppuku_eventhandler() {

          file = None
          if name == "TaskFailed":
-            bugname = "%(package)s-%(pv)s-%(pr)s-%(task)s" %  
{ "package" : bb.data.getVar("PN", data, True),
+            bugname = "%(package)s-%(pv)s-autobuild" % { "package" :  
bb.data.getVar("PN", data, True),
                                                                  
"pv"      : bb.data.getVar("PV", data, True),
-                                                                
"pr"      : bb.data.getVar("PR", data, True),
-                                                                
"task"    : e.task }
+                                                               }
              log_file = glob.glob("%s/log.%s.*" %  
(bb.data.getVar('T', event.data, True), event.task))
-            text     = "The package failed to build at %s for machine  
%s" % (bb.data.getVar('DATETIME', data, True),  
bb.data.getVar( 'MACHINE', data, True ) )
+            text     = "The %s step failed at %s for machine %s" %  
(e.task, bb.data.getVar('DATETIME', data, True),  
bb.data.getVar( 'MACHINE', data, True ) )
              if len(log_file) != 0:
                  print >> debug_file, "Adding log file %s" %  
log_file[0]
                  file = open(log_file[0], 'r')


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to