2015-09-04 18:59:51 +03:00
|
|
|
Contributing to dumb-init
|
|
|
|
========
|
|
|
|
|
|
|
|
`dumb-init` is primarily developed by [Yelp](https://yelp.github.io/), but
|
|
|
|
contributions are welcome from everyone!
|
|
|
|
|
|
|
|
Code is reviewed using GitHub pull requests. To make a contribution, you should:
|
|
|
|
|
|
|
|
1. Fork the GitHub repository
|
|
|
|
2. Push code to a branch on your fork
|
|
|
|
3. Create a pull request and wait for it to be reviewed
|
|
|
|
|
|
|
|
|
|
|
|
## Releasing new versions
|
|
|
|
|
|
|
|
`dumb-init` uses [semantic versioning](http://semver.org/). If you're making a
|
|
|
|
contribution, please don't bump the version number yourself—we'll take care
|
|
|
|
of that after merging!
|
|
|
|
|
|
|
|
The process to release a new version is:
|
|
|
|
|
2015-10-02 23:31:35 +03:00
|
|
|
1. Update the version in `VERSION`
|
2015-09-11 03:53:31 +03:00
|
|
|
2. Update the Debian changelog with `dch -v {new version}`.
|
2016-01-07 21:59:44 +03:00
|
|
|
3. Update the two `wget` urls in the README to point to the new version.
|
2015-09-18 21:23:26 +03:00
|
|
|
4. Commit the changes and tag the commit like `v1.0.0`.
|
|
|
|
5. `git push --tags origin master`
|
2016-01-07 22:24:46 +03:00
|
|
|
6. Run `make release`
|
|
|
|
7. Run `twine upload --skip-existing dist/*.tar.gz` to upload the new version
|
|
|
|
to PyPI
|
2016-01-07 21:59:44 +03:00
|
|
|
8. Run `make builddeb-docker` and upload the resulting Debian package and
|
2016-01-07 22:24:46 +03:00
|
|
|
binary (inside the `dist` directory) to a new [GitHub
|
|
|
|
release](https://github.com/Yelp/dumb-init/releases)
|