Page MenuHomePhabricator

Rename (recreate) mailing list for Toolforge-standards-committee
Closed, ResolvedPublic

Description

As part of the Toolforge rebranding, we'd like to rename the mailing list for the Toolforge-standards-committee (formerly Tool-Labs-standards-committee). There is consensus for this change, on our current mailing list.

  • Please create a new list, and transfer all current settings/subscribers/admins over.
    • Name: toolforge-standards-committee@lists.wikimedia.org
  • We don't need mailman archives for the existing list - please delete them.
  • If easy, please create a redirect (autoforward) for the previous tool-labs-standards-committee@lists.wikimedia.org address. If not, no worries.

Thank you!

See also:

Event Timeline

Quiddity created this task.Aug 5 2017, 9:33 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 5 2017, 9:33 PM
Dzahn added a subscriber: Dzahn.May 12 2018, 12:48 AM

You have successfully created the mailing list toolforge-standards-committee and notification has been sent to the list owner pandiculation@gmail.com. You can now:

Visit the list's info page
Visit the list's admin page

[fermium:~] $ sudo /usr/local/sbin/rename_list --help
usage: /usr/local/sbin/rename_list <old list> <new list>
[fermium:~] $ sudo /usr/local/sbin/rename_list tool-labs-standards-committee  toolforge-standards-committee
Going to rename list 'tool-labs-standards-committee' to 'toolforge-standards-committee'. Go ahead? (y/n)
y
First we are creating the new list 'toolforge-standards-committee like any other list. 
Please use your email address as list admin when asked. It will be overwritten later.'. 

/var/lib/mailman/bin/newlist toolforge-standards-committee


Create a new, unpopulated mailing list.

Usage: /var/lib/mailman/bin/newlist [options] [listname [listadmin-addr [admin-password]]]

Options:
..<snip> ..

Note that listnames are forced to lowercase.

List already exists: toolforge-standards-committee
Syncing list config and subscribers from 'tool-labs-standards-committee' to 'toolforge-standards-committee'.

/usr/bin/rsync -avp /var/lib/mailman/lists/tool-labs-standards-committee/ /var/lib/mailman/lists/toolforge-standards-committee/


sending incremental file list
./
config.pck
config.pck.last
pending.pck
request.pck
en/
en/listinfo.html

sent 32,188 bytes  received 126 bytes  64,628.00 bytes/sec
total size is 31,725  speedup is 0.98
Changing the list 'real_name' to 'toolforge-standards-committee' after we copied config over.

echo "real_name = 'toolforge-standards-committee'"  | /var/lib/mailman/bin/config_list -i /dev/stdin toolforge-standards-committee


Copying mbox file from 'tool-labs-standards-committee' to 'toolforge-standards-committee'.

cp /var/lib/mailman/archives/private/tool-labs-standards-committee.mbox/tool-labs-standards-committee.mbox /var/lib/mailman/archives/private/toolforge-standards-committee.mbox/toolforge-standards-committee.mbox


Recreating HTML archives from mbox file for 'toolforge-standards-committee'.

/var/lib/mailman/bin/arch toolforge-standards-committee


..<snip> ..

figuring article archives
2018-April
Updating index files for archive [2017-February]
  Date
  Subject
  Author
  Thread
Computing threaded index
Updating HTML for article 0
Updating HTML for article 6
Updating HTML for article 7
Updating HTML for article 8
Updating HTML for article 9
Updating HTML for article 12
Updating HTML for article 13
Updating HTML for article 1
Updating HTML for article 2
Updating HTML for article 3
Updating HTML for article 10
Updating HTML for article 11
Updating HTML for article 4
Updating HTML for article 5
Updating index files for archive [2017-March]
  Date
  Subject
  Author
  Thread
Computing threaded index
Updating HTML for article 14
Updating HTML for article 15
Updating HTML for article 16
Updating index files for archive [2017-July]
  Date
  Subject
  Author
  Thread
Computing threaded index
Updating HTML for article 17
Updating HTML for article 18
Updating HTML for article 19
Updating index files for archive [2017-August]
  Date
  Subject
  Author
  Thread
Computing threaded index
Updating HTML for article 20
Updating HTML for article 21
Updating HTML for article 22
Updating HTML for article 23
Updating HTML for article 24
Updating HTML for article 25
Updating HTML for article 26
Updating index files for archive [2018-April]
  Date
  Subject
  Author
  Thread
Computing threaded index
Updating HTML for article 27
Updating HTML for article 28
Updating HTML for article 29
Updating HTML for article 30
Updating HTML for article 31
Updating HTML for article 32
Updating HTML for article 33
Updating HTML for article 34
Pickling archive state into /var/lib/mailman/archives/private/toolforge-standards-committee/pipermail.pck
Making sure mbox file is owned by list:list.

chown list:list /var/lib/mailman/archives/private/toolforge-standards-committee.mbox/toolforge-standards-committee.mbox


Adding 'tool-labs-standards-committee@lists.wikimedia.org' to acceptable aliases on 'toolforge-standards-committee'.

echo "acceptable_aliases = 'tool-labs-standards-committee@lists.wikimedia.org'"  | /var/lib/mailman/bin/config_list -i /dev/stdin toolforge-standards-committee



Please add the following code to './files/exim/listserver_aliases':
--------

tool-labs-standards-committee: toolforge-standards-committee 
--------

Please add the following code to './modules/mailman/templates/lists.wikimedia.org.org':
--------

Redirect permanent /mailman/listinfo/tool-labs-standards-committee https://<%= @lists_servername %>/mailm
an/listinfo/toolforge-standards-committee
--------


To finish this please upload the code changes above to Gerrit and merge.

Test by sending a mail to both tool-labs-standards-committee@lists.wikimedia.org and toolforge-standards-committee@lists.wikimedia.org.

Check the listinfo pages at https://lists.wikimedia.org/mailman/listinfo/tool-labs-standards-committee and https://lists.wikimedia.org/mailman/listinfo/toolforge-standards-committee

Don't forget to update the ticket and that should be all. Bye.

[fermium:~] $
Dzahn added a comment.May 12 2018, 1:28 AM

Please create a new list, and transfer all current settings/subscribers/admins over.

done!

https://lists.wikimedia.org/mailman/listinfo/toolforge-standards-committee

exists now and the script should have copied everything over.

You can see on the list info page how:

toolforge-standards-committee list run by pandiculation at gmail.com, huji.huji at gmail.com
toolforge-standards-committee administrative interface (requires authorization)

If easy, please create a redirect (autoforward) for the previous tool-labs-standards-committee@lists.wikimedia.org address. If not, no worries.

Done with https://gerrit.wikimedia.org/r/#/c/432709/

https://lists.wikimedia.org/mailman/listinfo/tool-labs-standards-committee now redirects

and the email alias exists in exim so mail should forward (and be accepted by the list since that was added to list config).

We don't need mailman archives for the existing list - please delete them.

Don't need or "it's really important that they are deleted"?

They are automatically copied over and we would have to go out of our way to actively destroy them, so i left them and would suggest to leave it at that unless there are important reasons like leaked private data.

https://lists.wikimedia.org/mailman/private/toolforge-standards-committee/

Note: None of this was done "manual", all i did was run the rename script from (https://wikitech.wikimedia.org/wiki/Mailman#Rename_a_mailing_list

Dzahn closed this task as Resolved.May 12 2018, 1:29 AM
Dzahn claimed this task.