Merge lp://staging/~abentley/launchpad/bmp-iprivacy into lp://staging/launchpad
Proposed by
Aaron Bentley
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Gavin Panella | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp://staging/~abentley/launchpad/bmp-iprivacy | ||||
Merge into: | lp://staging/launchpad | ||||
Diff against target: | None lines | ||||
To merge this branch: | bzr merge lp://staging/~abentley/launchpad/bmp-iprivacy | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | code | Approve | |
Review via email: mp+11442@code.staging.launchpad.net |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
= Summary =
Implement IPrivacy for BranchMergeProposal
== Proposed fix ==
Privacy for branch merge proposals is determined by the involved
branches: the source, target and optional dependent branch. If any are
private, the merge proposal is private.
== Pre-implementation notes ==
Pre-implementation was with thumper
== Implementation details == posal, as a drive-by.
I also added a test that BranchMergeProposal implements
IBranchMergePro
== Tests == eproposals -t Privacy
bin/test test_branchmerg
== Demo and Q/A ==
Create a private branch. Propose it for merging. Note that the merge
proposal has the standard privacy bars.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: code/configure. zcml code/interfaces /branchmergepro posal.py code/model/ branchmergeprop osal.py code/model/ tests/test_ branchmergeprop osals.py
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/ code/interfaces /branchmergepro posal.py .event' (No module named fields' (No module named declarations' (No module enigmail. mozdev. org
27: [F0401] Unable to import 'lazr.lifecycle
lifecycle)
42: [F0401] Unable to import 'lazr.restful.
restful)
43: [F0401] Unable to import 'lazr.restful.
named restful)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkq nyGgACgkQ0F+ nu1YWqI2mIACaAv 9Y1uhElpNOOFhOg oiT/aFY CZxoWzYoL0VBhDH jM
V0gAn24bUSNXGGR
=T23r
-----END PGP SIGNATURE-----