Actions

Difference between revisions of "Developer Area/Bug Status"

From Mahara Wiki

< Developer Area
Line 37: Line 37:
 
== Bug importance ==
 
== Bug importance ==
  
Importance is highly subjective, but here are some rough guidelines for how we use them in Mahara:
+
Importance is highly subjective, but here are some rough guidelines for how we use them in Mahara. A bug with the following importance might have some of these characteristics:
  
* '''Critical''': generally reserved for things that make the software unusable or pose a serious security risk for people running it. These are bugs where we drop everything we are doing to address them first.
+
* '''Critical''': Use only when we should drop everything and fix this ASAP
* '''High''': most of the bad bugs that inconvenience people.
+
** Prevents Mahara from functioning entirely
* '''Medium''': the default priority.
+
** Causes data loss or other irreversible problems
* '''Low''': minor bugs that will probably not get fixed unless someone picks it up and submits a patch.
+
** Likely to be encountered by many users
* '''Wishlist'''for new features or for enhancements (i.e. things that are not really bugs).
+
** Security flaw that doesn't require any user account on the site
 +
 
 +
* '''High'''
 +
** Obviously "broken" to end user. Visible error messages, wrong item being deleted, etc.
 +
** Likely to be encountered by many users
 +
** Security flaw that requires a logged-in user account on the site
 +
** Usability problem that causes extreme inconvenience
 +
 
 +
* '''Medium'''
 +
** Incorrect behavior, but a workaround is possible
 +
** Unlikely to be encountered by most users
 +
** Security flaw that requires an admin account and/or has limited consequences
 +
** Usability problem that causes major inconvenience
 +
 
 +
* '''Low'''
 +
** Works correctly, but doesn't follow best practices
 +
** Affects very few users
 +
** Easy workaround is available
 +
** Usability problem that causes moderate or minor inconvenience
 +
 
 +
* '''Wishlist'''
 +
** Not a bug
 +
** Suggestions for new features & functionality
  
 
== Tags ==
 
== Tags ==

Revision as of 12:25, 18 September 2015

The status, priority, milestone, tags in Launchpad are used by Mahara developers for effective bug management. This page describe the current use of these features.

Bug status

The bug status reflects the current state of the bug. When the new bug is reported it obtains "New" status automatically (unless specified otherwise) and then usually goes through a number other statuses depending on developers actions and decisions. The list below describe each of the statuses and provides useful hints on status chnages.

  • New - The status field is automatically set to "new" when a bug is created.
  • Triaged - Once we've looked at a bug and decided on a priority and a milestone, it's changed to "triaged". Triaged is for bugs we haven't tried to reproduce.
  • Confirmed - Status is changed to "confirmed" once we've been able to reproduce it, or to "incomplete" if we need more information to be able to reproduce it.
  • Invalid , Wont fix, Opinion - are all statuses that effectively close the bug.  "Invalid" is for things we don't really think are bugs at all, or maybe they're bugs but not bugs in Mahara.  "Won't fix" is self-explanatory.  "Opinion" is a softer version of "won't fix", and indicates to the reporter that there is reasonable disagreement about whether the bug is a bug or should be fixed (and invites more comments).
  • In progress - is for bugs which are currently being worked on.
  • Fix committed - is for when a fix is committed to git. Bugs which have been fixed only in the commit author's local branch or personal clone repository, or submitted for revision should not be marked as "Fix Committed" until they appear in the master (or stable) branch from which releases are created (which will happen when the change on revision system is marked as merged).  Any time a bug is marked as "fix committed", the milestone field must also be updated to the next planned release milestone on the appropriate branch, and if the bug is still unassigned, it should be assigned to whoever provided the patch.
  • Fix Released - Status is flipped to "Fix Released" once there is a stable release (i.e. a tarball) which includes the fix (alphas, betas and release candidates don't count).

Periodically the core development team will go through the open bugs, decide what should be fixed before the next release, and update the status and milestone fields accordingly.

Bug milestone

The milestone is used for three main things:

  1. as a TODO list for an upcoming release
  2. as a record of when a bug was fixed
  3. as an extended changelog for a given release

Fix committed: When a bug is in the "fix committed" state, it needs a milestone (no exceptions) to indicate the first release it will be part of. For example:

  • If you fix a bug in 1.4_STABLE and 1.5.0 is not released yet, then you'd use a milestone of 1.4.1 (that being the next stable release) because we assume that 1.5.0 will have everything that the other stable releases have.
  • If you fix it in 1.3_STABLE and 1.4_STABLE, then it needs two milestones: 1.3.7 and 1.4.1.
  • If you only fix it on the master branch, then use 1.5.0 as the milestone since it won't be in any releases until then.

Fix released: If a bug is in the "fix released" state then it usually has a milestone as described above in the "fix committed" section. The exception to this is when a bug moves from in progress to fix released because the bug has never affected any of the released versions of Mahara. In this case, it would be irrelevant to users of stable versions from a changelog point of view.

Triaged, confirmed, in progress: If a bug is not yet fixed but is in one of the intermediate states, then the milestone may or may not be set:

  • if the release manager wants something to be fixed before a given release, the milestone will be set to that release
  • if a developer volunteers to fix something before a given release, they can set the milestone accordingly
  • otherwise, if it's just a bug, we leave the milestone unset to avoid putting too many tasks on the "release TODO list"

Bug importance

Importance is highly subjective, but here are some rough guidelines for how we use them in Mahara. A bug with the following importance might have some of these characteristics:

  • Critical: Use only when we should drop everything and fix this ASAP
    • Prevents Mahara from functioning entirely
    • Causes data loss or other irreversible problems
    • Likely to be encountered by many users
    • Security flaw that doesn't require any user account on the site
  • High
    • Obviously "broken" to end user. Visible error messages, wrong item being deleted, etc.
    • Likely to be encountered by many users
    • Security flaw that requires a logged-in user account on the site
    • Usability problem that causes extreme inconvenience
  • Medium
    • Incorrect behavior, but a workaround is possible
    • Unlikely to be encountered by most users
    • Security flaw that requires an admin account and/or has limited consequences
    • Usability problem that causes major inconvenience
  • Low
    • Works correctly, but doesn't follow best practices
    • Affects very few users
    • Easy workaround is available
    • Usability problem that causes moderate or minor inconvenience
  • Wishlist
    • Not a bug
    • Suggestions for new features & functionality

Tags

We encourage the use of tags to group bugs together!  If you triage a bug and think it's easy, but you don't plan to fix it immediately, tag it as "bite-sized". If we get enough bite-sized bugs, we can list them on openhatch.org, or other sites that might encourage new contributors.

Relevant links