← Back to team overview

arsenal-devel team mailing list archive

[Merge] lp:~christopherarges/arsenal/arsenal into lp:arsenal

 

Chris J Arges has proposed merging lp:~christopherarges/arsenal/arsenal into lp:arsenal.

Requested reviews:
  Bryce Harrington (bryce)

For more details, see:
https://code.launchpad.net/~christopherarges/arsenal/arsenal/+merge/101280

This allows for additional features to be extracted for canonical-sustaining bugs.
-- 
https://code.launchpad.net/~christopherarges/arsenal/arsenal/+merge/101280
Your team arsenal-devel is subscribed to branch lp:arsenal.
=== modified file 'reports/seg/Makefile'
--- reports/seg/Makefile	2012-03-27 04:11:13 +0000
+++ reports/seg/Makefile	2012-04-09 19:31:38 +0000
@@ -7,5 +7,5 @@
 
 .PHONY: $(SEG_DASHBOARD)
 $(SEG_DASHBOARD) :
-	$(CBD) --debug="verbose" seg.json
+	$(CBD) --debug=verbose support-engineering.json
 

=== renamed file 'reports/seg/seg.json' => 'reports/seg/support-engineering.json'
--- reports/seg/seg.json	2012-03-26 17:43:26 +0000
+++ reports/seg/support-engineering.json	2012-04-09 19:31:38 +0000
@@ -1,7 +1,8 @@
 {
     "launchpad_config": {
-        "launchpad_client_name": "seg", 
-        "read_only": true
+        "launchpad_client_name": "seg.report", 
+        "read_only": true,
+        "bug_type": "seg"
     }, 
     "search_criteria": [
         {
@@ -11,8 +12,14 @@
                 "New", 
                 "Confirmed", 
                 "Triaged", 
+                "Incomplete", 
+                "Incomplete (with response)", 
+                "Incomplete (without response)", 
+                "Invalid", 
                 "In Progress", 
-                "Fix Committed"
+                "Fix Committed", 
+                "Fix Released", 
+                "Won't Fix"
             ], 
             "subscribers": [
                 "canonical-support"

=== modified file 'scripts/collect-bug-data'
--- scripts/collect-bug-data	2012-04-09 14:53:49 +0000
+++ scripts/collect-bug-data	2012-04-09 19:31:38 +0000
@@ -754,6 +754,20 @@
         except:
             pass
 
+        # Extra Sustaining Engineering fields
+        #
+        try:
+            config = self.iso_config['launchpad_config']
+            if 'bug_type' in config.keys():
+                if config['bug_type'] == "seg":
+                    from seglib import seg
+                    b['seg'] = seg.parseSegBug(bug, t['assignee'], t['importance'],b['age_days'])
+                    print b['seg']
+            else:
+                print 'not configured'
+        except:
+            print sys.exc_info()
+
         t['bug'] = b
 
         Dbg.leave("CollectBugData.get_task_info")