-
Notifications
You must be signed in to change notification settings - Fork 879
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1244 from getsops/update-docs
Update various bits of documentation
- Loading branch information
Showing
3 changed files
with
56 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
# Contributing to SOPS | ||
|
||
Mozilla welcomes contributions from everyone. Here are a few guidelines and instructions if you're thinking of helping with the development of SOPS. | ||
The SOPS project welcomes contributions from everyone. Here are a few guidelines | ||
and instructions if you are thinking of helping with the development of SOPS. | ||
|
||
# Getting started | ||
|
||
* Make sure you have Go 1.12 or greater installed. You can find information on how to install Go [here](https://golang.org/dl/) | ||
* After following the [Go installation guide](https://golang.org/doc/install), run `go get github.com/getsops/sops/v3`. This will automatically clone this repository. | ||
* Switch into sops's directory, which will be in `$GOPATH/src/github.com/getsops/sops/v3`. | ||
* Run the tests with `make test`. They should all pass. | ||
* Fork the project on GitHub. | ||
* Add your fork to git's remotes: | ||
* If you use SSH authentication: `git remote add <your username> [email protected]:<your username>/sops.git`. | ||
* Otherwise: `git remote add <your username> https://github.com/<your username>/sops.git`. | ||
* **Switch to the `develop` branch: `git checkout develop`** | ||
* Make any changes you want to sops, commit them, and push them to your fork. | ||
* **Create a pull request against `develop`**, and a contributor will come by and review your code. They may ask for some changes, and hopefully your contribution will be merged to the `develop` branch! | ||
- Make sure you have Go 1.19 or greater installed. You can find information on | ||
how to install Go [here](https://go.dev/doc/install) | ||
- Clone the Git repository and switch into SOPS's directory. | ||
- Run the tests with `make test`. They should all pass. | ||
- Fork the project on GitHub. | ||
- Add your fork to Git's remotes: | ||
+ If you use SSH authentication: `git remote add <your username> [email protected]:<your username>/sops.git`. | ||
+ Otherwise: `git remote add <your username> https://github.com/<your username>/sops.git`. | ||
- Make any changes you want to SOPS, commit them, and push them to your fork. | ||
- **Create a pull request against `main`**, and a maintainer will come by and | ||
review your code. They may ask for some changes, and hopefully your | ||
contribution will be merged! | ||
|
||
# Guidelines | ||
|
||
* Unless it's particularly hard, changes that fix a bug should have a regression test to make sure that the bug is not introduced again. | ||
* New features and changes to existing features should be documented, and, if possible, tested. | ||
- Unless it's particularly hard, changes that fix a bug should have a regression | ||
test to make sure that the bug is not introduced again. | ||
- New features and changes to existing features should be documented, and, if | ||
possible, tested. | ||
|
||
# Communication | ||
|
||
If you need any help contributing to sops, several contributors are on the `#go` channel on [Mozilla's IRC server](https://wiki.mozilla.org/IRC). | ||
If you need any help contributing to SOPS, several maintainers are on the | ||
[`#sops-dev` channel](https://cloud-native.slack.com/archives/C059800AJBT) on | ||
the [CNCF Slack](https://slack.cncf.io). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.