= 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 ==
I also added a test that BranchMergeProposal implements
IBranchMergeProposal, as a drive-by.
lib/lp/code/interfaces/branchmergeproposal.py
27: [F0401] Unable to import 'lazr.lifecycle.event' (No module named
lifecycle)
42: [F0401] Unable to import 'lazr.restful.fields' (No module named
restful)
43: [F0401] Unable to import 'lazr.restful.declarations' (No module
named restful)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----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-----