Skip to content

Commit 57cd371

Browse files
committed
https://github.com/haxtheweb/issues/issues/2099
1 parent cdc4f2c commit 57cd371

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1053
-79
lines changed

CONTRIBUTING.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Contributing
2+
3+
- [Communication](#communication)
4+
- [GitHub workflow](#github-workflow)
5+
- [Open a Pull Request](#opening-a-pull-request)
6+
- [Code Review](#code-review)
7+
- [Best Practices](#best-practices)
8+
- [Testing](#testing)
9+
- [Security](#security)
10+
11+
HAX is open source, but many of the people working on it do so as their day job.
12+
In order to avoid forcing people to be "at work" effectively 24/7, we want to establish some semi-formal protocols around development.
13+
Hopefully, these rules make things go more smoothly.
14+
15+
As a potential contributor, your changes and ideas are welcome at any hour of the day or night, weekdays, weekends, and holidays.
16+
Please do not ever hesitate to ask a question or send a pull request.
17+
18+
Beginner focused information can be found below in [Open a Pull Request](#opening-a-pull-request) and [Code Review](#code-review).
19+
20+
### Communication
21+
22+
Reporting issues? Our unified issue queue is a good place for this: https://github.com/haxtheweb/issues/issues
23+
Need to discuss something via chat? Our [Discord can be joined here](https://bit.ly/hax-discord).
24+
25+
## GitHub workflow
26+
27+
We work primarily using pull requests and forks. In order to work most effectively, we ask that you FORK any project you are wanting to contribute to in our ecosystem. After taking a fork, submit a pull request while pointing to the associated issue tied to this pull request.
28+
29+
## Opening a Pull Request
30+
31+
Pull requests are often called a "PR".
32+
HAX generally follows the standard [github pull request](https://help.github.com/articles/about-pull-requests/) process.
33+
34+
Common new contributor PR issues are:
35+
- Not referencing the issue that the PR resolves
36+
- Not describing the scope of the solution effectively
37+
- Include mentions (like @person) and [keywords](https://help.github.com/en/articles/closing-issues-using-keywords) which could close the issue (like fixes #xxxx) in commit messages.
38+
39+
## Code Review
40+
41+
To make it easier for your PR to receive reviews, consider the reviewers will need you to:
42+
43+
- Write [good commit messages](https://chris.beams.io/posts/git-commit/)
44+
- Break large changes into a logical series of smaller patches which individually make easily understandable changes, and in aggregate solve a broader issue
45+
46+
When reviewing PRs from others [The Gentle Art of Patch Review](http://sage.thesharps.us/2014/09/01/the-gentle-art-of-patch-review/) suggests an iterative series of focuses which is designed to lead new contributors to positive collaboration without inundating them initially with nuances:
47+
48+
- Is the idea behind the contribution sound?
49+
- Is the contribution architected correctly?
50+
- Is the contribution polished?
51+
52+
Note: if your pull request isn't getting enough attention, you can use our [Discord channel](https://bit.ly/hax-discord) to get help finding reviewers.
53+
54+
## Best practices
55+
56+
- Write clear and meaningful git commit messages.
57+
- If the PR will *completely* fix a specific issue, include `fixes #123` in the PR body (where 123 is the specific issue number the PR will fix. This will automatically close the issue when the PR is merged.
58+
- Make sure you don't include `@mentions` or `fixes` keywords in your git commit messages. These should be included in the PR body instead.
59+
- When you make a PR for small change (such as fixing a typo, style change, or grammar fix), please squash your commits so that we can maintain a cleaner git history.
60+
- Make sure you include a clear and detailed PR description explaining the reasons for the changes, and ensuring there is sufficient information for the reviewer to understand your PR.
61+
- Additional Readings:
62+
- [chris.beams.io/posts/git-commit/](https://chris.beams.io/posts/git-commit/)
63+
- [github.com/blog/1506-closing-issues-via-pull-requests ](https://github.com/blog/1506-closing-issues-via-pull-requests)
64+
- [davidwalsh.name/squash-commits-git ](https://davidwalsh.name/squash-commits-git)
65+
- [https://mtlynch.io/code-review-love/](https://mtlynch.io/code-review-love/)
66+
67+
## Testing
68+
69+
Unit tests are ideal but not required to be written for proposed changes and enhancements.
70+
71+
## Security
72+
73+
If you discover what you deem to be a critical security issue please reach out on our Discord channel privately to discuss whether this should be resolved in the open prior or if disclosure should happen after a solution has been crafted.

app/unbundled-webcomponents/app/dist/build/es6/node_modules/@haxtheweb/code-editor/code-editor.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/unbundled-webcomponents/app/dist/build/es6/node_modules/@haxtheweb/code-editor/lib/code-pen-button.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)