Contributing
tsoqna is maintained by a handful of people in their spare time. Bug reports, small fixes and documentation improvements are the most useful things you can send.
Reporting a bug#
Please include:
- the output of
tsoqna --version; - the exact command you ran, and your config if you use one (
tsoqna config show --origin); - for a file that is read wrongly,
tsoqna inspect --raw FILE.
Please do not attach personal photos. The inspect --raw output is almost always enough. If we really need a sample file, we will ask you to make one with tsoqna fixture FILE, which copies the metadata into a tiny blank image.
Building from source#
cargo build
cargo test
cargo run -- inspect tests/fixtures/heic/offset-plus-two.heic
The test suite runs against a few hundred synthetic fixture files, each only a few kilobytes, generated by scripts/make-fixtures. When you fix a bug in metadata parsing, please add a fixture that reproduces it.
Making a change#
- Keep patches small and focused. One fix per change is much easier to review than five.
- Run
cargo fmtandcargo clippy --all-targetsbefore sending. - Add a line under Unreleased in
CHANGELOG.mdif users would notice the change. - Anything that moves or renames files needs a test that runs it with
--dry-runand for real, and checks thatundorestores the original state.
Where to send patches#
The source repository is being moved to new hosting, and a public mirror is coming soon. Until then, send patches made with git format-patch, or just a description of the problem, to hello@tsoqna.com. Every message gets a reply, although it may take a few days.
Documentation#
These pages are plain HTML kept alongside the code. Typos, unclear explanations and missing recipes are all welcome — you do not need to know any Rust to help there.
Conduct#
Be kind and assume good faith. Maintainers will remove comments or contributions that are hostile, and will not engage in arguments about it.