Discuss it in an issue.
We work on two branches: master
for stable, released code and next
, a development branch. It might be important to distinguish them when you are reading the commit history searching for a feature or a bugfix, or when you are unsure of where to base your work from when contributing.
We would like to hear about it. Please submit an issue on GitHub and we will follow up. Even better, we would appreciate a Pull Request with a fix for it!
- If the bug was found in a release, it is best to base your work on
master
and submit your PR against it. - If the bug was found on
next
(the development branch), base your work onnext
and submit your PR against it.
Please follow the Pull Request Guidelines.
Feel free to request a feature by submitting an issue on GitHub and open the discussion.
If you'd like to implement a new feature, please consider opening an issue first to talk about it. It may be that somebody is already working on it, or that there are particular issues that you should be aware of before implementing the change. If you are about to open a Pull Request, please make sure to follow the submissions guidelines.
Before you submit an issue, search the archive, maybe you will find that a similar one already exists.
If you are submitting an issue for a bug, please include the following:
- An overview of the issue
- Your use case (why is this a bug for you?)
- The version of pow you are using
- Steps to reproduce the issue
- Ideally, a suggested fix
The more information you give us, the more able to help we will be!
-
First of all, make sure to base your work on the
next
branch (the development branch):# a bugfix branch for next would be prefixed by fix/ # a bugfix branch for master would be prefixed by hotfix/ $ git checkout -b feature/my-feature next
-
Please create commits containing related changes. For example, two different bugfixes should produce two separate commits. A feature should be made of commits splitted by logical chunks (no half-done changes). Use your best judgement as to how many commits your changes require.
-
Write insightful and descriptive commit messages. It lets us and future contributors quickly understand your changes without having to read your changes. Please provide a summary in the first line (50-72 characters) and eventually, go to greater lengths in your message's body. We also like commit message with a type and scope. We generally follow the Angular commit message format.
-
Rebase your commits. It may be that new commits have been introduced on
next
. Rebasing will update your branch with the most recent code and make your changes easier to review:$ git fetch $ git rebase origin/next
-
Push your changes:
$ git push origin -u feature/my-feature
-
Open a pull request against the
next
branch. -
If we suggest changes:
-
Please make the required updates (after discussion if any)
-
Only create new commits if it makes sense. Generally, you will want to amend your latest commit or rebase your branch after the new changes:
$ git rebase -i next # choose which commits to edit and perform the updates
-
Force push to your branch:
$ git push origin feature/my-feature -f
-
We are eager to see your contribution!