2016-12-24 13:52:00 +00:00
# Contributing
`docker-mailserver` is OpenSource. That means that you can contribute on enhancements, bug fixing or improving the documentation in the Wiki.
## Open an issue
When opening an issue, please provide details use case to let the community reproduce your problem.
Please start the mail server with env `DMS_DEBUG=1` and paste the ouput into the issue.
## Pull Requests
#### Project architecture
├── config # User: personal configurations
├── target # Developer: default server configuration, used when building the image
└── test # Developer: integration tests to check that everything keeps working
2017-01-19 12:31:04 +00:00
#### Submit a Pull-Request
You want to add a feature? Feel free to start creating an issue explaining what you want to do and how you're thinking doing it. Other users may have the same need and collaboration may lead to better results.
2016-12-24 13:52:00 +00:00
The development workflow is the following:
- Fork project and clone your fork
- Create a branch using `git checkout -b branch_name` (you can use `issue-xxx` if fixing an existing issue)
2017-04-17 16:30:04 +00:00
- Run `git submodule init` and `git submodule update` to get the BATS submodules
2016-12-24 13:52:00 +00:00
- Code :-)
- Add integration tests in `test/tests.bats`
2019-10-18 12:42:00 +00:00
- Use `make clean all` to build image locally and run tests
2019-07-23 14:12:12 +00:00
Note that tests work on Linux only; they hang on Mac and Windows.
2017-01-19 12:31:04 +00:00
- Document your improvements in `README.md` or Wiki depending on content
2016-12-24 13:52:00 +00:00
- [Commit ](https://help.github.com/articles/closing-issues-via-commit-messages/ ), push and make a pull-request
- Pull-request is automatically tested on Travis
2017-01-19 12:31:04 +00:00
- When tests are green, a review may be done
- When changed are validated, your branch is merged into `master`
2016-12-24 13:52:00 +00:00
- `master` is automatically tested on Travis
- Docker builds a new `latest` image