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

port from bzr to breezy #27

Open
pabs3 opened this issue Sep 2, 2019 · 6 comments
Open

port from bzr to breezy #27

pabs3 opened this issue Sep 2, 2019 · 6 comments
Labels

Comments

@pabs3
Copy link
Contributor

pabs3 commented Sep 2, 2019

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.

pabs3 added a commit to pabs3/git-remote-bzr that referenced this issue Sep 5, 2019
Prefer the breezy module over bzrlib as Canonical has abandoned Bazaar.

Import breezy as bzrlib to avoid having to change the rest of the code.

Fixes: https://bugs.debian.org/923096
Fixes: felipec#27
pabs3 added a commit to pabs3/git-remote-bzr that referenced this issue Sep 5, 2019
Prefer the breezy module over bzrlib as Canonical has abandoned Bazaar.

Import breezy as bzrlib to avoid having to change the rest of the code.

See-also: https://www.breezy-vcs.org/
Fixes: https://bugs.debian.org/923096
Fixes: felipec#27
pabs3 added a commit to pabs3/git-remote-bzr that referenced this issue Sep 5, 2019
Prefer the breezy module over bzrlib as Canonical has abandoned Bazaar.

Import breezy as bzrlib to avoid having to change the rest of the code.

See-also: https://www.breezy-vcs.org/
Fixes: https://bugs.debian.org/923096
Fixes: felipec#27
pabs3 added a commit to pabs3/git-remote-bzr that referenced this issue Sep 5, 2019
Prefer the breezy module over bzrlib as Canonical has abandoned Bazaar.

Import breezy as bzrlib to avoid having to change the rest of the code.

See-also: https://www.breezy-vcs.org/
Fixes: https://bugs.debian.org/923096
Fixes: felipec#27
@felipec
Copy link
Owner

felipec commented Jan 17, 2020

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.

@pabs3
Copy link
Contributor Author

pabs3 commented Jan 26, 2020

@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.

@felipec
Copy link
Owner

felipec commented Dec 17, 2020

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?

@pabs3
Copy link
Contributor Author

pabs3 commented Feb 5, 2021 via email

@pabs3
Copy link
Contributor Author

pabs3 commented Feb 5, 2021 via email

pabs3 added a commit to pabs3/git-remote-bzr that referenced this issue Jul 31, 2021
Prefer the breezy module over bzrlib as Canonical has abandoned Bazaar.

Import breezy as bzrlib to avoid having to change the rest of the code.

Paper over some of the API changes done in Breezy.

See-also: https://www.breezy-vcs.org/
Fixes: https://bugs.debian.org/923096
Fixes: felipec#27
@pabs3
Copy link
Contributor Author

pabs3 commented Aug 14, 2021

I did some more porting to the Python 2 version of breezy, but the port isn't yet complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants