breezy uses lp: insteadOf from git config when project uses Bazaar

Bug #2023998 reported by Guruprasad
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Breezy
Fix Released
Wishlist
Jelmer Vernooij
breezy (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I run a 'bzr branch' command on lunar like 'bzr branch lp:lptools' it fails with an error message that says 'brz: ERROR: Not a branch: "git+ssh://<email address hidden>/lptools": Repository 'lptools' not found..'. This is strange and unexpected because the error message mentions not being able to find a git repository while I am trying to branch a bzr repository.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: brz 3.3.2-2ubuntu1
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Thu Jun 15 18:52:05 2023
InstallationDate: Installed on 2023-05-20 (26 days ago)
InstallationMedia: Kubuntu 23.04 "Lunar Lobster" - Release amd64 (20230414.1)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: breezy
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Guruprasad (lgp171188) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in breezy (Ubuntu):
status: New → Confirmed
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

The launchpad plugin should probably take ownership of the lp: prefix and use the Launchpad API to figure out whether the referenced project uses Git or Bazaar.

Changed in brz:
status: New → Triaged
importance: Undecided → Wishlist
Jelmer Vernooij (jelmer)
summary: - 'bzr branch' command is broken on lunar when using Launchpad
- repositories using the lp: shortform
+ breezy uses lp: insteadOf from git config when project uses Bazaar
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

% ./brz branch lp:launchpad /tmp/launchpad
Ignoring insteadOf lp: in git config, because the Launchpad plugin is loaded.
Found both a Bazaar branch and a git repository at lp:launchpad. Using Git, since that is the projects' default vcs
...

% ./brz branch lp:lptools /tmp/lptools
Ignoring insteadOf lp: in git config, because the Launchpad plugin is loaded.
Branched 48 revisions.

Changed in brz:
status: Triaged → Fix Committed
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 3.3.4
Jelmer Vernooij (jelmer)
Changed in brz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.