git-remote-bzr
git-remote-bzr copied to clipboard
port from bzr to breezy
Forwarding https://bugs.debian.org/923096
Canonical has mostly abandoned bzr and a new fork called breezy has replaced it. Please port git-remote-bzr to breezy so that distros that have transitioned to breezy can include git-remote-bzr.
I tried some of this, but it doesn't work. For starters Breezy is in python3, so I had to port the code, and once I attempted that the code internally is nothing like Bazaar, so doing something like import breezy.generate_ids doesn't work.
It seems a lot of code would be needed.
@jelmer mentioned on the #breezy IRC channel that most of the changes are to the lower layers of the API. In particular breezy.generate_ids has moved to breezy.bzr.generate_ids so that is why my patch has import breezy as bzrlib. IIRC the version of Breezy that I tried it on still supported Python 2 and the patch at least allowed the imports to work.
I don't see a straightforward way to do this, but I would be open to this.
Do you have a patch that make at least a simple clone possible?
PS: Breezy itself has a git-remote-bzr script but it is not very compatible with this version and it is not as good as this version.
-- bye, pabs
https://bonedaddy.net/pabs3/
I have a breezy branch in my fork of git-remote-bzr. I don't remember if it fully works with a version of breezy that supports Python 2 but I expect that it will require more commits than the one that I made.
-- bye, pabs
https://bonedaddy.net/pabs3/
I did some more porting to the Python 2 version of breezy, but the port isn't yet complete.