wiki:SCS_ISSUE_TRACKER_MAINTAINCE_R0

Version 7 (modified by pacitu, 17 years ago) (diff)

--

Analysis

This task includes maintaining the issue tracker.

Overview

  • Maintain the issue tracker regularly;
    • Delete, fix, group, etc - tickets.
    • Make sure tickets are up to date and generally correct.
  • Define and create useful Reports;
  • Review existing tickets.
  • Look for duplicate issues and remove them.
  • Look for unassigned tickets and assign them.
  • Send reminders to owners of tickets without progress (look for comments that contain "estimate" "this will be fixes after" "this can't be fixed" etc.)
  • Notify the team if the count of non-closed tickets is huge (in process of work we should consider what "huge count of tickets" mean.
  • Notify the team for other issues you consider abnormal.

Task requirements

A script is required to automatically add all tasks from the sophie2-wbs.py file to the trac's issue tracker. Also a way to delete tasks/bugs from the tracker.

Design

We will use the csv2trac.2.py script to add tasks to the issue tracker. And implement a function in the sophie2-wbs.py to generate a CSV file.

Implementation

  • sophie2-wbs.py:
    def print_CSV_line(task):
            if isinstance(task, Rev):
                    print "Planned_Task,,,%s,,3,Astea,Astea,,,%s,new,,%s,,,"% (task.component().name, milestones[task.pre], task.name)
            for t in task.children: print_CSV_line(t)
    
    def outCSV():
            print "type,time,changetime,component,severity,priority,owner,reporter,cc,version,
                            milestone,status,resolution,summary,description,keywords"
            print_CSV_line(Task.root)
    

Testing