bug_triage_guidelines.rst 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. .. _doc_bug_triage_guidelines:
  2. Bug triage guidelines
  3. =====================
  4. This page describes the typical workflow of the bug triage team aka
  5. bugsquad when handling issues and pull requests on Godot's
  6. `GitHub repository <https://github.com/godotengine/godot>`__.
  7. It is bound to evolve together with the bugsquad, so do not
  8. hesitate to propose modifications to the following guidelines.
  9. Issues management
  10. -----------------
  11. GitHub proposes various features to manage issues:
  12. - Set one or several labels from a predefined list
  13. - Set one milestone from a predefined list
  14. - Keep track of the issue in the project dashboard
  15. - Define one contributor as "assignee" among the Godot engine
  16. organization members
  17. As the Godot engine organization on GitHub currently has a restricted
  18. number of contributors, we do not use assignees extensively for now. All
  19. contributors are welcome to take on any issue, if relevant after mentioning
  20. it on the issue ticket and/or discussing the best way to resolve it with
  21. other developers.
  22. For the time being, we do not use the project dashboard feature either.
  23. As far as possible, we try to assign labels (and milestones, when relevant)
  24. to both issues and pull requests.
  25. Labels
  26. ~~~~~~
  27. The following labels are currently defined in the Godot repository:
  28. **Categories:**
  29. - *Archived*: either a duplicate of another issue, or invalid. Such an
  30. issue would also be closed.
  31. - *Breaks compat*: describes something that can only be fixed by breaking
  32. compatibility with existing projects.
  33. - *Bug*: describes something that is not working properly.
  34. - *Cherrypick*: describes something that can be backported to a stable branch
  35. after being merged in the ``master`` branch.
  36. - *Crash:* describes a bug that causes the engine to crash.
  37. This label is only used for "hard" crashes, not freezes.
  38. - *Confirmed*: has been confirmed by at least one other contributor
  39. than the bug reporter (typically for *Bug* reports).
  40. The purpose of this label is to let developers know which issues are
  41. still reproducible when they want to select what to work on. It is
  42. therefore a good practice to add in a comment on what platform and
  43. what version or commit of Godot the issue could be reproduced; if a
  44. developer looks at the issue one year later, the *Confirmed* label
  45. may not be relevant anymore.
  46. - *Discussion*: the issue is not consensual and needs further
  47. discussion to define what exactly should be done to address the
  48. topic.
  49. - *Documentation*: issue related to the documentation. Mainly to request
  50. enhancements in the API documentation. Issues related to the ReadTheDocs
  51. documentation should be filed on the
  52. `godot-docs <https://github.com/godotengine/godot-docs>`_ repository.
  53. - *Enhancement*: describes a proposed enhancement to an existing
  54. functionality.
  55. - *Feature proposal*: describes a wish for a new feature to be
  56. implemented. Note that the main Godot repository no longer accepts
  57. feature requests. Please use
  58. `godot-proposals <https://github.com/godotengine/godot-proposals>`__ instead.
  59. - *For PR meeting*: the issue needs to be discussed in a pull request meeting.
  60. These meetings are public and are held on the `Godot Contributors Chat <https://chat.godotengine.org/>`_.
  61. - *Good first issue*: the issue is *assumed* to be an easy one to fix, which makes
  62. it a great fit for new contributors who need to become familiar with
  63. the code base.
  64. - *High priority:* the issue is particularly important as it can
  65. prevent people from releasing their projects or cause data loss.
  66. - *Needs work*: the pull request needs additional work before it can be merged.
  67. - *Needs testing*: the issue/pull request could not be completely tested
  68. and thus need further testing. This can mean that it needs to be tested
  69. on different hardware/software configurations or even that the steps to
  70. reproduce are not certain.
  71. - *Performance*: issues that directly impact engine or editor performance.
  72. Can also be used for pull requests that improve performance or add low-end-friendly options.
  73. Should not be coupled with *Usability*.
  74. - *PR welcome / Hero wanted!*: Contributions for issues with these labels
  75. are especially welcome. Note that this **doesn't** mean you can't work
  76. on issues without these labels.
  77. - *Regression*: the bug appeared after a stable release not exhibiting
  78. the bug was released.
  79. - *Salvageable*: the pull request can't be merged due to design issues or
  80. merge conflicts and its author is not active anymore. However, it can still
  81. be picked up by an external contributor to bring it to a mergeable state.
  82. To do so, you need to open a new pull request based on the original pull request.
  83. - *Tracker*: issue used to track other issues (like all issues related to
  84. the plugin system).
  85. - *Usability*: issues that directly impact user usability. Should not be coupled with *Performance*.
  86. The categories are used for general triage of the issues. They can be
  87. combined in some way when relevant, e.g. an issue can be labelled
  88. *Enhancement* and *Usability* at the same time if it's an issue to improve
  89. usability. Or *Feature proposal* and *Discussion* if it's a non-consensual
  90. feature request, or one that is not precise enough to be worked on.
  91. **Topics:**
  92. - *2D*: relates to 2D-specific issues. Should be coupled with one of the labels below, and should not be coupled with *3D*.
  93. - *3D*: relates to 3D-specific issues. Should be coupled with one of the labels below, and should not be coupled with *2D*.
  94. - *Assetlib*: relates to issues with the asset library.
  95. - *Audio*: relates to the audio features (low and high level).
  96. - *Buildsystem*: relates to building issues, either linked to the SCons
  97. buildsystem or to compiler peculiarities.
  98. - *Codestyle*: relates to the programming style used within the codebase.
  99. - *Core*: anything related to the core engine. It might be further
  100. split later on as it's a pretty big topic.
  101. - *Editor*: relates to issues in the editor (mainly UI).
  102. - *GDNative*: relates to the GDNative module.
  103. - *GDScript*: relates to GDScript.
  104. - *GUI*: relates to GUI (Control) nodes.
  105. - *Import*: relates to the resource import system.
  106. - *Input*: relates to input system.
  107. - *Mono*: relates to the C# / Mono bindings.
  108. - *Navigation*: relates to the navigation system (including A* and navmeshes).
  109. - *Network*: relates to networking.
  110. - *Physics*: relates to the physics engine (2D/3D).
  111. - *Plugin*: relates to problems encountered while writing plugins.
  112. - *Porting*: relates to some specific platforms or exporting projects.
  113. - *Rendering*: relates to the 2D and 3D rendering engines.
  114. - *Shaders*: relates to the Godot shader language or visual shaders.
  115. - *Tests*: relates to unit tests.
  116. - *Thirdparty*: relates to third-party libraries used in Godot.
  117. - *VisualScript*: relates to issues with the visual scripting language (*not* visual shaders).
  118. - *XR*: relates to Augmented Reality or Virtual Reality.
  119. Issues would typically correspond to only one topic, though it's not
  120. unthinkable to see issues that fit two bills. The general idea is that
  121. there will be specialized contributors teams behind all topics, so they
  122. can focus on the issues labelled with their team's topic.
  123. **Platforms:**
  124. *Android*, *HTML5*, *iOS*, *Linux*, *macOS*, *Windows*, *UWP*
  125. By default, it is assumed that a given issue applies to all platforms.
  126. If one of the platform labels is used, it is then exclusive and the
  127. previous assumption doesn't stand anymore (so if it's a bug on e.g.
  128. Android and Linux exclusively, select those two platforms).
  129. Documentation labels
  130. ~~~~~~~~~~~~~~~~~~~~
  131. In the `documentation repository <https://github.com/godotengine/godot-docs>`__, we
  132. use the following labels:
  133. - *Bug*: Incorrect information in an existing page. Not to be used for
  134. *missing* information.
  135. - *Class reference*: the issue is about the class reference, not a documentation page.
  136. - *Discussion*: the issue is not consensual and needs further
  137. discussion to define what exactly should be done to address the
  138. topic.
  139. - *Enhancememnt*: new information to be added in an existing page.
  140. - *New page*: a new page to be created.
  141. - *Hero wanted!*: contributions for issues with these labels
  142. are especially welcome. Note that this **doesn't** mean you can't work
  143. on issues without these labels.
  144. - *Organization*: The issue involves moving pages around or reorganizing content.
  145. - *Redirect*: a redirection needs to be created in the Read the Docs backend.
  146. Only administrators can do this.
  147. - *Salvageable*: the pull request can't be merged due to design issues or
  148. merge conflicts and its author is not active anymore. However, it can still
  149. be picked up by an external contributor to bring it to a mergeable state.
  150. To do so, you need to open a new pull request based on the original pull request.
  151. - *Topic:Mono*: the issue is about C# support in Godot.
  152. - *Topic:Website*: the issue relates to the Sphinx/Read the Docs frontend or backend,
  153. not the documentation contents.
  154. Milestones
  155. ~~~~~~~~~~
  156. `Milestones <https://github.com/godotengine/godot/milestones>`_ correspond to
  157. planned future versions of Godot for which there is an existing roadmap. Issues
  158. that fit in the said roadmap should be filed under the corresponding milestone;
  159. if they don't correspond to any current roadmap, they should be left without
  160. milestone. As a rule of thumb, an issue corresponds to a given milestone if it
  161. concerns a feature that is new in the milestone, or a critical bug that can't be
  162. accepted in any future stable release, or anything that Juan wants to work on
  163. right now. :)
  164. Contributors are free to pick issues regardless of their assigned milestone;
  165. if a fix is proposed for a bug that was not deemed urgent and thus without
  166. milestone, it would likely still be very welcome.