Models de desenvolupament i Gestió de projectes Source Code Management Carles Mateu & Jordi Planes Departament d Informàtica Universitat de Lleida Curs 2010/2011 Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 1 / 18
Scheme 1 Defect tracking 2 Bugzilla 3 Trac Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 2 / 18
Defect Tracking Systems Also named: Event Tracking Systems Used to: Control how work (defect repairing) gets assigned. Control bug frequency Provide data to decide shipping/releasing. Track features requested. Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 3 / 18
Defect Tracking Systems Criteria for choosing a system When choosing a good DTS: Integrate with organization/protocols/methodology. Integrate with SCM. Support workflow. Scalable as needed. Support metrics needed. Distributed/Centralised. Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 4 / 18
Defect Tracking Systems Common data that should be on every defect tracking system: Issue ID Unique ID to each issue: for SCM submission, etc. Version Software version affected. If possible should be able to be flexible, i.e. > 2.3, etc. Status Assigned, Closed, Open, Unassigned, etc. Reporter Who submitted the bug. Summary Short description Description Long textual description. Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 5 / 18
Defect Tracking Systems Common data that ought to be on every defect tracking system: Attachments Users/Submitters should be able to add attachments to bugs reported. Discussion Very useful: lets developers and users test approaches to the problem. Related to Allows developers to group together some bugs. Severity How bad things are... Priority How fast we ll try to solve it Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 6 / 18
Defect Tracking Systems Common data that ought to be on every defect tracking system: Attachments Users/Submitters should be able to add attachments to bugs reported. Discussion Very useful: lets developers and users test approaches to the problem. Related to Allows developers to group together some bugs. Severity How bad things are... Priority How fast we ll try to solve it Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 7 / 18
Recommended Use Gathering defects is not enough: Assign issues as fast as possible Inform users of progress Group them as soon as possible Be straight with users Use bug information to plan enhancements and developments Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 8 / 18
Scheme 1 Defect tracking 2 Bugzilla 3 Trac Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 9 / 18
Bugzilla Bugzilla is a bug tracking system by Mozilla Foundation (né Netscape Corporation) High performance and scalability Security mechanims to protect confidentiality Advanced query tool (and very complex) Integrated email support Very configurable Powerful Reporting Time Tracking Patch Viewer 3rd party products (e.g. Eclipse) Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 10 / 18
Bugzilla Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 11 / 18
Bugzilla Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 12 / 18
Bugzilla Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 13 / 18
Scheme 1 Defect tracking 2 Bugzilla 3 Trac Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 14 / 18
Trac Trac includes a ticket/trouble management system. It s more basic than bugzilla but is nicely integrated with wiki+svn+milestones Uses tickets to track bugs, requests, features and milestones. Can be automatically referenced from changesets and from wiki. Has correct reporting features Has RSS publishing of tickets! Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 15 / 18
Trac Life cycle of a bug in Trac Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 16 / 18
Trac Ticket creation Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 17 / 18
Trac Ticket tracking Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestió de FOSS Curs 2010/2011 18 / 18