We would love for you to contribute to the Inclusive Web Project and help make it even better than it is today! As a contributor, here are the guidelines we would like you to follow:
Please read and follow our Code of Conduct.
As this project gets off the ground, we want to centralize questions and problems in our GitHub issue tracker. As the project grows, we may move questions to an alternative question/answer site, and will update this document accordingly.
If you would like to chat about the question in real-time, you can reach out via our slack channel.
If you find a bug in the source code, you can help us by submitting an issue to our GitHub Repository. Even better, you can submit a pull request with a fix!
You can request a new feature by submitting an issue to our GitHub Repository. If you would like to implement a new feature, please submit an issue with a proposal for your work first, to be sure that we can use it. Please consider what kind of change it is:
Before you submit an issue, please search the issue tracker, maybe an issue for your problem already exists and the discussion might inform you of workarounds readily available.
We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs, we will systematically ask you to provide a minimal reproduction scenario using glitch. Having a live, reproducible scenario gives us a wealth of important information without going back & forth to you with additional questions.
A minimal reproduce scenario using glitch allows us to quickly confirm a bug (or point out coding problem) as well as confirm that we are fixing the right problem.
Before you submit your Pull Request (PR) consider the following guidelines:
-
Fork the repo.
-
Make your changes in a new git branch:
git checkout -b my-fix-branch master
-
Create your patch, including appropriate test cases.
-
Commit your changes using a descriptive commit message that follows our commit message conventions. Adherence to these conventions is necessary because release notes are automatically generated from these messages.
git commit -a
Note: the optional commit
-a
command line option will automatically "add" and "rm" edited files. -
Push your branch to GitHub:
git push origin my-fix-branch
-
In GitHub, send a pull request to
inclusive-web-project:master
.
- If we suggest changes then:
-
Make the required updates.
-
Rebase your branch and force push to your GitHub repository (this will update your Pull Request):
git rebase master -i git push -f
-
That's it! Thank you for your contribution!
After your pull request is merged, you can safely delete your branch and pull the changes from the main (upstream) repository:
-
Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:
git push origin --delete my-fix-branch
-
Check out the master branch:
git checkout master -f
-
Delete the local branch:
git branch -D my-fix-branch
-
Update your master with the latest upstream version:
git pull --ff upstream master