Merge lp:~wgrant/launchpad/exterminate-shipit-admins into lp:launchpad
- exterminate-shipit-admins
- Merge into devel
Proposed by
William Grant
Status: | Merged |
---|---|
Approved by: | William Grant |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12893 |
Proposed branch: | lp:~wgrant/launchpad/exterminate-shipit-admins |
Merge into: | lp:launchpad |
Prerequisite: | lp:~wgrant/launchpad/purge-shipit-cruft |
Diff against target: |
589 lines (+87/-103) 11 files modified
database/sampledata/current-dev.sql (+1/-9) database/sampledata/current.sql (+1/-9) lib/canonical/launchpad/doc/vocabulary-json.txt (+3/-3) lib/canonical/launchpad/pagetests/README.txt (+0/-3) lib/lp/bugs/doc/bugnotification-sending.txt (+57/-55) lib/lp/bugs/doc/bugnotificationrecipients.txt (+6/-6) lib/lp/registry/doc/person.txt (+7/-7) lib/lp/registry/doc/teammembership.txt (+7/-4) lib/lp/registry/doc/vocabularies.txt (+0/-1) lib/lp/registry/stories/vouchers/xx-voucher-redemption.txt (+5/-5) utilities/page-performance-report.ini (+0/-1) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/exterminate-shipit-admins |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Kowalik (community) | code | Approve | |
Review via email: mp+58618@code.launchpad.net |
Commit message
[r=stevenk][no-qa] Exterminate the shipit-admins team from tests and sampledata.
Description of the change
Demoting shipit-admins to a normal team was insufficient to satisfy my intense dislike of our former parasite. This branch fixes tests to use the factory instead, and removes shipit-admins from sampledata.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'database/sampledata/current-dev.sql' |
2 | --- database/sampledata/current-dev.sql 2011-04-20 19:23:30 +0000 |
3 | +++ database/sampledata/current-dev.sql 2011-04-21 10:44:38 +0000 |
4 | @@ -1,6 +1,6 @@ |
5 | -- Copyright 2010 Canonical Ltd. This software is licensed under the |
6 | -- GNU Affero General Public License version 3 (see the file LICENSE). |
7 | --- Created using pg_dump (PostgreSQL) 8.4.7 |
8 | +-- Created using pg_dump (PostgreSQL) 8.4.8 |
9 | |
10 | SET check_function_bodies = false; |
11 | SET client_encoding = 'UTF8'; |
12 | @@ -1805,7 +1805,6 @@ |
13 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (68, 'Launchpad Beta Testers Owner', NULL, NULL, 'launchpad-beta-owner', NULL, NULL, NULL, NULL, 1, NULL, '2007-01-31 06:56:25.096519', NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 681); |
14 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (69, 'Launchpad Beta Testers', 68, 'People who are testing the new Launchpad "beta" UI.', 'launchpad-beta-testers', NULL, NULL, NULL, NULL, 1, NULL, '2007-01-31 06:57:54.592917', NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
15 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (70, 'Former User', NULL, NULL, 'former-user-deactivatedaccount', NULL, NULL, NULL, NULL, 1, NULL, '2006-12-13 21:19:06.369142', NULL, NULL, NULL, true, 2, 'when importing bugs from http://bugzilla.gnome.org/', NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 701); |
16 | -INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243601, 'ShipIt Administrators', 1, 'ShipIt Administrators', 'shipit-admins', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-05 06:24:03.06971', NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
17 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243602, 'No Team Memberships', NULL, NULL, 'no-team-memberships', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-19 11:17:57.755666', NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 2436021); |
18 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243603, 'One Membership', NULL, NULL, 'one-membership', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-21 10:53:59.700105', NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 2436031); |
19 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243604, 'Simple Team', 243603, 'This team should have only one member, the "One Membership" user.', 'simple-team', NULL, NULL, NULL, NULL, 3, NULL, '2007-02-21 10:55:03.899255', NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
20 | @@ -5249,7 +5248,6 @@ |
21 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (68, 'Launchpad Beta Testers Owner', NULL, NULL, 'launchpad-beta-owner', NULL, NULL, NULL, NULL, 1, NULL, '2007-01-31 06:56:25.096519', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 681); |
22 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (69, 'Launchpad Beta Testers', 68, 'People who are testing the new Launchpad "beta" UI.', 'launchpad-beta-testers', NULL, NULL, NULL, NULL, 1, NULL, '2007-01-31 06:57:54.592917', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
23 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (70, 'Former User', NULL, NULL, 'former-user-deactivatedaccount', NULL, NULL, NULL, NULL, 1, NULL, '2006-12-13 21:19:06.369142', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, true, 2, 'when importing bugs from http://bugzilla.gnome.org/', NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 701); |
24 | -INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243601, 'ShipIt Administrators', 1, 'ShipIt Administrators', 'shipit-admins', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-05 06:24:03.06971', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
25 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243602, 'No Team Memberships', NULL, NULL, 'no-team-memberships', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-19 11:17:57.755666', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 2436021); |
26 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243603, 'One Membership', NULL, NULL, 'one-membership', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-21 10:53:59.700105', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 2436031); |
27 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243604, 'Simple Team', 243603, 'This team should have only one member, the "One Membership" user.', 'simple-team', NULL, NULL, NULL, NULL, 3, NULL, '2007-02-21 10:55:03.899255', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
28 | @@ -5374,7 +5372,6 @@ |
29 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (84, 53, 50); |
30 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (85, 53, 46); |
31 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (86, 53, 16); |
32 | -INSERT INTO lp_teamparticipation (id, team, person) VALUES (87, 243601, 55); |
33 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (88, 52, 52); |
34 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (89, 56, 56); |
35 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (90, 30, 56); |
36 | @@ -5402,7 +5399,6 @@ |
37 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (112, 64, 64); |
38 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (113, 67, 67); |
39 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (114, 69, 69); |
40 | -INSERT INTO lp_teamparticipation (id, team, person) VALUES (115, 243601, 243601); |
41 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (116, 53, 53); |
42 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (117, 55, 55); |
43 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (118, 17, 17); |
44 | @@ -6490,7 +6486,6 @@ |
45 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (68, true); |
46 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (69, true); |
47 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (70, true); |
48 | -INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (243601, true); |
49 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (243602, true); |
50 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (243603, true); |
51 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (243604, true); |
52 | @@ -10945,7 +10940,6 @@ |
53 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (42, 50, 53, 2, '2005-07-12 14:34:36.906758', NULL, 13, NULL, 1, NULL, 1, '2005-07-12 14:34:36.906758', NULL, NULL, '2005-07-12 14:34:36.906758', NULL, NULL, NULL, '2008-02-15 13:59:16.999283'); |
54 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (43, 46, 53, 2, '2005-07-12 14:35:44.635842', NULL, 13, NULL, 1, NULL, 1, '2005-07-12 14:35:44.635842', NULL, NULL, '2005-07-12 14:35:44.635842', NULL, NULL, NULL, '2008-02-15 13:59:16.999505'); |
55 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (44, 16, 53, 2, '2005-07-12 14:36:09.587753', NULL, 13, NULL, 1, NULL, 1, '2005-07-12 14:36:09.587753', NULL, NULL, '2005-07-12 14:36:09.587753', NULL, NULL, NULL, '2008-02-15 13:59:16.999728'); |
56 | -INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (45, 55, 243601, 2, '2005-07-12 14:36:09.587753', NULL, NULL, NULL, 1, NULL, 1, '2005-07-12 14:36:09.587753', NULL, NULL, '2005-07-12 14:36:09.587753', NULL, NULL, NULL, '2008-02-15 13:59:16.99995'); |
57 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (46, 12, 31, 4, '2005-07-12 14:36:09.587753', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2008-02-15 13:59:17.000172'); |
58 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (47, 12, 32, 6, '2005-09-28 20:08:08.248467', '2007-08-29 00:00:00', 16, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2008-02-15 13:59:17.000395'); |
59 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (48, 56, 30, 2, '2005-10-07 12:22:54.947939', NULL, 13, NULL, 1, NULL, 1, '2005-10-07 12:22:54.947939', NULL, NULL, '2005-10-07 12:22:54.947939', NULL, NULL, NULL, '2008-02-15 13:59:17.000619'); |
60 | @@ -11085,7 +11079,6 @@ |
61 | INSERT INTO teamparticipation (id, team, person) VALUES (84, 53, 50); |
62 | INSERT INTO teamparticipation (id, team, person) VALUES (85, 53, 46); |
63 | INSERT INTO teamparticipation (id, team, person) VALUES (86, 53, 16); |
64 | -INSERT INTO teamparticipation (id, team, person) VALUES (87, 243601, 55); |
65 | INSERT INTO teamparticipation (id, team, person) VALUES (88, 52, 52); |
66 | INSERT INTO teamparticipation (id, team, person) VALUES (89, 56, 56); |
67 | INSERT INTO teamparticipation (id, team, person) VALUES (90, 30, 56); |
68 | @@ -11113,7 +11106,6 @@ |
69 | INSERT INTO teamparticipation (id, team, person) VALUES (112, 64, 64); |
70 | INSERT INTO teamparticipation (id, team, person) VALUES (113, 67, 67); |
71 | INSERT INTO teamparticipation (id, team, person) VALUES (114, 69, 69); |
72 | -INSERT INTO teamparticipation (id, team, person) VALUES (115, 243601, 243601); |
73 | INSERT INTO teamparticipation (id, team, person) VALUES (116, 53, 53); |
74 | INSERT INTO teamparticipation (id, team, person) VALUES (117, 55, 55); |
75 | INSERT INTO teamparticipation (id, team, person) VALUES (118, 17, 17); |
76 | |
77 | === modified file 'database/sampledata/current.sql' |
78 | --- database/sampledata/current.sql 2011-04-20 19:23:30 +0000 |
79 | +++ database/sampledata/current.sql 2011-04-21 10:44:38 +0000 |
80 | @@ -1,6 +1,6 @@ |
81 | -- Copyright 2010 Canonical Ltd. This software is licensed under the |
82 | -- GNU Affero General Public License version 3 (see the file LICENSE). |
83 | --- Created using pg_dump (PostgreSQL) 8.4.7 |
84 | +-- Created using pg_dump (PostgreSQL) 8.4.8 |
85 | |
86 | SET check_function_bodies = false; |
87 | SET client_encoding = 'UTF8'; |
88 | @@ -1805,7 +1805,6 @@ |
89 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (68, 'Launchpad Beta Testers Owner', NULL, NULL, 'launchpad-beta-owner', NULL, NULL, NULL, NULL, 1, NULL, '2007-01-31 06:56:25.096519', NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 681); |
90 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (69, 'Launchpad Beta Testers', 68, 'People who are testing the new Launchpad "beta" UI.', 'launchpad-beta-testers', NULL, NULL, NULL, NULL, 1, NULL, '2007-01-31 06:57:54.592917', NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
91 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (70, 'Former User', NULL, NULL, 'former-user-deactivatedaccount', NULL, NULL, NULL, NULL, 1, NULL, '2006-12-13 21:19:06.369142', NULL, NULL, NULL, true, 2, 'when importing bugs from http://bugzilla.gnome.org/', NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 701); |
92 | -INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243601, 'ShipIt Administrators', 1, 'ShipIt Administrators', 'shipit-admins', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-05 06:24:03.06971', NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
93 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243602, 'No Team Memberships', NULL, NULL, 'no-team-memberships', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-19 11:17:57.755666', NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 2436021); |
94 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243603, 'One Membership', NULL, NULL, 'one-membership', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-21 10:53:59.700105', NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 2436031); |
95 | INSERT INTO person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243604, 'Simple Team', 243603, 'This team should have only one member, the "One Membership" user.', 'simple-team', NULL, NULL, NULL, NULL, 3, NULL, '2007-02-21 10:55:03.899255', NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
96 | @@ -5181,7 +5180,6 @@ |
97 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (68, 'Launchpad Beta Testers Owner', NULL, NULL, 'launchpad-beta-owner', NULL, NULL, NULL, NULL, 1, NULL, '2007-01-31 06:56:25.096519', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 681); |
98 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (69, 'Launchpad Beta Testers', 68, 'People who are testing the new Launchpad "beta" UI.', 'launchpad-beta-testers', NULL, NULL, NULL, NULL, 1, NULL, '2007-01-31 06:57:54.592917', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
99 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (70, 'Former User', NULL, NULL, 'former-user-deactivatedaccount', NULL, NULL, NULL, NULL, 1, NULL, '2006-12-13 21:19:06.369142', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, true, 2, 'when importing bugs from http://bugzilla.gnome.org/', NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 701); |
100 | -INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243601, 'ShipIt Administrators', 1, 'ShipIt Administrators', 'shipit-admins', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-05 06:24:03.06971', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
101 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243602, 'No Team Memberships', NULL, NULL, 'no-team-memberships', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-19 11:17:57.755666', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 2436021); |
102 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243603, 'One Membership', NULL, NULL, 'one-membership', NULL, NULL, NULL, NULL, 1, NULL, '2007-02-21 10:53:59.700105', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, 8, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, 2436031); |
103 | INSERT INTO lp_person (id, displayname, teamowner, teamdescription, name, language, fti, defaultmembershipperiod, defaultrenewalperiod, subscriptionpolicy, merged, datecreated, addressline1, addressline2, organization, city, province, country, postcode, phone, homepage_content, icon, mugshot, hide_email_addresses, creation_rationale, creation_comment, registrant, logo, renewal_policy, personal_standing, personal_standing_reason, mail_resumption_date, mailing_list_auto_subscribe_policy, mailing_list_receive_duplicates, visibility, verbose_bugnotifications, account) VALUES (243604, 'Simple Team', 243603, 'This team should have only one member, the "One Membership" user.', 'simple-team', NULL, NULL, NULL, NULL, 3, NULL, '2007-02-21 10:55:03.899255', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, false, NULL, NULL, NULL, NULL, 10, 0, NULL, NULL, 1, true, 1, false, NULL); |
104 | @@ -5306,7 +5304,6 @@ |
105 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (84, 53, 50); |
106 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (85, 53, 46); |
107 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (86, 53, 16); |
108 | -INSERT INTO lp_teamparticipation (id, team, person) VALUES (87, 243601, 55); |
109 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (88, 52, 52); |
110 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (89, 56, 56); |
111 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (90, 30, 56); |
112 | @@ -5334,7 +5331,6 @@ |
113 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (112, 64, 64); |
114 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (113, 67, 67); |
115 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (114, 69, 69); |
116 | -INSERT INTO lp_teamparticipation (id, team, person) VALUES (115, 243601, 243601); |
117 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (116, 53, 53); |
118 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (117, 55, 55); |
119 | INSERT INTO lp_teamparticipation (id, team, person) VALUES (118, 17, 17); |
120 | @@ -6422,7 +6418,6 @@ |
121 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (68, true); |
122 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (69, true); |
123 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (70, true); |
124 | -INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (243601, true); |
125 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (243602, true); |
126 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (243603, true); |
127 | INSERT INTO personsettings (person, selfgenerated_bugnotifications) VALUES (243604, true); |
128 | @@ -10871,7 +10866,6 @@ |
129 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (42, 50, 53, 2, '2005-07-12 14:34:36.906758', NULL, 13, NULL, 1, NULL, 1, '2005-07-12 14:34:36.906758', NULL, NULL, '2005-07-12 14:34:36.906758', NULL, NULL, NULL, '2008-02-15 13:59:16.999283'); |
130 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (43, 46, 53, 2, '2005-07-12 14:35:44.635842', NULL, 13, NULL, 1, NULL, 1, '2005-07-12 14:35:44.635842', NULL, NULL, '2005-07-12 14:35:44.635842', NULL, NULL, NULL, '2008-02-15 13:59:16.999505'); |
131 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (44, 16, 53, 2, '2005-07-12 14:36:09.587753', NULL, 13, NULL, 1, NULL, 1, '2005-07-12 14:36:09.587753', NULL, NULL, '2005-07-12 14:36:09.587753', NULL, NULL, NULL, '2008-02-15 13:59:16.999728'); |
132 | -INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (45, 55, 243601, 2, '2005-07-12 14:36:09.587753', NULL, NULL, NULL, 1, NULL, 1, '2005-07-12 14:36:09.587753', NULL, NULL, '2005-07-12 14:36:09.587753', NULL, NULL, NULL, '2008-02-15 13:59:16.99995'); |
133 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (46, 12, 31, 4, '2005-07-12 14:36:09.587753', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2008-02-15 13:59:17.000172'); |
134 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (47, 12, 32, 6, '2005-09-28 20:08:08.248467', '2007-08-29 00:00:00', 16, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2008-02-15 13:59:17.000395'); |
135 | INSERT INTO teammembership (id, person, team, status, date_joined, date_expires, last_changed_by, last_change_comment, proposed_by, acknowledged_by, reviewed_by, date_proposed, date_last_changed, date_acknowledged, date_reviewed, proponent_comment, acknowledger_comment, reviewer_comment, date_created) VALUES (48, 56, 30, 2, '2005-10-07 12:22:54.947939', NULL, 13, NULL, 1, NULL, 1, '2005-10-07 12:22:54.947939', NULL, NULL, '2005-10-07 12:22:54.947939', NULL, NULL, NULL, '2008-02-15 13:59:17.000619'); |
136 | @@ -11011,7 +11005,6 @@ |
137 | INSERT INTO teamparticipation (id, team, person) VALUES (84, 53, 50); |
138 | INSERT INTO teamparticipation (id, team, person) VALUES (85, 53, 46); |
139 | INSERT INTO teamparticipation (id, team, person) VALUES (86, 53, 16); |
140 | -INSERT INTO teamparticipation (id, team, person) VALUES (87, 243601, 55); |
141 | INSERT INTO teamparticipation (id, team, person) VALUES (88, 52, 52); |
142 | INSERT INTO teamparticipation (id, team, person) VALUES (89, 56, 56); |
143 | INSERT INTO teamparticipation (id, team, person) VALUES (90, 30, 56); |
144 | @@ -11039,7 +11032,6 @@ |
145 | INSERT INTO teamparticipation (id, team, person) VALUES (112, 64, 64); |
146 | INSERT INTO teamparticipation (id, team, person) VALUES (113, 67, 67); |
147 | INSERT INTO teamparticipation (id, team, person) VALUES (114, 69, 69); |
148 | -INSERT INTO teamparticipation (id, team, person) VALUES (115, 243601, 243601); |
149 | INSERT INTO teamparticipation (id, team, person) VALUES (116, 53, 53); |
150 | INSERT INTO teamparticipation (id, team, person) VALUES (117, 55, 55); |
151 | INSERT INTO teamparticipation (id, team, person) VALUES (118, 17, 17); |
152 | |
153 | === modified file 'lib/canonical/launchpad/doc/vocabulary-json.txt' |
154 | --- lib/canonical/launchpad/doc/vocabulary-json.txt 2010-12-06 23:18:20 +0000 |
155 | +++ lib/canonical/launchpad/doc/vocabulary-json.txt 2011-04-21 10:44:38 +0000 |
156 | @@ -65,7 +65,7 @@ |
157 | >>> view = create_vocabulary_view(form) |
158 | >>> result = simplejson.loads(view()) |
159 | >>> result['total_size'] |
160 | - 7 |
161 | + 6 |
162 | >>> len(result['entries']) |
163 | 5 |
164 | |
165 | @@ -84,7 +84,7 @@ |
166 | "value": "commercial-admins" |
167 | } |
168 | ], |
169 | - "total_size": 7 |
170 | + "total_size": 6 |
171 | } |
172 | |
173 | >>> form = dict(name='ValidPersonOrTeam', search_text='admin', |
174 | @@ -101,7 +101,7 @@ |
175 | "value": "name16" |
176 | } |
177 | ], |
178 | - "total_size": 7 |
179 | + "total_size": 6 |
180 | } |
181 | |
182 | Long descriptions will be truncated. |
183 | |
184 | === modified file 'lib/canonical/launchpad/pagetests/README.txt' |
185 | --- lib/canonical/launchpad/pagetests/README.txt 2009-08-13 19:03:36 +0000 |
186 | +++ lib/canonical/launchpad/pagetests/README.txt 2011-04-21 10:44:38 +0000 |
187 | @@ -114,9 +114,6 @@ |
188 | >>> browser = setupBrowser( |
189 | ... auth='Basic celso.providelo@canonical.com:cprov') |
190 | |
191 | - for Marilize Coetzee (shipit admin) |
192 | - >>> browser = setupBrowser(auth='Basic marilize@hbd.com:test') |
193 | - |
194 | for David Allouche (member of vcs-imports) |
195 | >>> browser = setupBrowser(auth='Basic david.allouche@canonical.com:test') |
196 | |
197 | |
198 | === modified file 'lib/lp/bugs/doc/bugnotification-sending.txt' |
199 | --- lib/lp/bugs/doc/bugnotification-sending.txt 2011-03-25 03:26:29 +0000 |
200 | +++ lib/lp/bugs/doc/bugnotification-sending.txt 2011-04-21 10:44:38 +0000 |
201 | @@ -352,16 +352,19 @@ |
202 | If a team without a contact address is subscribed to the bug, the |
203 | notification will be sent to all members individually. |
204 | |
205 | - >>> from lp.registry.interfaces.person import IPersonSet |
206 | - >>> shipit_admins = getUtility(IPersonSet).getByName('shipit-admins') |
207 | - >>> shipit_admins.preferredemail is None |
208 | + >>> with lp_dbuser(): |
209 | + ... owner = factory.makePerson(email='owner@example.com') |
210 | + ... addressless = factory.makeTeam( |
211 | + ... owner=owner, name='addressless', |
212 | + ... displayname='Addressless Team') |
213 | + >>> addressless.preferredemail is None |
214 | True |
215 | - >>> for member in shipit_admins.activemembers: |
216 | + >>> for member in addressless.activemembers: |
217 | ... print member.preferredemail.email |
218 | - marilize@hbd.com |
219 | + owner@example.com |
220 | |
221 | >>> with lp_dbuser(): |
222 | - ... ignored = bug_one.subscribe(shipit_admins, shipit_admins) |
223 | + ... ignored = bug_one.subscribe(addressless, addressless) |
224 | ... comment = getUtility(IMessageSet).fromText( |
225 | ... 'subject', 'a comment.', sample_person, |
226 | ... datecreated=ten_minutes_ago) |
227 | @@ -377,8 +380,8 @@ |
228 | ... for message in messages: |
229 | ... print message['To'] |
230 | foo.bar@canonical.com |
231 | - marilize@hbd.com |
232 | mark@example.com |
233 | + owner@example.com |
234 | support@ubuntu.com |
235 | test@canonical.com |
236 | |
237 | @@ -613,10 +616,10 @@ |
238 | ... |
239 | X-Launchpad-Message-Rationale: Subscriber (mozilla-firefox in Ubuntu) |
240 | ... |
241 | - INFO Notifying marilize@hbd.com about bug 1. |
242 | - ... |
243 | INFO Notifying mark@example.com about bug 1. |
244 | ... |
245 | + INFO Notifying owner@example.com about bug 1. |
246 | + ... |
247 | INFO Notifying support@ubuntu.com about bug 1. |
248 | ... |
249 | INFO Notifying test@canonical.com about bug 1. |
250 | @@ -649,10 +652,10 @@ |
251 | <BLANKLINE> |
252 | Title: |
253 | Firefox does not support SVG |
254 | - INFO Notifying marilize@hbd.com about bug 1. |
255 | - ... |
256 | INFO Notifying mark@example.com about bug 1. |
257 | ... |
258 | + INFO Notifying owner@example.com about bug 1. |
259 | + ... |
260 | INFO Notifying support@ubuntu.com about bug 1. |
261 | ... |
262 | INFO Notifying test@canonical.com about bug 1. |
263 | @@ -863,6 +866,7 @@ |
264 | ... print message.get('X-Launchpad-Bug-Commenters') |
265 | name12 |
266 | |
267 | + >>> from lp.registry.interfaces.person import IPersonSet |
268 | >>> foo_bar = getUtility(IPersonSet).getByEmail('foo.bar@canonical.com') |
269 | |
270 | >>> from lp.bugs.interfaces.bugmessage import IBugMessageSet |
271 | @@ -1204,12 +1208,6 @@ |
272 | mozilla-firefox in Ubuntu. |
273 | ... |
274 | ---------------------------------------------------------------------- |
275 | - To: marilize@hbd.com |
276 | - ... |
277 | - You received this bug notification because you are a member of ShipIt |
278 | - Administrators, which is a direct subscriber. |
279 | - ... |
280 | - ---------------------------------------------------------------------- |
281 | To: mark@example.com |
282 | ... |
283 | You received this bug notification because you are a bug assignee. |
284 | @@ -1227,6 +1225,12 @@ |
285 | Firefox. |
286 | ... |
287 | ---------------------------------------------------------------------- |
288 | + To: owner@example.com |
289 | + ... |
290 | + You received this bug notification because you are a member of Addressless |
291 | + Team, which is a direct subscriber. |
292 | + ... |
293 | + ---------------------------------------------------------------------- |
294 | To: support@ubuntu.com |
295 | ... |
296 | You received this bug notification because you are a member of Ubuntu |
297 | @@ -1266,12 +1270,6 @@ |
298 | mozilla-firefox in Ubuntu. |
299 | ... |
300 | ---------------------------------------------------------------------- |
301 | - To: marilize@hbd.com |
302 | - ... |
303 | - You received this bug notification because you are a member of ShipIt |
304 | - Administrators, which is a direct subscriber. |
305 | - ... |
306 | - ---------------------------------------------------------------------- |
307 | To: mark@example.com |
308 | ... |
309 | You received this bug notification because you are a bug assignee. |
310 | @@ -1291,6 +1289,12 @@ |
311 | Matching subscriptions: Allow-comments filter |
312 | ... |
313 | ---------------------------------------------------------------------- |
314 | + To: owner@example.com |
315 | + ... |
316 | + You received this bug notification because you are a member of Addressless |
317 | + Team, which is a direct subscriber. |
318 | + ... |
319 | + ---------------------------------------------------------------------- |
320 | To: support@ubuntu.com |
321 | ... |
322 | You received this bug notification because you are a member of Ubuntu |
323 | @@ -1327,21 +1331,21 @@ |
324 | mozilla-firefox in Ubuntu. |
325 | ... |
326 | ---------------------------------------------------------------------- |
327 | - To: marilize@hbd.com |
328 | + To: mark@example.com |
329 | + ... |
330 | + You received this bug notification because you are a bug assignee. |
331 | + ... |
332 | + ---------------------------------------------------------------------- |
333 | + To: owner@example.com |
334 | From: Sample Person <...@bugs.launchpad.net> |
335 | Subject: [Bug 1] subject |
336 | - X-Launchpad-Message-Rationale: Subscriber @shipit-admins |
337 | + X-Launchpad-Message-Rationale: Subscriber @addressless |
338 | <BLANKLINE> |
339 | no comment for no-priv. |
340 | <BLANKLINE> |
341 | -- |
342 | - You received this bug notification because you are a member of ShipIt |
343 | - Administrators, which is a direct subscriber. |
344 | - ... |
345 | - ---------------------------------------------------------------------- |
346 | - To: mark@example.com |
347 | - ... |
348 | - You received this bug notification because you are a bug assignee. |
349 | + You received this bug notification because you are a member of Addressless |
350 | + Team, which is a direct subscriber. |
351 | ... |
352 | ---------------------------------------------------------------------- |
353 | To: support@ubuntu.com |
354 | @@ -1379,12 +1383,6 @@ |
355 | http://bugs.launchpad.dev/bugs/1 |
356 | ... |
357 | ---------------------------------------------------------------------- |
358 | - To: marilize@hbd.com |
359 | - ... |
360 | - You received this bug notification because you are a member of ShipIt |
361 | - Administrators, which is a direct subscriber. |
362 | - ... |
363 | - ---------------------------------------------------------------------- |
364 | To: mark@example.com |
365 | ... |
366 | You received this bug notification because you are a bug assignee. |
367 | @@ -1408,6 +1406,12 @@ |
368 | Matching subscriptions: Allow-comments filter |
369 | ... |
370 | ---------------------------------------------------------------------- |
371 | + To: owner@example.com |
372 | + ... |
373 | + You received this bug notification because you are a member of Addressless |
374 | + Team, which is a direct subscriber. |
375 | + ... |
376 | + ---------------------------------------------------------------------- |
377 | To: support@ubuntu.com |
378 | ... |
379 | You received this bug notification because you are a member of Ubuntu |
380 | @@ -1444,26 +1448,24 @@ |
381 | mozilla-firefox in Ubuntu. |
382 | ... |
383 | ---------------------------------------------------------------------- |
384 | - To: marilize@hbd.com |
385 | + To: mark@example.com |
386 | + ... |
387 | + You received this bug notification because you are a bug assignee. |
388 | + ... |
389 | + ---------------------------------------------------------------------- |
390 | + To: owner@example.com |
391 | From: Sample Person <...@bugs.launchpad.net> |
392 | Subject: [Bug 1] Re: Firefox does not support SVG |
393 | - X-Launchpad-Message-Rationale: Subscriber @shipit-admins |
394 | + X-Launchpad-Message-Rationale: Subscriber @addressless |
395 | <BLANKLINE> |
396 | ** Summary changed: |
397 | - Whatever |
398 | + Whatever else |
399 | <BLANKLINE> |
400 | -- |
401 | - You received this bug notification because you are a member of ShipIt |
402 | - Administrators, which is a direct subscriber. |
403 | + You received this bug notification because you are a member of Addressless |
404 | + Team, which is a direct subscriber. |
405 | http://bugs.launchpad.dev/bugs/1 |
406 | - <BLANKLINE> |
407 | - Title: |
408 | - Firefox does not support SVG |
409 | - ---------------------------------------------------------------------- |
410 | - To: mark@example.com |
411 | - ... |
412 | - You received this bug notification because you are a bug assignee. |
413 | ... |
414 | ---------------------------------------------------------------------- |
415 | To: support@ubuntu.com |
416 | @@ -1507,12 +1509,6 @@ |
417 | http://bugs.launchpad.dev/bugs/1 |
418 | ... |
419 | ---------------------------------------------------------------------- |
420 | - To: marilize@hbd.com |
421 | - ... |
422 | - You received this bug notification because you are a member of ShipIt |
423 | - Administrators, which is a direct subscriber. |
424 | - ... |
425 | - ---------------------------------------------------------------------- |
426 | To: mark@example.com |
427 | ... |
428 | You received this bug notification because you are a bug assignee. |
429 | @@ -1532,6 +1528,12 @@ |
430 | Firefox. |
431 | ... |
432 | ---------------------------------------------------------------------- |
433 | + To: owner@example.com |
434 | + ... |
435 | + You received this bug notification because you are a member of Addressless |
436 | + Team, which is a direct subscriber. |
437 | + ... |
438 | + ---------------------------------------------------------------------- |
439 | To: support@ubuntu.com |
440 | ... |
441 | You received this bug notification because you are a member of Ubuntu |
442 | |
443 | === modified file 'lib/lp/bugs/doc/bugnotificationrecipients.txt' |
444 | --- lib/lp/bugs/doc/bugnotificationrecipients.txt 2011-03-23 16:28:51 +0000 |
445 | +++ lib/lp/bugs/doc/bugnotificationrecipients.txt 2011-04-21 10:44:38 +0000 |
446 | @@ -196,8 +196,8 @@ |
447 | >>> vcs_imports = personset.getByName("vcs-imports") |
448 | >>> recipients.addRegistrant(vcs_imports, gnomebaker) |
449 | |
450 | - >>> shipit_admins = personset.getByName("shipit-admins") |
451 | - >>> recipients.addDirectSubscriber(shipit_admins) |
452 | + >>> commercial_admins = personset.getByName("commercial-admins") |
453 | + >>> recipients.addDirectSubscriber(commercial_admins) |
454 | |
455 | You'll notice that the rationales this time state clearly which team |
456 | membership is causing us to send mail. |
457 | @@ -208,6 +208,10 @@ |
458 | You received this bug notification because you are a member |
459 | of testing Spanish team, which is a subscriber of a |
460 | duplicate bug. |
461 | + commercial-member@canonical.com |
462 | + Subscriber @commercial-admins |
463 | + You received this bug notification because you are a member |
464 | + of Commercial Subscription Admins, which is a direct subscriber. |
465 | david.allouche@canonical.com |
466 | Registrant (gnomebaker) @vcs-imports |
467 | You received this bug notification because you are a member |
468 | @@ -222,10 +226,6 @@ |
469 | You received this bug notification because you are a member |
470 | of testing Spanish team, which is a subscriber of a |
471 | duplicate bug. |
472 | - marilize@hbd.com |
473 | - Subscriber @shipit-admins |
474 | - You received this bug notification because you are a member |
475 | - of ShipIt Administrators, which is a direct subscriber. |
476 | mark@example.com |
477 | Subscriber of Duplicate @testing-spanish-team |
478 | You received this bug notification because you are a member |
479 | |
480 | === modified file 'lib/lp/registry/doc/person.txt' |
481 | --- lib/lp/registry/doc/person.txt 2011-01-20 17:05:12 +0000 |
482 | +++ lib/lp/registry/doc/person.txt 2011-04-21 10:44:38 +0000 |
483 | @@ -184,23 +184,23 @@ |
484 | setContactAddress() rather than setPreferredEmail() here, since the |
485 | latter can be used only for people and the former only for teams) |
486 | |
487 | - >>> shipit_admins = personset.getByName('shipit-admins') |
488 | - >>> shipit_admins.account_status |
489 | + >>> team = factory.makeTeam(name='foo', displayname='foobaz') |
490 | + >>> team.account_status |
491 | <DBItem AccountStatus.NOACCOUNT... |
492 | |
493 | - >>> email = emailset.new('foo@baz.com', shipit_admins) |
494 | - >>> shipit_admins.setContactAddress(email) |
495 | + >>> email = emailset.new('foo@baz.com', team) |
496 | + >>> team.setContactAddress(email) |
497 | >>> email.status |
498 | <DBItem EmailAddressStatus.PREFERRED... |
499 | |
500 | - >>> shipit_admins.account_status |
501 | + >>> team.account_status |
502 | <DBItem AccountStatus.NOACCOUNT... |
503 | |
504 | Unlike people, teams don't need a contact address, so we can pass None |
505 | to setContactAddress() to leave a team without a contact address. |
506 | |
507 | - >>> shipit_admins.setContactAddress(None) |
508 | - >>> print shipit_admins.preferredemail |
509 | + >>> team.setContactAddress(None) |
510 | + >>> print team.preferredemail |
511 | None |
512 | |
513 | When a new sourcepackage is imported and a Person entry has to be |
514 | |
515 | === modified file 'lib/lp/registry/doc/teammembership.txt' |
516 | --- lib/lp/registry/doc/teammembership.txt 2011-03-25 23:42:33 +0000 |
517 | +++ lib/lp/registry/doc/teammembership.txt 2011-04-21 10:44:38 +0000 |
518 | @@ -854,11 +854,14 @@ |
519 | >>> list(t3.getDirectAdministrators()) == list(t3.adminmembers) |
520 | True |
521 | |
522 | - >>> shipit_admins = personset.getByName('shipit-admins') |
523 | - >>> shipit_admins.adminmembers.count() == 0 |
524 | + >>> from lp.testing import person_logged_in |
525 | + >>> owner = factory.makePerson() |
526 | + >>> adminless_team = factory.makeTeam(owner=owner) |
527 | + >>> with person_logged_in(owner): |
528 | + ... owner.leave(adminless_team) |
529 | + >>> adminless_team.adminmembers.count() == 0 |
530 | True |
531 | - >>> owner = shipit_admins.teamowner |
532 | - >>> list(shipit_admins.getDirectAdministrators()) == [owner] |
533 | + >>> list(adminless_team.getDirectAdministrators()) == [owner] |
534 | True |
535 | |
536 | Note that the team administrators can contain teams, so if you want to |
537 | |
538 | === modified file 'lib/lp/registry/doc/vocabularies.txt' |
539 | --- lib/lp/registry/doc/vocabularies.txt 2011-03-25 23:42:33 +0000 |
540 | +++ lib/lp/registry/doc/vocabularies.txt 2011-04-21 10:44:38 +0000 |
541 | @@ -992,7 +992,6 @@ |
542 | (u'Other Team', u'Owner'), |
543 | (u'Registry Administrators', u'Mark Shuttleworth'), |
544 | (u'Rosetta Administrators', u'Launchpad Administrators'), |
545 | - (u'ShipIt Administrators', u'Mark Shuttleworth'), |
546 | (u'Simple Team', u'One Membership'), |
547 | (u'Ubuntu Gnome Team', u'Mark Shuttleworth'), |
548 | (u'Ubuntu Security Team', u'Colin Watson'), |
549 | |
550 | === modified file 'lib/lp/registry/stories/vouchers/xx-voucher-redemption.txt' |
551 | --- lib/lp/registry/stories/vouchers/xx-voucher-redemption.txt 2010-10-18 22:24:59 +0000 |
552 | +++ lib/lp/registry/stories/vouchers/xx-voucher-redemption.txt 2011-04-21 10:44:38 +0000 |
553 | @@ -26,19 +26,19 @@ |
554 | Redeem Vouchers for Commercial Subscriptions |
555 | ...Select the project you wish to subscribe... |
556 | |
557 | -Marilize is not an administrator on any projects. When she accesses |
558 | +no-priv is not an administrator on any projects. When she accesses |
559 | the page she is not given the option to redeem a voucher. |
560 | |
561 | - >>> browser = setupBrowser(auth='Basic marilize@hbd.com:test') |
562 | - >>> browser.open('http://launchpad.dev/~marilize/+vouchers') |
563 | + >>> browser = setupBrowser(auth='Basic no-priv@canonical.com:test') |
564 | + >>> browser.open('http://launchpad.dev/~no-priv/+vouchers') |
565 | >>> main = find_main_content(browser.contents) |
566 | >>> print extract_text(main) |
567 | Redeem Vouchers for Commercial Subscriptions... |
568 | - Marilize Coetzee does not own any commercial projects. Only project |
569 | + No Privileges Person does not own any commercial projects. Only project |
570 | owners can redeem vouchers for a project. |
571 | |
572 | A user can access her voucher page but not someone else's. Here |
573 | -Marilize tries to access '+vouchers' on another user and is not |
574 | +no-priv tries to access '+vouchers' on another user and is not |
575 | allowed. |
576 | |
577 | >>> browser.open('http://launchpad.dev/~mark/+vouchers') |
578 | |
579 | === modified file 'utilities/page-performance-report.ini' |
580 | --- utilities/page-performance-report.ini 2010-12-17 21:54:30 +0000 |
581 | +++ utilities/page-performance-report.ini 2011-04-21 10:44:38 +0000 |
582 | @@ -43,7 +43,6 @@ |
583 | API=^https?://api\. |
584 | Public XML-RPC=^https?://xmlrpc\. |
585 | Private XML-RPC=^https?://xmlrpc-private\. |
586 | -Shipit=^https?://shipit\. |
587 | |
588 | [metrics] |
589 | ppr_all=All Launchpad except operational pages |
My only niggle is using a female identifier for no-priv. Fix it, or ignore it, I don't mind.