[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-cvs] [RenamingProjectGroup] (edit) syntax
From: |
Beuc |
Subject: |
[Savannah-cvs] [RenamingProjectGroup] (edit) syntax |
Date: |
Wed, 30 Jan 2008 20:14:46 +0000 |
??changed:
-Renaming a Project Group:
-
- First, rename the group in the database:
-
- * https://savannah.nongnu.org/admin/groupedit.php?group_id=id
-
- * or use mysql directly::
-
- update groups set unix_group_name="newname" where group_id="id" and
unix_group_name="oldname";
-
- Change the system group name, so that Savane doesn't create a new group:
-
- * Change /subsystems/accounts/etc/group
-
- Use the semi-automated script, at '~/deleted-projects/rename_projet.sh'
(don't use as-is, it needs serious updating)
-
- Mailing-lists:
-
- * http://list.org/faq.html ("Q. How do I rename a list?") - apparently it's
pretty messy to cleany 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.
-[22 more lines...]
========================
Renaming a Project Group
========================
Frontend
--------
First, rename the group in the database:
* https://savannah.nongnu.org/admin/groupedit.php?group_id=id
* or use mysql directly::
update groups set unix_group_name="newname" where group_id="id" and
unix_group_name="oldname";
Backend
-------
Change the system group name, so that Savane doesn't create a new group:
* Change /subsystems/accounts/etc/group
Use the automated script, at ``~/infra/maintenance/rename_project.sh``
Mailing-lists
-------------
http://list.org/faq.html ("Q. How do I rename a list?") - apparently it's
pretty messy to cleany 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/lib/mailman/lists/$new]; then exit 1; fi
# address@hidden
mv /var/lib/mailman/lists/$old /var/lib/mailman/lists/$new
mv /var/mailman/archives/public/$old /var/mailman/archives/public/$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
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
# address@hidden
mv mboxes/$old mboxes/$new
mv html/$old html/$new
Webpages
--------
* Ask sysadmin to rename www.nongnu.org/group or www.gnu.org/software/group
--
forwarded from
https://savannah.gnu.org/maintenance/address@hidden://savannah.gnu.org/maintenance
- [Savannah-cvs] [RenamingProjectGroup] (edit) syntax,
Beuc <=