Merge lp:~wgrant/launchpad/bug-708999-ff-docs into lp:launchpad
Proposed by
William Grant
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12406 |
Proposed branch: | lp:~wgrant/launchpad/bug-708999-ff-docs |
Merge into: | lp:launchpad |
Diff against target: |
276 lines (+89/-27) 8 files modified
lib/canonical/launchpad/browser/librarian.py (+3/-3) lib/lp/services/features/browser/info.py (+7/-0) lib/lp/services/features/browser/tests/test_feature_info.py (+9/-0) lib/lp/services/features/flags.py (+37/-16) lib/lp/services/features/templates/feature-info.pt (+21/-4) lib/lp/services/features/templates/feature-rules.pt (+5/-1) lib/lp/services/memcache/client.py (+5/-1) lib/lp/services/memcache/doc/tales-cache.txt (+2/-2) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-708999-ff-docs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Review via email: mp+49758@code.launchpad.net |
Commit message
[r=lifeless][bug=708999] Document code.branchmerg
Description of the change
This branch fixes bug #708999 by documenting the two undocumented feature flags.
It also cleans and reformats the value domains and descriptions of several other flags to be more consistent and informative.
To post a comment you must log in.
Thanks for addressing this bug.
To me those explanations don't add a lot beyond the name of the variable.
For instance
'shows branch merge queues if non-empty'
if the bmq is non-empty?
From looking at the usage of the flags it looks like this means "shows them if the flag is boolean true", and the values are not the strings 'empty' and 'nonempty' but rather you can use any string, which Python will treat as true?
I think that shows we badly need a standard way to express boolean flags.
I would document them as
if true (a non-empty string), shows the branch merge queue user interface
if true (a non-empty string), show incremental diffs on merge proposals