Open rmspeers opened 11 months ago
@jelmer or anyone, do you have any suggestions? I'm not familiar with Git internals but am happy to try to add support if you have suggestions.
@rmspeers @jelmer Hello, just curious - did you happen to make any progress with bundles?
I've managed to create a bundle by generating a PackData
object and adding it to a dulwich bundle that I construct manually. I can then clone from that bundle using the CLI git, but I haven't yet found an ergonomic way to clone and pull from it in python using dulwich.
Yeah, that's currently the only way to do it. I'd be grateful for a PR if you wanted to improve the APIs around bundles
It appears that in the bundle.py, there is at least support for the file format, and packing seems to be well supported.
I do not see a way, however, to do 2 things:
git pull from a bundle. When I try to give the path as the remote, an exception propagates from down in client.py's _open_repo function.
create a bundle (
git bundle create
) from a repoCould anyone share ideas or tips?