Han Xu
cd9132c377
radicle-surf: an updated design
...
- A new design document.
- Uses examples/diff.rs to test out some ideas.
- Removes the type Browser.
- Removes the type Snapshot.
2022-10-04 22:01:12 -07:00
Han Xu
0c941740c8
radicle-surf: test structure compliance.
...
The test structure should be that all tests are gathered under a 't'
sub-crate, followed by the 'test' crate depending on this new crate.
2022-09-29 09:37:54 -07:00
Han Xu
a111d26047
radicle-surf: convert git2::Oid to radicle_git_ext::Oid
...
The radicle_git_ext::Oid type has better trait implementations and
should be favoured instead of git2::Oid.
2022-09-26 09:35:49 -07:00
Fintan Halpenny
32902d0174
nix: rust-1.64
...
rust-1.64 was announced[0].
Update the nix sources to pick up the latest stable. This update
requires some fixes suggested by clippy.
[0]: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html
Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com >
2022-09-23 08:45:15 +01:00
Fintan Halpenny
2ba997727d
Merge remote-tracking branch 'han/merge-source'
...
* han/merge-source:
fix CI errors on main branch
merge radicle-source into radicle-surf
2022-09-22 08:33:52 +01:00
Han Xu
eb1653cdb7
merge radicle-source into radicle-surf
...
Initially, radicle-source was envisioned to be another layer on top
of radicle-surf, however, it ended up duplicating a lot of concepts.
We consolidate them by merging radicle-source into radicle-surf.
This meant removing modules branch.rs, tag.rs, oid.rs and error.rs.
2022-09-21 17:07:06 -07:00
Sebastian Martinez
a11bedacaa
git-types: Add stats method to diff::Diff
...
The information on how many line insertions and deletions happened in a
diff, as well as files changed is something that is used multiple times
downstream, so it makes the code terser by implementing this
function here.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-20 15:59:26 +02:00
Sebastian Martinez
ff97333d0a
Serialize instances for Commit BranchType BranchName and Branch
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-19 15:40:23 +02:00
Han Xu
58d69ebf7f
copy radicle-surf and radicle-source into this repo.
...
Signed-off-by: Han Xu <keepsimple@gmail.com >
2022-09-16 22:17:49 -07:00