You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
``minio-go`` welcomes your contribution. To make the process as seamless as possible, we ask for the following:
3
+
`minio-go` welcomes your contribution. To make the process as seamless as possible, we ask for the following:
4
4
5
-
* Go ahead and fork the project and make your changes. We encourage pull requests to discuss code changes.
6
-
- Fork it
7
-
- Create your feature branch (git checkout -b my-new-feature)
8
-
- Commit your changes (git commit -am 'Add some feature')
9
-
- Push to the branch (git push origin my-new-feature)
10
-
- Create new Pull Request
5
+
- Go ahead and fork the project and make your changes. We encourage pull requests to discuss code changes.
11
6
12
-
* When you're ready to create a pull request, be sure to:
13
-
- Have test cases for the new code. If you have questions about how to do it, please ask in your pull request.
14
-
- Run `go fmt`
15
-
- Squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
16
-
- Make sure `go test -race ./...` and `go build` completes.
17
-
NOTE: go test runs functional tests and requires you to have a AWS S3 account. Set them as environment variables
18
-
``ACCESS_KEY`` and ``SECRET_KEY``. To run shorter version of the tests please use ``go test -short -race ./...``
7
+
- Fork it
8
+
- Create your feature branch (git checkout -b my-new-feature)
9
+
- Commit your changes (git commit -am 'Add some feature')
10
+
- Push to the branch (git push origin my-new-feature)
11
+
- Create new Pull Request
19
12
20
-
* Read [Effective Go](https://github.com/golang/go/wiki/CodeReviewComments) article from Golang project
21
-
-`minio-go` project is strictly conformant with Golang style
22
-
- if you happen to observe offending code, please feel free to send a pull request
13
+
- When you're ready to create a pull request, be sure to:
14
+
15
+
- Have test cases for the new code. If you have questions about how to do it, please ask in your pull request.
16
+
- Run `go fmt`
17
+
- Squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
18
+
- Make sure `go test -race ./...` and `go build` completes. NOTE: go test runs functional tests and requires you to have a AWS S3 account. Set them as environment variables`ACCESS_KEY` and `SECRET_KEY`. To run shorter version of the tests please use `go test -short -race ./...`
19
+
20
+
- Read [Effective Go](https://github.com/golang/go/wiki/CodeReviewComments) article from Golang project
21
+
22
+
- `minio-go` project is strictly conformant with Golang style
23
+
- if you happen to observe offending code, please feel free to send a pull request
Please go through this link [Maintainer Responsibility](https://gist.github.com/abperiasamy/f4d9b31d3186bbd26522)
6
8
7
9
### Making new releases
10
+
8
11
Tag and sign your release commit, additionally this step requires you to have access to MinIO's trusted private key.
12
+
9
13
```sh
10
14
$ export GNUPGHOME=/media/${USER}/minio/trusted
11
15
$ git tag -s 4.0.0
@@ -14,6 +18,7 @@ $ git push --tags
14
18
```
15
19
16
20
### Update version
21
+
17
22
Once release has been made update `libraryVersion` constant in `api.go` to next to be released version.
18
23
19
24
```sh
@@ -22,14 +27,17 @@ $ grep libraryVersion api.go
22
27
```
23
28
24
29
Commit your changes
30
+
25
31
```
26
32
$ git commit -a -m "Update version for next release" --author "MinIO Trusted <[email protected]>"
27
33
```
28
34
29
35
### Announce
36
+
30
37
Announce new release by adding release notes at https://github.com/minio/minio-go/releases from `[email protected]` account. Release notes requires two sections `highlights` and `changelog`. Highlights is a bulleted list of salient features in this release and Changelog contains list of all commits since the last release.
0 commit comments