-
-
Notifications
You must be signed in to change notification settings - Fork 397
Make gix-transport compile with all features #2241
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
Conversation
a336dfa to
564e885
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much, and sorry for the delay!
The most notable change that I did was the renaming of Outcome::from_lines…() to Handshake, which seemed like a better fit.
Now I don't know if this is a mistake because it introduced ambiguity elsewhere, but if you encounter it, I am sure you'd be most qualified to find better names.
|
|
||
| ## If set, blocking implementations of the typical git transports become available in `crate::client::blocking_io` | ||
| ## | ||
| ## If used in conjunction with an async implementation, this one takes precedence. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might also be something to double-check @djc, I hope it's correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the async and blocking implementations are fully parallel -- I don't remember seeing any code where either one is prioritized, and I don't intend to introduce any such code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I fixed that in the other PR which is about to merge.
The |
Yes, there are everywhere, and typically they really are nothing more than the outcome of some function. In the handshake case though, it made sense to name it, and in the other PR I also changed it, I think for the better. Please feel entitled to review these common names as well. |
Some miscellaneous stuff unrelated to transport implementations, and a bunch of stuff I missed because some async code was previously configured out if blocking code was enabled. Test that all features work in CI.