radicle-heartwood-lfs/radicle-cli
Fintan Halpenny 0fb1128bd3
cli: rework `rad rm` as `rad clean`
Removing a repository completely can result in data corruption for
users, since a user's `rad/sigrefs` are the ground truth of their
state, and any fork of them results in errors in the protocol.

Instead of `rad rm`, we replace it with `rad clean` that removes all
remotes other than the local peer's namespace and the delegates'. The
delegates are also necessary to keep, since the repository's identity
is dependent on them.

Note that the remotes that were cleaned will be populated again upon
fetching, as long as they are tracked.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-11-24 10:48:06 +00:00
..
examples cli: rework `rad rm` as `rad clean` 2023-11-24 10:48:06 +00:00
src cli: rework `rad rm` as `rad clean` 2023-11-24 10:48:06 +00:00
tests cli: rework `rad rm` as `rad clean` 2023-11-24 10:48:06 +00:00
Cargo.toml Move `rad-web` binary to `radicle-httpd` package 2023-11-22 11:27:11 +01:00