qownnotes-tui is a Rust 2024 terminal application for browsing and editing
QOwnNotes-compatible note folders. Rust 1.89 is the minimum supported version.
- Use
just buildto build a debug binary. - Use
just testto run all tests. - Use
just checkbefore submitting changes; it checks formatting, runs Clippy with warnings denied, and runs all tests. - Use
just nix-buildbefore submitting changes to verify that the application builds from the Git-filtered Nix source. - Use
just flake-checkwhen changing Nix configuration. - Keep changes focused and follow the existing Rust and Ratatui patterns.
Update CHANGELOG.md for every notable change. Add concise entries under an
[Unreleased] section using the Keep a Changelog categories (Added, Changed,
Deprecated, Removed, Fixed, or Security). Documentation-only,
formatting-only, and internal refactoring changes do not need an entry unless
they affect users or contributors.
This project follows Semantic Versioning. To bump the version:
- Update the package version in
Cargo.toml. - Update the root package version in
Cargo.lockby runningcargo check --lockedafter changingCargo.toml. If the lock file needs an update, runcargo check, then verify withcargo check --locked. - Update the package version in
flake.nix. - Move the relevant entries from
[Unreleased]into a dated## [X.Y.Z] - YYYY-MM-DDsection inCHANGELOG.md. - Update the comparison links at the bottom of
CHANGELOG.md: point[Unreleased]fromvX.Y.ZtoHEADand add the new release comparison link. - Run
just check,just nix-build, andjust flake-check.
The release workflow reads the version from Cargo metadata, creates the
corresponding vX.Y.Z tag, and extracts release notes from the matching
CHANGELOG.md section. The Cargo version and changelog heading must therefore
match exactly.