Bug Gardening
(→Directions:) |
(→Background:) |
||
Line 21: | Line 21: | ||
This activity, however, is focused on retiring bugs that are no longer relevant (#5), primarily because that is more clear-cut than full-fledged bug triage. | This activity, however, is focused on retiring bugs that are no longer relevant (#5), primarily because that is more clear-cut than full-fledged bug triage. | ||
− | If the project you're working with has a guide for how to triage bugs, the students should read that first. Here are | + | If the project you're working with has a guide for how to triage bugs, the students should read that first. Here are three examples of Bug Triage Guides: |
* [http://www.gluster.org/community/documentation/index.php/Bug_triage Gluster Bug Triage Guidelines] and their accompanying [http://www.gluster.org/community/documentation/index.php/Bug_report_life_cycle Lifecycle of a Bug] | * [http://www.gluster.org/community/documentation/index.php/Bug_triage Gluster Bug Triage Guidelines] and their accompanying [http://www.gluster.org/community/documentation/index.php/Bug_report_life_cycle Lifecycle of a Bug] | ||
* [https://www.mediawiki.org/wiki/Bug_management/How_to_triage Bug Management - How to Triage (MediaWiki)] | * [https://www.mediawiki.org/wiki/Bug_management/How_to_triage Bug Management - How to Triage (MediaWiki)] | ||
+ | * [https://wiki.gnome.org/Bugsquad/TriageGuide Gnome Bug Triage Guide] | ||
The student should be familiar with how to use the bug tracker (see [[Bug_Tracker_Activity|Bug Tracker Activity]]) | The student should be familiar with how to use the bug tracker (see [[Bug_Tracker_Activity|Bug Tracker Activity]]) | ||
− | If you're working with a specific open source project, you may want to ask the project (via IRC or mailing list) if there are a particular set of bugs that your students should focus on. For example, in the Gluster project I noted above, if a bug is tagged POST it means that an initial patch for a bug has been put into the Gerrit code review tool. If there | + | If you're working with a specific open source project, you may want to ask the project (via IRC or mailing list) if there are a particular set of bugs that your students should focus on. For example, in the Gluster project I noted above, if a bug is tagged POST it means that an initial patch for a bug has been put into the Gerrit code review tool. If there is a very old bug that's marked POST, there's a decent likelihood that the patch has been incorporated into the project and the bug wasn't closed for whatever reason. If your students can verify this and close the bug, that's valuable. |
− | is a very old bug that's marked POST, there's a decent likelihood that the patch has been incorporated into the project and the bug wasn't closed for whatever reason. If your students can verify this and close the bug, that's valuable. | + | |
Other projects may have similar set-ups that are worth asking about. | Other projects may have similar set-ups that are worth asking about. |
Revision as of 21:30, 16 June 2015
Title | Bug Gardening / Bug Triage / Bug Grooming / |
Overview | Most projects have a backlog of bugs that need to be periodically “gardened.” Sometimes there are even old bugs that may have already been fixed that just haven’t been closed in the system. This module familiarizes students with bug gardening (/bug triage/ bug grooming) techniques, *and* helps the community by doing some of that gardening. |
Prerequisite Knowledge | Students should be familiar with how bug trackers work -- see [Bug Tracker Activity] |
Learning Objectives | Student should be able to review a bug to see if it still is relevant *and* student should be able to explain the importance of "bug gardening" |
Background:
Bug Gardening (or Grooming or Triage) is the process by which projects:
- confirm new bugs that have been submitted
- gather more information about the bug when necessary
- prioritize confirmed bugs
- review bugs to ensure that they are being worked on
- retire old bugs
This activity, however, is focused on retiring bugs that are no longer relevant (#5), primarily because that is more clear-cut than full-fledged bug triage.
If the project you're working with has a guide for how to triage bugs, the students should read that first. Here are three examples of Bug Triage Guides:
- Gluster Bug Triage Guidelines and their accompanying Lifecycle of a Bug
- Bug Management - How to Triage (MediaWiki)
- Gnome Bug Triage Guide
The student should be familiar with how to use the bug tracker (see Bug Tracker Activity)
If you're working with a specific open source project, you may want to ask the project (via IRC or mailing list) if there are a particular set of bugs that your students should focus on. For example, in the Gluster project I noted above, if a bug is tagged POST it means that an initial patch for a bug has been put into the Gerrit code review tool. If there is a very old bug that's marked POST, there's a decent likelihood that the patch has been incorporated into the project and the bug wasn't closed for whatever reason. If your students can verify this and close the bug, that's valuable.
Other projects may have similar set-ups that are worth asking about.
Directions:
This activity is focused on culling bugs that are no longer relevant, primarily because that is more clear-cut than full-fledged bug triage.
This activity is best performed in groups of two or three students, who can work together to:
- identify a "suspect" bug in the bug tracker,
- test it to see if it still exists, and
- if it doesn't, close the bug.
* if you are leery of closing bugs directly in the project bug tracker
Identifying the "suspect" bugs will be easiest if you have information from the project about their bug lifecycle or have information directly from the project about which bugs to focus on, but even in the absence of that information, there are some other clues that can be used to identify bugs that might no longer be bugs.
One thing to look at is the version number of the software that the bug was reported against (versus the one that's current now). If the bug is for a version that's several releases out of date, there's a good likelihood that the issue may have been fixed (or may have just become irrelevant) in the meantime.
Another possible hint is the date on the bug: bugs that were reported years ago may have been fixed and are probably worth looking at first.
In some cases students may not be able to tell if a bug is still relevant -- that's ok. They can move on and try another.
Deliverables:
What will the student hand in?
Assessment:
How will the activity be graded?
How will learning will be measured?
Include sample assessment questions/rubrics.
Comments:
What should the instructor know before using this activity?
What are some likely difficulties that an instructor may encounter using this activity?
Additional Information:
Knowledge Area/Knowledge Unit | Software Development Fundamentals//Software Verification and Validation |
Topic | Defect tracking |
Level of Difficulty | Medium (requires some understanding of the intended functionality of the software, ability to use bug tracking software, and critical thinking skills) |
Estimated Time to Completion | How long should it take for the student to complete the activity? |
Materials/Environment | Student needs access to the project's bug tracker, internet access |
Author | Gina Likins |
Source | 14-ways-to-contribute-to-open-source-without-being-a-programming-genius-or-a-rock-star |
License | This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License |
Suggestions for the Open Source Project:
Your community should have specific expectations around [support] that are published [somewhere]. For example, if your code will only work on Fedora versions newer than 19, then specify that.
If there are a set of bugs that it would be more helpful to have someone verify, then marking those in some way would help the instructor.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License