Thanks for your interest in contributing to DBDiff! 🎉
Contributing Etiquette
Please see our Contributor Code of Conduct for information on our rules of conduct.
Creating an Issue
-
It is required that you clearly describe the steps necessary to reproduce the issue you are running into. Although we would love to help our users as much as possible, diagnosing issues without clear reproduction steps is extremely time-consuming and simply not sustainable.
-
The issue list of this repository is exclusively for bug reports and feature requests. Non-conforming issues will be closed immediately.
-
Issues with no clear steps to reproduce will not be triaged. If an issue is labeled with "needs: reply" and receives no further replies from the author of the issue for more than 30 days, it will be closed.
-
If you think you have found a bug, or have a new feature idea, please start by making sure it hasn't already been reported. You can search through existing issues to see if there is a similar one reported. Include closed issues as it may have been closed with a solution.
-
Next, create a new issue that thoroughly explains the problem. Please fill out the populated issue form before submitting the issue.
-
If you have a general suggestion please do not create an issue, instead fill in our 2 minute survey here: https://forms.gle/gjdJxZxdVsz7BRxg7. You're welcome to do this even if you've submitted an issue to us.
Creating a Pull Request
-
We appreciate you taking the time to contribute! Before submitting a pull request, we ask that you please create an issue that explains the bug or feature request and let us know that you plan on creating a pull request for it.
-
If an issue already exists, please comment on that issue letting us know you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort.
-
Looking for an issue to fix? Make sure to look through our issues with the help wanted label!
Setup
- Ensure you have PHPBrew and Composer installed.
- Fork this repository.
- Clone your fork.
- Create a new branch from master for your change.
- Run
composer installto install all the dependencies. - Get cracking on some code!
Submit Pull Request
- Create a new pull request with the
masterbranch as thebase. You may need to click oncompare across forksto find your changes. - See the Creating a pull request from a fork GitHub help article for more information.
- Please fill out the provided Pull Request template to the best of your ability and include any issues that are related.
Commit Message Format
We have very precise rules over how our git commit messages should be formatted. This leads to readable messages that are easy to follow when looking through the project history.
Going forward, we will also be using the git commit messages to generate our changelog. (It's basically Angular's commit message format).
type(scope): subject
Type
Must be one of the following:
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests
- chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
Scope
The scope can be anything specifying place of the commit change. For example action-sheet, button, menu, nav, etc. If you make multiple commits for the same component, please keep the naming of this component consistent. For example, if you make a change to navigation and the first commit is fix(nav), you should continue to use nav for any more commits related to navigation.
Subject
The subject contains succinct description of the change:
- use the imperative, present tense: "change" not "changed" nor "changes"
- do not capitalize first letter
- do not place a period
.at the end - entire length of the commit message must not go over 50 characters
- describe what the commit does, not what issue it relates to or fixes
- be brief, yet descriptive - we should have a good understanding of what the commit does by reading the subject
License
By contributing your code to the dbdiff/dbdiff GitHub Repository, you agree to license your contribution under the MIT license.