fetch: Drop Bazaar/bzr fetcher
PATCH 1/1 fetch: Drop Bazaar/bzr fetcher
Bazaar has been of limited use outside of Launchpad for a while. Most uses within launchpad now use git. The original bazaar client was also replaced by breezy, which whilst supporting the bazaar repositories, mostly works with git as the backend now too.
The existing code has been broken for a while and nobody seems to be using it, lets remove the obsolete technology.
--- .../bitbake-user-manual-fetching.rst | 3 - .../bitbake-user-manual-ref-variables.rst | 7 - lib/bb/fetch2/__init__.py | 2 - lib/bb/fetch2/bzr.py | 128 ------------------ 4 files changed, 140 deletions(-) delete mode 100644 lib/bb/fetch2/bzr.py
doc/bitbake-user-manual/bitbake-user-manual-fetching.rst +0 -3
@@ -84,7 +84,6 @@ fetcher does know how to use HTTP as a transport. Here are some examples that show commonly used mirror definitions:: PREMIRRORS ?= "\ - bzr://.*/.\* http://somemirror.org/sources/ \ cvs://.*/.\* http://somemirror.org/sources/ \ git://.*/.\* http://somemirror.org/sources/ \ hg://.*/.\* http://somemirror.org/sources/ \
@@ -827,8 +826,6 @@ Other Fetchers Fetch submodules also exist for the following: -- Bazaar (``bzr://``) - - Mercurial (``hg://``) - OSC (``osc://``)
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0 -7
@@ -1127,10 +1127,6 @@ overview of their function and contents. A name assigned to the build. The name defaults to a datetime stamp of when the build was started but can be defined by the metadata. - :term:`BZRDIR` - The directory in which files checked out of a Bazaar system are - stored. - :term:`CACHE` Specifies the directory BitBake uses to store a cache of the metadata so it does not need to be parsed every time BitBake is started.
@@ -1637,9 +1633,6 @@ overview of their function and contents. - ``az://``: Fetches files from an Azure Storage account using HTTPS. - - ``bzr://``: Fetches files from a Bazaar revision control - repository. - - ``ccrc://``: Fetches files from a ClearCase repository. - ``cvs://``: Fetches files from a CVS revision control
lib/bb/fetch2/__init__.py +0 -2
@@ -2111,7 +2111,6 @@ from . import ssh from . import sftp from . import s3 from . import perforce -from . import bzr from . import hg from . import osc from . import repo
@@ -2134,7 +2133,6 @@ methods.append(ssh.SSH()) methods.append(sftp.SFTP()) methods.append(s3.S3()) methods.append(perforce.Perforce()) -methods.append(bzr.Bzr()) methods.append(hg.Hg()) methods.append(osc.Osc()) methods.append(repo.Repo())
lib/bb/fetch2/bzr.py deleted +0 -128
128 lines not on this page · raw message
Hi,
On Fri Feb 13, 2026 at 4:59 PM CET, Richard Purdie via lists.openembedded.org wrote:
[...]
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
Quoted 4 lines
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0
-0
The SRCREV definition also needs updating:
:term:SRCREV
The revision of the source code used to build the package. This variable applies only when using Subversion, Git, Mercurial and Bazaar.
Antonin
Quoted 14 lines · Antonin Godard
Hi,
On Fri Feb 13, 2026 at 4:59 PM CET, Richard Purdie via lists.openembedded.org wrote:
[...]doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
Quoted 6 lines
(quoted diff) +0
-0
variables.rstb/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index4b3b10d4662..c75f2c27b32100644doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0
-0The SRCREV definition also needs updating:
Quoted 4 lines
:term:
SRCREV
The revision of the source code used to build the package. This variable applies only when using Subversion, Git, Mercurial and Bazaar.
Thanks, I've added a tweak to the patch to remove that. I have a feeling we might find a few more old references in one form or another over time...
Cheers,
Richard
Hi,
Quoted 15 lines · Richard Purdie via lists.openembedded.org
Quoted 14 lines · Antonin Godard
Hi,
On Fri Feb 13, 2026 at 4:59 PM CET, Richard Purdie via lists.openembedded.org wrote:
[...]doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
Quoted 6 lines
(quoted diff) +0
-0
variables.rstb/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index4b3b10d4662..c75f2c27b32100644doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0
-0The SRCREV definition also needs updating:
Quoted 8 lines
Quoted 4 lines
:term:
SRCREV
The revision of the source code used to build the package. This variable applies only when using Subversion, Git, Mercurial and Bazaar.Thanks, I've added a tweak to the patch to remove that. I have a feeling we might find a few more old references in one form or another over time...
I've quickly tried to grep for bzr/bazaar, and the other two fetchers you've sent and couldn't find anymore. But yocto-docs will probably have some of those, which I'll take care of.
Antonin