Open a new issue. Be sure to include a title and clear description, with as much relevant information as possible.
Fork the project on GitHub and check out your copy locally.
git clone [email protected]:username/guac-rs.git
cd guac-rs
git remote add upstream https://github.com/trustification/guac-rs.git
git remote set-url --push upstream DISABLED
Create a feature branch and start hacking:
git checkout -b my-contrib-branch
Writing good commit logs is important. A commit log should describe what changed and why.
Follow these guidelines when writing one:
- The first line should preferably be 50 characters or less and contain a short description of the change.
- Keep the second line blank.
- Wrap all other lines at 72 columns.
Example of commit message:
refactor: removes duplicated code
This change unifies the certify_good and certify_bad logic to promote
reuse and to avoid redundancy in tests.
The body of the commit message can be several paragraphs, and
please do proper word-wrap and keep columns shorter than about
72 characters or so. That way `git log` will show things
nicely even when it is indented.
Use git rebase
to sync your work from time to time.
git fetch upstream
git rebase upstream/main
Bug fixes and features should come with tests. Before submitting a pull request, ensure that your change will pass CI.
Open a terminal and run
docker compose -f example/compose/compose-guac.yaml up --wait --wait-timeout 30
Then run the tests
cargo test
git push origin my-contrib-branch
Go to https://github.com/yourusername/guac-rs and select your feature branch. Click the 'Pull Request' button and fill out the form.