Commit Graph
844 Commits
Author SHA1 Message Date
Erik Kundt 954d7bfbea chore: Move to local release builds
Introduce a new local build system based on `cargo zigbuild`. It's
a generalized version of the heartwood build system, which aims to be
moved into its own repository at some point.
2025-11-27 13:39:29 +01:00
Erik Kundt ee20b956ad chore: Update radicle dependencies 2025-11-06 00:12:44 +01:00
Erik Kundt 24268953ff chore: Remove vscode config 2025-11-05 23:01:45 +01:00
Erik Kundt 8d9f10f6d8 Fix clippy warnings 2025-09-01 14:37:27 +02:00
Erik Kundt 981056ced9 bin/ui: Fix cargo fmt check 2025-09-01 14:30:39 +02:00
Erik Kundt 7c7c5278a6 Update dependencies 2025-09-01 14:27:14 +02:00
Erik Kundt 80d2aa5b03 Fix clippy warnings
This makes clippy happy by inlining format strings and simpliying some
if-statements.
2025-09-01 13:55:26 +02:00
Erik Kundt 1fbed3ee79 Use TOML format for toolchain and bump to 1.88 2025-09-01 12:24:39 +02:00
Erik Kundt f0a47ac5b5 bin: Improve thiserror usage 2025-09-01 11:37:05 +02:00
Erik Kundt b4dd057f45 bin: Rewrite CLI tests to not require a binary
Before this patch, CLI tests required a successful debug build of
`rad-tui`. This rewrites the tests such that they still do what they did
before: testing argument processing. But without relying on a binary.
2025-08-28 11:18:19 +02:00
Erik Kundt 86e34ac2b4 bin: Disable all CLI tests
In light of `cargo test` depending on `rad-tui` being built successfully,
the tests that use them, are ignored for now.
2025-08-22 10:48:53 +02:00
Erik Kundt ccfeba3027 ci: Add Ambient adapter 2025-08-22 10:09:19 +02:00
Erik Kundt af385a1455 ci: Add native Radicle CI adapter 2025-08-22 09:54:49 +02:00
Matthias Beyer 34990f2948 nix: Update flake input (rust-overlay)
Signed-off-by: Erik Kundt <erik@zirkular.io>
2025-08-21 17:14:05 +02:00
Matthias Beyer 4de9a30bf3 nix: Update flake input (crane)
Signed-off-by: Erik Kundt <erik@zirkular.io>
2025-08-21 17:13:57 +02:00
Matthias Beyer bd41f58d06 nix: Update flake input (nixpkgs: 24.05 -> 25.05)
Signed-off-by: Erik Kundt <erik@zirkular.io>
2025-08-21 17:13:21 +02:00
Matthias Beyer 7a1ba8595a bin: Improve error handling
This patch replaces `anyhow::Error` in the programs' entry functions with proper
error types. This makes the semantics around errors that occur when forwarding
commands to `rad` more clear.

Signed-off-by: Erik Kundt <erik@zirkular.io>
2025-08-21 17:09:44 +02:00
Erik Kundt a2de36ddfb chore: Fix clippy warnings w/ 1.85.1 2025-07-29 11:06:50 +02:00
Erik Kundt 2057d49a96 chore: Update to radicle 0.16.1 2025-07-29 10:52:37 +02:00
Erik Kundt 227bd3b15b feat(bin): Use message for empty tables 2025-04-14 16:56:43 +02:00
Erik Kundt 7a248a687d feat(lib): Make empty message in tables optional 2025-04-14 16:55:06 +02:00
Erik Kundt 5b44b2f873 feat(patch): Introduce review mode (edit/show) 2025-04-07 12:07:54 +02:00
Erik Kundt 9411ee31f8 feat(lib): Add support for popups 2025-03-05 10:13:44 +01:00
Erik Kundt dcc51b96a9 feat(patch): Adds review action to list interface 2025-02-28 17:53:54 +01:00
Erik Kundt 9aa7fb2044 refactor(bin): Introduce type for diff line ranges 2025-02-28 16:57:08 +01:00
Erik Kundt 5efcde8210 fix(bin): Fix hunk comments 2025-02-28 15:59:50 +01:00
Erik Kundt 41f9ef1916 refactor(bin): Small code move 2025-02-28 15:39:57 +01:00
Erik Kundt 6a6503c1c6 feat(lib): Add location to line merger 2025-02-28 15:39:24 +01:00
Erik Kundt 64a5d7aa45 feat(bin): Hunk diffs can return their path 2025-02-28 15:38:13 +01:00
Erik Kundt c5930ad483 fix(patch): Fix review performance 2025-02-13 12:32:46 +01:00
Erik Kundt 6c45510339 feat(patch): (De)serialize review state 2025-02-13 12:09:06 +01:00
Erik Kundt 16ff1380a8 feat(bin): Stateful hunk items can be updated 2025-02-13 12:02:47 +01:00
Erik Kundt de547fa54d feat(patch): Reactivates review operation 2025-02-12 11:49:56 +01:00
Erik Kundt 335458de8b feat(patch): Allows review tui to return optional action 2025-02-12 11:49:56 +01:00
Erik Kundt 3ab0da05d5 feat(bin): Add state (de)serialization module 2025-02-12 11:49:54 +01:00
Erik Kundt 6a2ee67303 feat(bin): Make git states (de)serializable 2025-02-11 16:07:49 +01:00
Erik Kundt 0108c738ee feat(lib): Make widget states (de)serializable 2025-02-11 16:07:49 +01:00
Erik Kundt 9af882222a refactor(patch): Improve review mode check 2025-02-11 16:07:49 +01:00
Erik Kundt 5bf495d04e refactor(patch): Return review app state 2025-02-11 16:07:49 +01:00
Erik Kundt 08f6f5d06b refactor(patch): Introduce review mode (create / resume) 2025-02-11 16:07:49 +01:00
Erik Kundt 147ea2d053 feat(patch): Remove hunk review brain 2025-02-11 16:07:49 +01:00
Erik Kundt b1fa36a560 refactor(bin): Simplify hunk diff item 2025-02-11 16:07:49 +01:00
Erik Kundt 39a00d763a refactor(patch): Move review item state to app state 2025-02-11 16:07:37 +01:00
Erik Kundt 0bed5e1ccf refactor(bin): Improve hunk item state 2025-02-11 16:07:19 +01:00
Erik Kundt 884daeed6d refactor(patch): Factor out review app state 2025-02-11 16:07:12 +01:00
Erik Kundt 6b9e82e350 ci(bin): Fix clippy warning 2025-02-11 11:07:30 +01:00
Erik Kundt 54a643b0f0 bin: Show (local) help on empty command 2025-01-29 17:04:12 +01:00
Erik Kundt 9f12c98180 bin: rad can be called with a command 2025-01-29 17:03:21 +01:00
Erik Kundt 2d4a06d9fa feat(bin): Quit on 'q' across all commands 2025-01-29 13:33:10 +01:00
Erik Kundt 0e7579b783 Update change log to 0.6.0 2025-01-29 13:08:39 +01:00