Skip to content

Commit 89cee2e

Browse files
committed
docs: clarify contribution policy and accepted pull requests
1 parent b12aac6 commit 89cee2e

3 files changed

Lines changed: 33 additions & 30 deletions

File tree

‎.github/PULL_REQUEST_TEMPLATE.md‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
### What kind of change does this PR introduce?
1+
## Contribution Scope
22

3-
> check at least one
3+
massCode accepts external pull requests only for localizations and new syntax highlighting languages. All other external pull requests will be closed.
44

5-
- [ ] Bugfix
6-
- [ ] Feature
7-
- [ ] Refactor
8-
- [ ] Other, please describe:
5+
- To report a bug, please [open an issue](https://github.com/massCodeIO/massCode/issues/new/choose).
6+
- For feature requests and ideas, please use [GitHub Discussions](https://github.com/massCodeIO/massCode/discussions).
97

10-
### Validations
8+
See our [contribution policy](https://github.com/massCodeIO/massCode/blob/master/CONTRIBUTING.md) for details.
119

12-
- [ ] Follow our [CONTRIBUTING](https://github.com/massCodeIO/massCode/blob/master/CONTRIBUTING.md) guide
10+
## Type of Change
11+
12+
- [ ] Add or improve localizations
13+
- [ ] Add a new syntax highlighting language
14+
15+
## Description
16+
17+
Describe what you changed and how you verified it.

‎CONTRIBUTING.md‎

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,26 @@
1-
Hey there! We are really excited that you are interested in contributing. Before submitting your contribution, please make sure to take a moment and read through the following guide:
2-
## Sending Pull Request
1+
# Contributing
32

4-
### Discuss First
3+
Thank you for your interest in massCode. The project accepts external pull requests only for localizations and new syntax highlighting languages. Development is maintained by the project author.
54

6-
Before you start to work on a feature pull request, it's always better to open a feature request issue first to [discuss](https://github.com/massCodeIO/massCode/discussions) with the maintainers whether the feature is desired and the design of those features. This would help save time for both the maintainers and the contributors and help features to be shipped faster.
5+
You can help by reporting bugs and sharing ideas through the channels below.
76

8-
For typo fixes, it's recommended to batch multiple typo fixes into one pull request to maintain a cleaner commit history.
7+
## Bug Reports
98

10-
### Commit Convention
9+
Please [open an issue](https://github.com/massCodeIO/massCode/issues/new/choose) for bugs. Search existing issues first to avoid duplicates, and include steps to reproduce the problem, your massCode version, and system information.
1110

12-
We use [Conventional Commits](https://www.conventionalcommits.org/) for commit messages, which allows the changelog to be auto-generated based on the commits. Please read the guide through if you aren't familiar with it already.
11+
## Feature Requests and Ideas
1312

14-
Only `fix:` and `feat:` will be presented in the changelog.
13+
Please use [GitHub Discussions](https://github.com/massCodeIO/massCode/discussions) for feature requests, ideas, and questions. Search existing discussions before starting a new one.
1514

16-
Note that `fix:` and `feat:` are for actual code changes (that might affect logic). For typo or document changes, use docs: or chore: instead:
15+
## Pull Requests
1716

18-
- ~~`fix: typo`~~ -> `docs: fix typo`
17+
External pull requests are welcome for:
1918

20-
### Pull Request
19+
- Adding or improving localizations.
20+
- Adding support for new syntax highlighting languages.
2121

22-
If you don't know how to send a Pull Request, we recommend reading the [guide](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request).
22+
Please keep your pull request focused on one of these areas. Use [Conventional Commits](https://www.conventionalcommits.org/) for commit messages and the pull request title.
2323

24-
When sending a pull request, make sure your PR's title also follows the Commit Convention.
24+
All other external pull requests will be closed. Please report bugs in Issues or share feature requests and ideas in Discussions instead.
2525

26-
If your PR fixes or resolves an existing issue, please add the following line in your PR description (replace 123 with a real issue number):
27-
28-
```
29-
fix #123
30-
```
31-
32-
It's ok to have multiple commits in a single PR, you don't need to rebase or force push for your changes as we will use Squash and Merge to squash the commits into one commit when merging.
33-
34-
And of course please test your code before PR.
26+
Please follow our [Code of Conduct](CODE_OF_CONDUCT.md) when participating in issues, discussions, and pull requests.

‎README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@ Your snippets, notes, and HTTP requests live as plain `.md` files on disk with f
211211

212212
Customize the app UI and editor syntax highlighting with JSON theme files. Supports light and dark themes with live reload. See the [theme docs](https://masscode.io/documentation/themes.html).
213213

214+
## Contributions
215+
216+
massCode accepts external pull requests only for localizations and new syntax highlighting languages. To report a bug, please [open an issue](https://github.com/massCodeIO/massCode/issues/new/choose). For feature requests and ideas, start a discussion in [GitHub Discussions](https://github.com/massCodeIO/massCode/discussions).
217+
218+
See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
219+
214220
## Build Locally
215221

216222
<details>

0 commit comments

Comments
 (0)