@@ -12,35 +12,53 @@ hesitate to propose modifications to the following guidelines.
1212Issues management
1313-----------------
1414
15- GitHub proposes various features to manage issues :
15+ For issue management, we use the following GitHub processes :
1616
17- - Set one or several labels from a predefined list
18- - Set one milestone from a predefined list
19- - Keep track of the issue in the project dashboard
20- - Define one contributor as "assignee" among the Godot engine
21- organization members
17+ - Each issue and pull request (PR) is categorized with a set of *labels *,
18+ sometimes called "tags".
19+ - Each issue and PR is assigned to a *milestone *.
20+ - Issues can have an *assignee *, who is a contributor among Godot maintainers.
21+ - Issues can be put in one or more *projects *.
22+ - PRs can be *linked * to one or more issues which they "fix" or "close".
2223
23- As the Godot engine organization on GitHub currently has a restricted
24- number of contributors, we do not use assignees extensively for now. All
25- contributors are welcome to take on any issue, if relevant after mentioning
26- it on the issue ticket and/or discussing the best way to resolve it with
27- other developers.
24+ We don't yet extensively use or rely on some other GitHub processes:
2825
29- For the time being, we do not use the project dashboard feature either.
26+ - Issue close reasons (completed, not planned, duplicate). While we use these,
27+ it is not consistent, and older issues are all closed as "completed", so the
28+ issue close reason should not be relied on.
29+ - Issue *types * (Bug, Feature, Task).
30+ - Issue *relationships *.
3031
31- As far as possible, we try to assign labels (and milestones, when relevant)
32- to both issues and pull requests.
32+ We only use the assignees feature for Godot maintainers who are members of the
33+ Godot engine GitHub organization, and even then not in all cases. For other
34+ issues, we track who is working on an issue by comments on the issue and linked
35+ pull requests. Most issues are available for any contributor to take on, after
36+ discussing it with other contributors. If you would like to work on an issue,
37+ and first check that no one else is working on it, by looking for a linked pull
38+ request, a comment "claiming" the issue, or an assignee. If no one else is
39+ working on the issue, leave a comment on the issue to "claim" it and start
40+ working on it.
3341
3442Labels
3543~~~~~~
3644
3745The following `labels <https://github.com/godotengine/godot/labels >`__ are
3846currently defined in the Godot repository:
3947
40- **Categories: **
48+ Categories:
49+ ^^^^^^^^^^^
4150
42- - *Archived *: either a duplicate of another issue, or invalid. Such an
43- issue would also be closed.
51+ - *Archived *: used to filter closed issues.
52+
53+ - For issues, added to all issues that are not resolved by engine or
54+ documentation changes. This includes duplicate issues, user error, or
55+ reports in the wrong repository. Usually, all other labels are removed.
56+ Since we don't rely on GitHub's issue close reasons (``completed ``, ``not
57+ planned ``, and ``duplicate ``), it is possible for a PR to be closed as
58+ ``completed `` with the *Archived * label.
59+ - For PRs, added to all closed PRs that are not merged. This includes superseded
60+ or duplicate PRs, Git or GitHub mistakes, and valid PRs that end up not merged.
61+
4462- *Breaks compat *: describes something that can only be fixed by breaking
4563 compatibility with existing projects.
4664- *Bug *: describes something that is not working properly.
@@ -66,12 +84,11 @@ currently defined in the Godot repository:
6684 should be filed on the `godot-docs <https://github.com/godotengine/godot-docs >`_ repository.
6785- *Enhancement *: describes a proposed enhancement to an existing
6886 functionality.
69- - *Feature proposal *: describes a wish for a new feature to be
70- implemented. Note that the main Godot repository no longer accepts
71- feature requests. Please use
72- `godot-proposals <https://github.com/godotengine/godot-proposals >`__ instead.
73- PRs which add new features but do not have a corresponding proposal use this
74- label.
87+ - *Feature proposal *: Used for PRs adding new features which do not have a
88+ corresponding proposal use this label. The label is removed when a feature
89+ proposal is created and linked. The main Godot repository no longer accepts
90+ feature requests as issues. Please use the `godot-proposals
91+ <https://github.com/godotengine/godot-proposals> `__ repository instead.
7592- *For PR meeting *: the issue needs to be discussed in a pull request meeting.
7693 These meetings are public and are held on the `Godot Contributors Chat <https://chat.godotengine.org/ >`_.
7794- *Good first issue *: the issue is *assumed * to be an easy one to fix, which makes
@@ -89,37 +106,41 @@ currently defined in the Godot repository:
89106- *Performance *: issues that directly impact engine or editor performance.
90107 Can also be used for pull requests that improve performance or add low-end-friendly options.
91108 Should not be coupled with *Usability *.
92- - *Production *: Relates to the production team.
93109- *Regression *: the bug appeared after a stable release not exhibiting
94110 the bug was released.
95111- *Salvageable *: the pull request can't be merged due to design issues or
96112 merge conflicts and its author is not active anymore. However, it can still
97- be picked up by an external contributor to bring it to a mergeable state.
113+ be picked up by another contributor to bring it to a mergeable state.
98114 To do so, you need to open a new pull request based on the original pull request.
115+ - *Spam *: intentional spam issues, and extremely low-effort PRs. Used
116+ sparingly, since we give contributors and users the benefit of the doubt. In
117+ most cases, *Needs work * or *Archived * is more appropriate.
99118- *Tracker *: issue used to track other issues (like all issues related to
100119 the plugin system).
101120- *Usability *: issues that directly impact user usability. Should not be coupled with *Performance *.
102121
103- The categories are used for general triage of the issues. They can be
104- combined in some way when relevant, e.g. an issue can be labelled
105- *Enhancement * and *Usability * at the same time if it's an issue to improve
106- usability. Or *Feature proposal * and *Discussion * if it's a non-consensual
107- feature request, or one that is not precise enough to be worked on.
108- At least one of the categories *Bug *, *Enhancement * or *Discussion * is used to
109- describe an issue or pull request.
122+ The categories are used for general triage of the issues. They can be combined
123+ in some way when relevant, e.g. an issue can be labeled *Bug * and *Usability *
124+ at the same time if it's a bug that affects usability. Or *Enhancement * and
125+ *Discussion * if it's an improvement that requires discussion of the best
126+ approach. At least one of the categories *Bug *, *Enhancement *, or *Discussion *
127+ are used to describe an issue or pull request.
110128
111- **Topics: **
129+ Topics:
130+ ^^^^^^^
112131
113- - *2D *: relates to 2D-specific issues. Should be coupled with one of the labels below, and should not be coupled with *3D *.
114- - *3D *: relates to 3D-specific issues. Should be coupled with one of the labels below, and should not be coupled with *2D *.
132+ - *2D *: relates to 2D nodes. Should be coupled with one of the labels
133+ below, and should not be coupled with *3D *.
134+ - *3D *: relates to 3D nodes. Should be coupled with one of the labels
135+ below, and should not be coupled with *2D *.
115136- *Animation *: relates to the Animation system, editors and importers.
116137- *Assetlib *: relates to issues with the asset library.
117138- *Audio *: relates to the audio features (low- and high-level).
118139- *Buildsystem *: relates to building issues, either linked to the SCons
119140 buildsystem or to compiler peculiarities.
120141- *Codestyle *: relates to the programming style used within the codebase.
121142- *Core *: anything related to the core engine. Specific topics are split off separately as they crop up.
122- - *Dotnet *: relates to the C# / Dotnet bindings.
143+ - *Dotnet *: relates to the C# / .NET bindings.
123144- *Editor *: relates to issues in the editor (mainly UI).
124145- *Export *: relates to the export system and templates.
125146- *GDExtension *: relates to the GDExtension system for native extensions.
@@ -145,9 +166,10 @@ unthinkable to see issues that fit two bills. The general idea is that
145166there will be specialized contributors teams behind all topics, so they
146167can focus on the issues labelled with their team's topic.
147168
148- **Platforms: **
169+ Platforms:
170+ ^^^^^^^^^^
149171
150- *Android *, *iOS *, *Linux *, *macOS *, *Web *, *Windows *
172+ *Android *, *iOS *, *LinuxBSD *, *macOS *, *Web *, *Windows *
151173
152174By default, it is assumed that a given issue applies to all platforms.
153175If one of the platform labels is used, it is then exclusive and the
@@ -175,6 +197,12 @@ use the following `labels <https://github.com/godotengine/godot-docs/labels>`__:
175197 it a great fit for new contributors who want to become familiar with
176198 the code base. It should be removed while an active PR is available, that
177199 resolves this issue.
200+ - *Linked demo PR *: the PR has a corresponding PR to the
201+ `Godot Demo Projects <https://github.com/godotengine/godot-demo-projects >`__
202+ repository which must be merged at the same time. Any changes to code in
203+ tutorials that have a corresponding demo, such as :ref: `doc_your_first_2d_game `,
204+ need to update both repositories so that the tutorial code stays in sync with
205+ the completed demo.
178206- *Needs work *: the pull request needs additional work before it can be merged.
179207- *Python *: Pull requests that update Python code.
180208- *Salvageable *: the pull request can't be merged due to design issues or
@@ -183,8 +211,11 @@ use the following `labels <https://github.com/godotengine/godot-docs/labels>`__:
183211 To do so, you need to open a new pull request based on the original pull request.
184212- *Tracker *: issue used to track other issues (like all issues related to
185213 the plugin system).
214+ - *Waiting on PR merge *: the PR documents an engine PR that has not been merged
215+ yet.
186216
187- **Area: **
217+ Area:
218+ ^^^^^
188219
189220- *About *: Issues and PRs related to the About section of the documentation and other general articles.
190221- *Class reference *: the issue is about the class reference, not a documentation page.
@@ -193,7 +224,8 @@ use the following `labels <https://github.com/godotengine/godot-docs/labels>`__:
193224- *Getting started *: Issues and PRs related to the Getting Started section of the documentation.
194225- *Manual *: Issues and PRs related to the Manual/Tutorials section of the documentation.
195226
196- **Content: **
227+ Content:
228+ ^^^^^^^^
197229
198230- *Images *: Issues and PRs involving outdated or incorrect images in articles.
199231- *Example code *: Issues and PRs involving writing or updating code examples.
@@ -203,23 +235,49 @@ use the following `labels <https://github.com/godotengine/godot-docs/labels>`__:
203235- *Redirect *: Issues and PRs involving moving content and adding a redirect rule on the backend.
204236- *Website *: Issues related to adding website features and fixing bugs, whether on the front or back-end,
205237
206- **Topic: **
238+ Topic:
239+ ^^^^^^
207240
208241The available topics describe the same content as the topics in the main
209242repository.
210243
211244Milestones
212245~~~~~~~~~~
213246
214- `Milestones <https://github.com/godotengine/godot/milestones >`_ correspond to
215- planned future versions of Godot for which there is an existing roadmap. Issues
216- that fit in the said roadmap should be filed under the corresponding milestone;
217- if they don't correspond to any current roadmap, they should be left without
218- milestone. As a rule of thumb, an issue corresponds to a given milestone if it
219- concerns a feature that is new in the milestone, or a critical bug that can't be
220- accepted in any future stable release, or anything that Juan wants to work on
221- right now. :)
222-
223- Contributors are free to pick issues regardless of their assigned milestone;
224- if a fix is proposed for a bug that was not deemed urgent and thus without
225- milestone, it would likely still be very welcome.
247+ `Milestones <https://github.com/godotengine/godot/milestones >`_ are used for
248+ some issues and all PRs.
249+
250+ We have milestones for specific minor engine versions, like ``4.5 `` and ``4.6 ``,
251+ as well as general milestones for major engine versions, like ``3.x `` and
252+ ``4.x ``. In the ``godot-proposals `` repo, we also have a ``5.0 `` milestone for
253+ compatibility-breaking changes that will be considered for Godot 5.0, in many
254+ years.
255+
256+ Issues are assigned to a milestone, such as ``4.5 ``, if they are related to
257+ features introduced in that engine version, or are bugs (regressions) in that
258+ version. Additionally, all issues completed during that engine version are added
259+ to the milestone. We don't always use the ``4.x `` milestone for issues, since by
260+ default all issues are related to Godot 4.x. However, we do use the ``3.x ``
261+ milestone to mark issues that are specific to Godot 3.x.
262+
263+ All pull requests are assigned to a milestone. By default, enhancement and
264+ feature PRs are assigned to the ``4.x `` milestone, and bugs are assigned to the
265+ current minor version milestone, such as ``4.5 ``. Towards the end of the minor
266+ version's development, PRs currently in the ``4.5 `` milestone are reassessed. If
267+ a PR is no longer being considered for ``4.5 ``, it is reassigned to either the
268+ major version milestone (``4.x ``), or the next minor version milestone (such as
269+ ``4.6 ``).
270+
271+ Pull requests in the ``4.x `` milestone are reassigned to the current minor
272+ engine version, such as ``4.5 ``, when the review process is complete, and the
273+ production team decides that the PR is ready to be merged soon. Note that
274+ usually this requires more than one approving review.
275+
276+ The milestone assigned to a PR is a goal, not a guarantee. New features and
277+ enhancements are merged when they are ready. While reviewers and maintainers do
278+ their best to review PRs in time for the current version, at some point we reach
279+ the beta, feature freeze, and then release; and existing PRs are re-triaged to
280+ the next minor version, or to ``4.x ``. As a rule, we assign new features to the
281+ ``4.x `` milestone initially to avoid continually re-triaging a PR from version
282+ to version. However, a PR being in ``4.x `` does not mean it won't be merged;
283+ it's just the default for new features.
0 commit comments