radicle-heartwood-lfs/crates
Fintan Halpenny c0ac228c37 radicle: introduce COB stream
Introduce a new `stream` module to `radicle::cob`. The purpose of this module is
to provide an API for iterating over a COB's operations, given a range of
commits.

The `CobStream` trait provides the generic API for implementing and using, while
`Stream` provides a concrete implementation using the `git2` crate.

The approach is to use a `git2::Revwalk` for walking over each commit in the
range, then loading the `Op` for that commit – skipping any commits that are
unrelated to that COB type, in the case of associated COBs.

The `Stream` is tested using some properties of the API.

The next steps are to introduce specialised types for `Patch` and `Issue` to
ensure that it works for those.
2025-08-19 14:49:51 +01:00
..
radicle radicle: introduce COB stream 2025-08-19 14:49:51 +01:00
radicle-cli cli/inbox: Clearify "clear" behaviour 2025-08-19 12:46:07 +01:00
radicle-cli-test fix: upgrade radicle-crypto 2025-08-13 09:20:42 +01:00
radicle-cob cob: add method for loading entry manifest 2025-08-19 14:27:35 +01:00
radicle-crypto fix: upgrade radicle-crypto 2025-08-13 09:20:42 +01:00
radicle-dag repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
radicle-fetch fix: upgrade radicle-crypto 2025-08-13 09:20:42 +01:00
radicle-node radicle/config/node: Use newtypes 2025-08-19 13:16:19 +02:00
radicle-protocol radicle/config/node: Use newtypes 2025-08-19 13:16:19 +02:00
radicle-remote-helper term, cli, remote-helper: Status Symbols 2025-08-13 13:45:21 +01:00
radicle-schemars fix: upgrade radicle-crypto 2025-08-13 09:20:42 +01:00
radicle-signals repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
radicle-ssh release: prepare crates 2025-08-12 12:13:49 +02:00
radicle-systemd release: prepare crates 2025-08-12 12:13:49 +02:00
radicle-term refactor: Replace return Err(anyhow!()) with anyhow::bail!() 2025-08-17 20:17:11 +02:00