> It uses dulwich under the hood, and it implements the basics of the remote
> helper protocol. It doesn't support the "connect" command today, though,
> although that's optional.
>
> In order to implement the "connect" command as well, you'd probably want to
> invoke/refactor some of the functionality in dulwich.client. I'd suggest
> starting without "connect" though, since that command is optional and it'll
> probably be the most complicated one to implement.
I'd really like to keep the option open of going the full mile and
implementing "connect", which supersedes and is preferred by git to
most of the commands. Why do you mention dulwich.client ? It seems
like the needed workings are in dulwich.repo ?
I'm kind of maybe inferring it could make sense to factor out the
concept of "storage backend" with http and filesystem providers. Then
a user could implement other providers to make protocol servers that
work with other systems.
I do somewhat see that the other commands are sufficient functionality
and much simpler to implement. Hadn't thought of that.