lp: shorthands do not work for private branches
Bug #261609 reported by
Celso Providelo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Undecided
|
Unassigned | ||
Launchpad itself |
Fix Released
|
Medium
|
Tim Penhey | ||
Tarmac |
Invalid
|
High
|
Unassigned |
Bug Description
A remote and private branch is registered as https:/
{{{
$ bzr merge lp:~cprov/launchpad/bug-261325-p3a-baseurl
bzr: ERROR: Not a branch: "bzr+ssh://<email address hidden>
}}}
I've ended up using the remote branch URL instead, bzr+ssh:
On the other hand, a public remote branch works just fine, https:/
Related branches
lp:~thumper/launchpad/private-branch-lookup-bug-261609
- Paul Hummer (community): Approve
-
Diff: 778 lines (+464/-44)6 files modifiedlib/lp/code/interfaces/codehosting.py (+4/-0)
lib/lp/code/model/branch.py (+1/-1)
lib/lp/code/xmlrpc/codehosting.py (+72/-13)
lib/lp/code/xmlrpc/tests/test_codehosting.py (+221/-1)
lib/lp/codehosting/inmemory.py (+145/-29)
lib/lp/codehosting/tests/test_acceptance.py (+21/-0)
lp:~thumper/launchpad/short-lp-name-for-private-branches
- Michael Hudson-Doyle: Approve
-
Diff: 288 lines (+18/-146)6 files modifiedlib/lp/code/doc/branch-xmlrpc.txt (+1/-117)
lib/lp/code/interfaces/branch.py (+1/-3)
lib/lp/code/model/tests/test_branch.py (+10/-20)
lib/lp/code/stories/branches/xx-private-branch-listings.txt (+2/-2)
lib/lp/code/tests/test_branch.py (+2/-2)
lib/lp/registry/stories/product/xx-product-development-focus.txt (+2/-2)
lp:~thumper/launchpad/xmlrpc-tests
- Graham Binns (community): Approve (release-critical)
- Launchpad code reviewers: Pending requested
-
Diff: 366 lines (+79/-145)3 files modifiedMakefile (+2/-2)
lib/lp/code/xmlrpc/branch.py (+45/-15)
lib/lp/code/xmlrpc/tests/test_branch.py (+32/-128)
description: | updated |
Changed in tarmac: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad-code: | |
status: | Triaged → In Progress |
assignee: | nobody → Tim Penhey (thumper) |
Changed in launchpad-code: | |
status: | In Progress → Fix Committed |
milestone: | none → 10.09 |
tags: |
added: qa-bad removed: qa-needstesting |
tags: |
added: qa-ok removed: qa-bad |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
Changed in tarmac: | |
status: | Triaged → Invalid |
To post a comment you must log in.
The issue here is that the XML-RPC service doesn't resolve private branches, since it doesn't have authentication.
Someone has filed another bug about this, but I haven't found it yet: this bug is a duplicate of that one.