Merge lp:~mwhudson/launchpad/vostok-traverse-distro into lp:launchpad
Proposed by
Michael Hudson-Doyle
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11327 |
Proposed branch: | lp:~mwhudson/launchpad/vostok-traverse-distro |
Merge into: | lp:launchpad |
Prerequisite: | lp:~mwhudson/launchpad/vostok-main-template |
Diff against target: |
137 lines (+71/-2) 4 files modified
lib/lp/testing/factory.py (+5/-2) lib/lp/vostok/browser/configure.zcml (+5/-0) lib/lp/vostok/publisher.py (+18/-0) lib/lp/vostok/tests/test_navigation.py (+43/-0) |
To merge this branch: | bzr merge lp:~mwhudson/launchpad/vostok-traverse-distro |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Robert Collins (community) | Needs Fixing | ||
Review via email: mp+31241@code.launchpad.net |
Commit message
Add a navigation for the vostok root that allows you to traverse to distributions
Description of the change
Hi,
This branch adds a navigation for the vostok root that allows you to traverse
to distributions.
Cheers,
mwh
To post a comment you must log in.
Agh - perhaps it is just me, but __get_item__ on I<any>Set just seems wrong to
me.
> return self.redirectSu bTree(canonical _url(distro) , status=301)
That will take the user out of the vostok vhost. Is that what you want?
If not, you probably want to set the root as part of the canonical_url call.