Merge lp:~jcsackett/launchpad/distribution-enum-selection-677536 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Aaron Bentley |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12002 |
Proposed branch: | lp:~jcsackett/launchpad/distribution-enum-selection-677536 |
Merge into: | lp:launchpad |
Diff against target: |
95 lines (+18/-18) 3 files modified
lib/lp/registry/browser/distribution.py (+4/-4) lib/lp/registry/browser/tests/distribution-views.txt (+3/-3) lib/lp/registry/stories/distribution/xx-distribution-launchpad-usage.txt (+11/-11) |
To merge this branch: | bzr merge lp:~jcsackett/launchpad/distribution-enum-selection-677536 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Review via email: mp+42161@code.launchpad.net |
Commit message
[r=abentley]
Description of the change
Summary
=======
Although internally distributions now use the usage enums phased in for bridging the gap, they don't expose those settings where appropriate.
This branch exposes them for answers and blueprints. Bugs and translations both require more in depth solutions, making them more appropriately separate bugs.
Proposed fix
============
Switch use of official_* booleans for *_usage enums in the field names for distribution. All other work was already done.
Preimplementation talk
=======
Spoke with Curtis Hovey and Robert Collins (via comments on bug) regarding scope.
Implementation details
=======
As in Proposed.
Tests
=====
bin/test -t distribution-views
Demo & QA
=========
Go to launchpad.
Lint
====
make lint output:
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/