Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: radicle-surf history #39

Closed
wants to merge 1 commit into from
Closed

WIP: radicle-surf history #39

wants to merge 1 commit into from

Conversation

FintanH
Copy link
Collaborator

@FintanH FintanH commented Oct 24, 2022

Based on the design document at #38, I decided to play around with the history formulation using a revwalk. It looks promising!

I wanted to see what the output would look like so I added a test that fails and run:
cargo test -p radicle-surf-test history

@FintanH FintanH marked this pull request as draft October 24, 2022 17:51
@FintanH FintanH requested a review from keepsimple1 October 24, 2022 17:51
Copy link
Contributor

@keepsimple1 keepsimple1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for sharing your ideas and code. I like your idea of defining History as an iterator (or produces an iterator for that matter). I felt we are on the same page at the high level. I made changes in my PR #37 with similar design, but also different in various aspects. I am OK with either moving forward using this PR or using my PR.

I will skip commenting on details here for now as the difference in my PR probably says things more clearly. I've also included an alternative design in the updated doc that might be worth considering as well. Thanks!

@FintanH FintanH closed this Nov 3, 2022
@FintanH FintanH deleted the surf-history branch November 3, 2022 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants