Merge lp://staging/~thumper/launchpad/anon-http-branch-id-access into lp://staging/launchpad
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Merged at revision: | 12758 |
Proposed branch: | lp://staging/~thumper/launchpad/anon-http-branch-id-access |
Merge into: | lp://staging/launchpad |
Diff against target: |
254 lines (+139/-8) 5 files modified
lib/lp/code/interfaces/codehosting.py (+4/-0) lib/lp/code/model/branchlookup.py (+35/-7) lib/lp/code/model/tests/test_branchlookup.py (+44/-0) lib/lp/codehosting/rewrite.py (+5/-1) lib/lp/codehosting/tests/test_rewrite.py (+51/-0) |
To merge this branch: | bzr merge lp://staging/~thumper/launchpad/anon-http-branch-id-access |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Graham Binns (community) | code | Approve | |
Review via email: mp+56287@code.staging.launchpad.net |
Description of the change
This branch is the start of a pipeline to fix the problem
where branches that are stacked on another branch that changes
any part of the branch unique_name get broken.
The solution is instead to stack on an ID based url.
This branch adds support for a +branch-id/%(id)s branch alias
for public branches served over HTTP using the rewrite script.
To post a comment you must log in.
Whoops, helps if you actually post your review comments, doesn't it?
This branch is fine but all of the tests in lib/lp/ code/model/ tests/test_ branchlookup. py are missing docstrings / explanatory comments, which means that I have to read them to understand what they do, which is boring. Other than that I'm happy for this to land.