Models de desenvolupament i Gesti´o de projectes Source ...
Transcript of Models de desenvolupament i Gesti´o de projectes Source ...
Models de desenvolupament i Gestio de projectesSource Code Management
Carles Mateu & Jordi Planes
Departament d’InformaticaUniversitat de Lleida
Curs 2010/2011
Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestio de FOSS Curs 2010/2011 1 / 18
Scheme
1 Defect tracking
2 Bugzilla
3 Trac
Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestio de FOSS Curs 2010/2011 2 / 18
Defect Tracking Systems
Also named: Event Tracking SystemsUsed 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 Gestio de FOSS Curs 2010/2011 3 / 18
Defect Tracking SystemsCriteria 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 Gestio 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 Gestio 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 bugsreported.
Discussion Very useful: lets developers and users test approaches to theproblem.
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 Gestio 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 bugsreported.
Discussion Very useful: lets developers and users test approaches to theproblem.
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 Gestio 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 Gestio de FOSS Curs 2010/2011 8 / 18
Scheme
1 Defect tracking
2 Bugzilla
3 Trac
Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestio de FOSS Curs 2010/2011 9 / 18
Bugzilla
Bugzilla is a bug tracking system by Mozilla Foundation (ne NetscapeCorporation)
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 Gestio de FOSS Curs 2010/2011 10 / 18
Scheme
1 Defect tracking
2 Bugzilla
3 Trac
Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestio de FOSS Curs 2010/2011 14 / 18
Trac
Trac includes a ticket/trouble management system. It’s more basic thanbugzilla 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 Gestio de FOSS Curs 2010/2011 15 / 18
TracLife cycle of a bug in Trac
Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestio de FOSS Curs 2010/2011 16 / 18
TracTicket creation
Carles Mateu & Jordi Planes (DIEI) Desenvolupament i Gestio de FOSS Curs 2010/2011 17 / 18