Merge lp:~michael.nelson/launchpad/509370-access-non-unique-ppa-name into lp:launchpad
Proposed by
Michael Nelson
Status: | Merged |
---|---|
Approved by: | Michael Nelson |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~michael.nelson/launchpad/509370-access-non-unique-ppa-name |
Merge into: | lp:launchpad |
Diff against target: |
382 lines (+90/-54) 12 files modified
lib/canonical/launchpad/doc/tales.txt (+17/-2) lib/canonical/launchpad/emailtemplates/ppa-subscription-new.txt (+3/-1) lib/canonical/launchpad/mailnotification.py (+9/-3) lib/canonical/launchpad/webapp/tales.py (+27/-1) lib/lp/soyuz/browser/archive.py (+0/-11) lib/lp/soyuz/browser/tests/archive-views.txt (+1/-13) lib/lp/soyuz/doc/archivesubscriber.txt (+4/-1) lib/lp/soyuz/stories/ppa/xx-private-ppa-subscription-stories.txt (+11/-11) lib/lp/soyuz/stories/ppa/xx-private-ppa-subscriptions.txt (+3/-3) lib/lp/soyuz/templates/archive-index.pt (+2/-2) lib/lp/soyuz/templates/person-archive-subscription.pt (+2/-3) lib/lp/soyuz/templates/person-archive-subscriptions.pt (+11/-3) |
To merge this branch: | bzr merge lp:~michael.nelson/launchpad/509370-access-non-unique-ppa-name |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Curtis Hovey (community) | ui | Approve | |
Matthew Revell (community) | archivesubscriber.txt | Approve | |
Review via email: mp+19022@code.launchpad.net |
Commit message
Ensures that email sent regarding private ppa subscriptions uniquely identifies the ppa by including the ppa ref (ppa:cprov/myppa), and additionally the description (to help the person receiving the email to understand what the purpose of the PPA is.
To post a comment you must log in.
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)