bzr branches should be private by default if linked to a private bug
Bug #589878 reported by
Mathias Gug
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned | ||
Breezy |
Triaged
|
Wishlist
|
Unassigned | ||
Launchpad itself |
Won't Fix
|
High
|
Unassigned |
Bug Description
While pushing a bzr branch for an Ubuntu package scheduled to be uploaded as a Stable Release Update (https:/
Related branches
lp://staging/~stevenk/launchpad/link-branch-to-private-bug
Rejected
for merging
into
lp://staging/launchpad
- Robert Collins (community): Needs Fixing
-
Diff: 114 lines (+32/-9)3 files modifiedlib/lp/bugs/model/bug.py (+3/-0)
lib/lp/bugs/model/bugbranch.py (+12/-4)
lib/lp/bugs/tests/test_bugbranch.py (+17/-5)
description: | updated |
tags: | added: privacy |
Changed in launchpad-code: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: disclosure |
Changed in launchpad: | |
importance: | Medium → High |
tags: | removed: disclosure |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
importance: | Undecided → Wishlist |
tags: | added: launchpad |
Changed in brz: | |
status: | New → Triaged |
To post a comment you must log in.
This is actually a very complex thing:
- we don't know if a branch is linked to a bug in a revision until we scan the branch
- branches are (currently) made public|private by a policy on creation
- so there is a huge race condition :) the branch could be public for 5-10 minutes before a revision is found that links it to a private bug
Secondly, the obvious route to implementation will let any branch be made private at any point in time, with no way for this to be undone (outside of projects that have a commercial subscription for private branches).
I think this probably needs a LEP all of its own, to cover off the corner cases and UI complications.