This branch addresses the issues in bug 509370, by ensuring that when a person is added as a subscriber to a private PPA, the email they receive informing them will include not only the display name of the PPA, but also the ppa name, and the description of the PPA.
It also updates the archive subscriptions page to include the PPA name (in addition to the display name) and a link to the owner (but not currently the description of the PPA as it's not viewable by the subscriber, but this could be addressed by bug 336779).
Matt: can you check the wording change to the email template? You can see the change in expected output in doc/archivesubscriber.txt
then click on "View your private PPA subscriptions"
== Test ==
bin/test -vv -t xx-private-ppa-subscription -t archivesubscriber.txt
== Pylint notices ==
lib/canonical/launchpad/mailnotification.py
15: [F0401] Unable to import 'email.Header' (No module named Header)
16: [F0401] Unable to import 'email.MIMEText' (No module named MIMEText)
17: [F0401] Unable to import 'email.MIMEMultipart' (No module named MIMEMultipart)
18: [F0401] Unable to import 'email.MIMEMessage' (No module named MIMEMessage)
19: [F0401] Unable to import 'email.Utils' (No module named Utils)
This branch addresses the issues in bug 509370, by ensuring that when a person is added as a subscriber to a private PPA, the email they receive informing them will include not only the display name of the PPA, but also the ppa name, and the description of the PPA.
It also updates the archive subscriptions page to include the PPA name (in addition to the display name) and a link to the owner (but not currently the description of the PPA as it's not viewable by the subscriber, but this could be addressed by bug 336779).
Matt: can you check the wording change to the email template? You can see the change in expected output in doc/archivesubs criber. txt
An example of the archivesubscrip tions page: people. canonical. com/~michaeln/ tmp/Screenshot- Private% 20PPA%20access% 20:%20Joe% 20Smith% 20-%20Chromium. png
http://
== Demo ==
To setup the subscription, run the following in a harness:
http:// pastebin. ubuntu. com/373304/
and then login as <email address hidden>:test and browse toz;
https:/ /launchpad. dev/~joesmith
then click on "View your private PPA subscriptions"
== Test == ppa-subscriptio n -t archivesubscrib er.txt
bin/test -vv -t xx-private-
== Pylint notices ==
lib/canonical/ launchpad/ mailnotificatio n.py MIMEMultipart' (No module named MIMEMultipart)
15: [F0401] Unable to import 'email.Header' (No module named Header)
16: [F0401] Unable to import 'email.MIMEText' (No module named MIMEText)
17: [F0401] Unable to import 'email.
18: [F0401] Unable to import 'email.MIMEMessage' (No module named MIMEMessage)
19: [F0401] Unable to import 'email.Utils' (No module named Utils)