Contributing to podman-api isn't limited to just filing bugs, users are more than welcomed to make suggestions, report any issue they may find, and make pull requests to help make podman-api better.
- The rust toolchain
- Git
- Fork a copy of our repo
- Open up Git in an environment of your choice
- Run the following
$ git clone https://github.com/vv9k/podman-api-rs.git
$ cd podman-api
- open an issue describing the feature/bug you wish to contribute first to start a discussion, explain why, what and how
- use rustfmt, see below how to configure
- try to write tests covering code you produce as much as possible, especially critical code branches
- update the CHANGELOG with any breaking changes or fixes/additions
Before submitting code in a PR, make sure that you have formatted the codebase
using [rustfmt][rustfmt]. rustfmt
is a tool for formatting Rust code, which
helps keep style consistent across the project. If you have not used rustfmt
before, it is not too difficult.
If you have not already configured rustfmt
for the
nightly toolchain, it can be done using the following steps:
1. Add the rustfmt component
Install the most recent version of rustfmt
using this command:
$ rustup component add rustfmt
3. Running rustfmt
To run rustfmt
, use this command:
$ cargo fmt
After you've forked and cloned our repo, you can find issues to work on by heading over to our issues list