|
| 1 | +# Labels and Milestones Guide |
| 2 | + |
| 3 | +This document describes the label system and milestones used in the Luthetus.Ide repository for organizing issues and pull requests. |
| 4 | + |
| 5 | +## Labels |
| 6 | + |
| 7 | +Labels are organized into several categories to help classify and filter issues effectively. |
| 8 | + |
| 9 | +### Type Labels |
| 10 | + |
| 11 | +These labels identify the kind of work involved: |
| 12 | + |
| 13 | +- **type: bug** - Something isn't working correctly |
| 14 | +- **type: enhancement** - Improvement to existing functionality |
| 15 | +- **type: feature** - New feature or capability |
| 16 | +- **type: documentation** - Documentation improvements or additions |
| 17 | +- **type: refactor** - Code refactoring without changing functionality |
| 18 | +- **type: test** - Adding or updating tests |
| 19 | +- **type: maintenance** - Repository maintenance and infrastructure |
| 20 | + |
| 21 | +### Priority Labels |
| 22 | + |
| 23 | +These labels indicate urgency: |
| 24 | + |
| 25 | +- **priority: critical** - Must be fixed immediately (security, data loss, complete breakage) |
| 26 | +- **priority: high** - Should be addressed soon (significant impact) |
| 27 | +- **priority: medium** - Normal priority (standard development work) |
| 28 | +- **priority: low** - Nice to have (minor improvements) |
| 29 | + |
| 30 | +### Status Labels |
| 31 | + |
| 32 | +These labels track the current state of an issue or PR: |
| 33 | + |
| 34 | +- **status: wip** - Work in progress |
| 35 | +- **status: blocked** - Blocked by another issue or external factor |
| 36 | +- **status: help-wanted** - Extra attention or help is needed |
| 37 | +- **status: good-first-issue** - Good for newcomers to the project |
| 38 | +- **status: needs-review** - Waiting for review |
| 39 | +- **status: needs-testing** - Needs testing before completion |
| 40 | + |
| 41 | +### Component Labels |
| 42 | + |
| 43 | +These labels identify which part of the codebase is affected: |
| 44 | + |
| 45 | +- **component: ide** - IDE-specific functionality |
| 46 | +- **component: text-editor** - Text editor component |
| 47 | +- **component: compiler-services** - Compiler services (C#, Python, JavaScript, etc.) |
| 48 | +- **component: common** - Common library components |
| 49 | +- **component: extensions** - Extensions (Git, DotNet, Config, Website) |
| 50 | + |
| 51 | +### Platform Labels |
| 52 | + |
| 53 | +These labels indicate platform-specific issues: |
| 54 | + |
| 55 | +- **platform: linux** - Linux-specific issue |
| 56 | +- **platform: windows** - Windows-specific issue |
| 57 | +- **platform: mac** - macOS-specific issue |
| 58 | +- **platform: wasm** - WebAssembly/Browser-specific issue |
| 59 | +- **platform: photino** - Photino webview-specific issue |
| 60 | + |
| 61 | +### Language Labels |
| 62 | + |
| 63 | +These labels relate to language parser/compiler work: |
| 64 | + |
| 65 | +- **lang: csharp** - C# language support |
| 66 | +- **lang: python** - Python language support |
| 67 | +- **lang: javascript** - JavaScript language support |
| 68 | +- **lang: fsharp** - F# language support |
| 69 | +- **lang: css** - CSS language support |
| 70 | +- **lang: razor** - Razor language support |
| 71 | + |
| 72 | +### Other Labels |
| 73 | + |
| 74 | +- **dependencies** - Dependency updates |
| 75 | +- **security** - Security-related issue or update |
| 76 | +- **performance** - Performance improvements |
| 77 | +- **accessibility** - Accessibility improvements |
| 78 | +- **breaking-change** - Breaking change that requires major version bump |
| 79 | +- **duplicate** - Duplicate of another issue |
| 80 | +- **wontfix** - Will not be fixed or implemented |
| 81 | +- **invalid** - Invalid issue or request |
| 82 | +- **question** - Question or discussion |
| 83 | + |
| 84 | +## Using Labels |
| 85 | + |
| 86 | +### For Issue Authors |
| 87 | + |
| 88 | +When creating an issue, try to apply at least: |
| 89 | +1. One **type** label (bug, enhancement, feature, etc.) |
| 90 | +2. One **component** label (what part of the code) |
| 91 | +3. A **platform** label if the issue is platform-specific |
| 92 | + |
| 93 | +### For Maintainers |
| 94 | + |
| 95 | +Maintainers should additionally apply: |
| 96 | +1. A **priority** label |
| 97 | +2. **status** labels as appropriate |
| 98 | +3. Additional labels as needed for filtering and organization |
| 99 | + |
| 100 | +### Label Combinations |
| 101 | + |
| 102 | +Good examples of label combinations: |
| 103 | + |
| 104 | +- `type: bug` + `priority: high` + `component: text-editor` + `platform: windows` |
| 105 | +- `type: feature` + `priority: medium` + `component: compiler-services` + `lang: csharp` |
| 106 | +- `type: enhancement` + `priority: low` + `component: ide` + `status: help-wanted` |
| 107 | +- `type: bug` + `priority: critical` + `security` + `component: common` |
| 108 | + |
| 109 | +## Milestones |
| 110 | + |
| 111 | +Milestones are used to group issues and PRs into releases or development phases. |
| 112 | + |
| 113 | +### Current Milestones |
| 114 | + |
| 115 | +- **v1.0.0 - Initial Stable Release** - First production-ready release |
| 116 | +- **v0.10.0 - Beta Improvements** - Stability and performance focus |
| 117 | +- **v0.11.0 - Extended Language Support** - Multi-language support expansion |
| 118 | +- **v0.12.0 - Developer Experience** - Productivity features |
| 119 | +- **v0.13.0 - Collaboration Features** - Team collaboration tools |
| 120 | +- **Backlog** - Planned features not yet scheduled |
| 121 | +- **Community Contributions** - Issues suitable for external contributors |
| 122 | + |
| 123 | +### Using Milestones |
| 124 | + |
| 125 | +Issues should be assigned to milestones based on: |
| 126 | +1. When the feature/fix is planned to be released |
| 127 | +2. The priority and dependencies |
| 128 | +3. Available resources and timeline |
| 129 | + |
| 130 | +Issues without a milestone are typically in triage or not yet planned for a specific release. |
| 131 | + |
| 132 | +## Automated Label Syncing |
| 133 | + |
| 134 | +The repository uses a GitHub Actions workflow to automatically sync labels from `.github/labels.yml` to the repository. This ensures consistency and makes it easy to update labels across the project. |
| 135 | + |
| 136 | +The workflow runs: |
| 137 | +- When `.github/labels.yml` is modified and pushed to main |
| 138 | +- When manually triggered via workflow dispatch |
| 139 | + |
| 140 | +## Contributing |
| 141 | + |
| 142 | +When contributing to the project, please: |
| 143 | +1. Label your issues and PRs appropriately |
| 144 | +2. Check existing labels before creating new ones |
| 145 | +3. Suggest new labels via issue if needed |
| 146 | +4. Follow the labeling conventions described above |
| 147 | + |
| 148 | +For questions about labels or milestones, please open a discussion or issue with the `question` label. |
0 commit comments