We would love for you to contribute to Cohesity PowerShell Module and help make it even better than it is today! As a contributor, here are the guidelines we would like you to follow:
- Code of Conduct
- Bug Report
- Documentation
- Feature Requests
- Request more examples
- Submission Guidelines
- Contributions Under Repository License
Help us keep Cohesity PowerShell Module open and inclusive. Please read and follow our Code of Conduct.
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.
If you find any discrepancies in our Documentation or you any awesome suggestions for us, report it to us by opening a new issue using the Documentation template provided in our GitHub repo.
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:
- For a Major Feature, first open an issue and outline your proposal so that it can be discussed. This will also allow us to better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
- Small Features can be crafted and directly submitted as a Pull Request.
Reach out to us here if you have any questions or if you want to request more examples and sample code. We would love to help you out!!
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. Having a minimal reproducible scenario gives us a wealth of important information without going back & forth to you with additional questions.
A minimal reproduction allows us to quickly confirm a bug (or point out a coding problem) as well as confirm that we are fixing the right problem.
You can file new issues here.
Before you submit your Pull Request (PR) consider the following guidelines:
-
Search GitHub for an open or closed PR that relates to your submission. You don't want to duplicate effort.
-
Be sure that an issue describes the problem you're fixing, or documents the design for the feature you'd like to add. Discussing the design up front helps to ensure that we're ready to accept your work.
-
Fork the
cohesity/cohesity-powershell-module
repo. -
Make your changes in a new git branch:
git checkout -b my-fix-branch master
-
Create your patch
-
Follow the Cmdlet Development Guidelines.
-
Commit your changes using a descriptive commit message
-
Push your branch to GitHub:
git push origin my-fix-branch
-
In GitHub, send a pull request to
cohesity-powershell-module:master
.
- If we suggest changes then:
-
Make the required updates.
-
Re-run the Cohesity PowerShell Module test suites to ensure tests are still passing.
-
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
Whenever you make a contribution to a repository containing notice of a license, you license your contribution under the same terms, and you agree that you have the right to license your contribution under those terms. If you have a separate agreement to license your contributions under different terms, such as a contributor license agreement, that agreement will supersede.
Isn't this just how it works already? Yep. This is widely accepted as the norm in the open-source community; it's commonly referred to by the shorthand "inbound=outbound". We're just making it explicit.
As contributors and maintainers of the Cohesity PowerShell Module project, we pledge to respect everyone who contributes by posting issues, updating documentation, submitting pull requests, providing feedback in comments, and any other activities.
Communication through any of Cohesity PowerShell Modules's channels (GitHub, mailing-list, Twitter, etc.) must be constructive and never resort to personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
We promise to extend courtesy and respect to everyone involved in this project regardless of gender, gender identity, sexual orientation, disability, age, race, ethnicity, religion, or level of experience. We expect anyone contributing to the Cohesity PowerShell Modules project to do the same.
If any member of the community violates this code of conduct, the maintainers of the Cohesity PowerShell Modules project may take action, removing issues, comments, and PRs or blocking accounts as deemed appropriate.
If you are subject to or witness unacceptable behavior, or have any other concerns, please email us at [email protected].