[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-cvs] [576] move section on renaming lists from RenamingProject
From: |
ineiev |
Subject: |
[Savannah-cvs] [576] move section on renaming lists from RenamingProjectGroup to ListServer |
Date: |
Mon, 13 Feb 2023 03:04:45 -0500 (EST) |
Revision: 576
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=576
Author: ineiev
Date: 2023-02-13 03:04:43 -0500 (Mon, 13 Feb 2023)
Log Message:
-----------
move section on renaming lists from RenamingProjectGroup to ListServer
Modified Paths:
--------------
trunk/sviki/ListServer.mdwn
trunk/sviki/RenamingProjectGroup.mdwn
Modified: trunk/sviki/ListServer.mdwn
===================================================================
--- trunk/sviki/ListServer.mdwn 2023-02-09 12:24:12 UTC (rev 575)
+++ trunk/sviki/ListServer.mdwn 2023-02-13 08:04:43 UTC (rev 576)
@@ -13,7 +13,6 @@
* [[MailingListsInternals]] - the interface between Savannah PHP
frontend and Mailman.
-
General
-------
Some Mailman admin tasks need to be performed on the actual machine
@@ -43,17 +42,17 @@
List creation
-------------
-Project admins can create their own mailing lists through the normal web
+Group admins can create their own mailing lists through the normal web
interface. (This results in an ssh connection to `lists.gnu.org`
and `newlist` being run there; see the [[MailSystem]] page.)
For lists whose names do not follow an allowed pattern, Savannah hackers
must manually run `~/mycreate_list.pl` on lists, and then attach the
-list to the given project using `~/bin/ml.pl` on root@mgt0:
+list to the given group using `~/bin/ml.pl` on root@mgt0:
- ~/bin/ml.pl -a yourlogin -g project -l listname
+ ~/bin/ml.pl -a yourlogin -g group -l listname
# check if there's no error
- ~/bin/ml.pl -a yourlogin -g project -l listname | mysql savane
+ ~/bin/ml.pl -a yourlogin -g group -l listname | mysql savane
Simple aliases, as opposed to mailman lists, can be created in
fp.gnu.org:/com/mailer/aliases.
@@ -122,8 +121,40 @@
Renaming a mailing list
-----------------------
-See [[RenamingProjectGroup]].
+<http://list.org/faq.html> ("Q. How do I
+rename a list?") - apparently it's pretty messy to cleanly rename a list.
+Beware that by renaming a list, you change the archives URLs, and hence
+break lots of links. Stable archive links is something people often care
+about.
+Commands:
+
+ if [ -e /var/mailman/lists/$new ]; then exit 1; fi
+ # list@lists.gnu.org
+ mv /var/mailman/lists/$old /var/mailman/lists/$new
+ mv /var/mailman/archives/private/$old /var/mailman/archives/private/$new
+ mv /var/mailman/archives/private/$old.mbox
/var/mailman/archives/private/$new.mbox
+ if [ -h /var/mailman/archives/public/$old ]; then
+ rm -f /var/mailman/archives/public/$old
+ ln -sf /var/mailman/archives/private/$new
/var/mailman/archives/public/$new
+ fi
+ for i in /var/mailman/data/heldmsg-$old-*; do
+ if echo $i | grep 'heldmsg-'$old'-\([0-9]\+\).pck$' > /dev/null; then
+ mv $i `echo $i | sed
's,heldmsg-'$old'-\([0-9]\+\).pck$,heldmsg-'$new'-\1.pck,'`
+ fi
+ done
+ ssh -l mharc lists.gnu.org
+
+ # mharc@lists.gnu.org
+ mv mbox/$old mbox/$new
+ mv html/$old html/$new
+
+- rename in Savannah database if attached to a Savannah group (using
+ internal0.savannah.gnu.org for this is preferred):
+
+> UPDATE savane.mail\_group\_list SET list\_name='NEW' WHERE
+> list\_name='OLD';
+
Message deletion from archives
------------------------------
Sometimes people ask to remove a message from the archives, because they
Modified: trunk/sviki/RenamingProjectGroup.mdwn
===================================================================
--- trunk/sviki/RenamingProjectGroup.mdwn 2023-02-09 12:24:12 UTC (rev
575)
+++ trunk/sviki/RenamingProjectGroup.mdwn 2023-02-13 08:04:43 UTC (rev
576)
@@ -30,40 +30,8 @@
Mailing lists
-------------
-<http://list.org/faq.html> ("Q. How do I
-rename a list?") - apparently it's pretty messy to cleanly rename a list.
-Beware that by renaming a list, you change the archives URLs, and hence
-break lots of links. Stable archive links is something people often care
-about.
+See the section "Renaming a mailing list" in [[ListServer]].
-Commands:
-
- if [ -e /var/mailman/lists/$new ]; then exit 1; fi
- # list@lists.gnu.org
- mv /var/mailman/lists/$old /var/mailman/lists/$new
- mv /var/mailman/archives/private/$old /var/mailman/archives/private/$new
- mv /var/mailman/archives/private/$old.mbox
/var/mailman/archives/private/$new.mbox
- if [ -h /var/mailman/archives/public/$old ]; then
- rm -f /var/mailman/archives/public/$old
- ln -sf /var/mailman/archives/private/$new
/var/mailman/archives/public/$new
- fi
- for i in /var/mailman/data/heldmsg-$old-*; do
- if echo $i | grep 'heldmsg-'$old'-\([0-9]\+\).pck$' > /dev/null; then
- mv $i `echo $i | sed
's,heldmsg-'$old'-\([0-9]\+\).pck$,heldmsg-'$new'-\1.pck,'`
- fi
- done
- ssh -l mharc lists.gnu.org
-
- # mharc@lists.gnu.org
- mv mbox/$old mbox/$new
- mv html/$old html/$new
-
-- rename in Savannah database if attached to a Savannah group (using
- internal0.savannah.gnu.org for this is preferred):
-
-> UPDATE savane.mail\_group\_list SET list\_name='NEW' WHERE
-> list\_name='OLD';
-
Scripted
--------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-cvs] [576] move section on renaming lists from RenamingProjectGroup to ListServer,
ineiev <=