From Fedora Project Wiki

(Clarify deletion/disable group and who can do it.)
m (Change from .txt to .rst)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{header|infra}}
{{header|infra}}


== Introduction ==
{{admon/note| This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: [http://infrastructure.fedoraproject.org/infra/docs/fedorahosted-project-cleanup.rst FH-Projects-Cleanup Infrastructure SOP] For changes, questions or comments, please contact anyone in the Fedora Infrastructure team. .}}
 
This wiki page will help any sysadmin having a [[Fedorahosted_Infrastructure_SOP | Fedora Hosted]] Project completely removed either because the owner requested to have it removed or for whatever any other issue that would take us to remove a project. This page covers git, Trac, Mailing List and FAS group clean-up.
 
== Our first move ==
 
If you are going to remove a Fedora Hosted's project, please remember to create a folder into /srv/tmp that should follow the following syntax:
 
<pre>
cd /srv/tmp && mkdir $project-hold-until-xx-xx-xx
</pre>
 
where '''xx-xx-xx''' should be substituted with the date everything should be purged away from there. (it happens '''14 days''' after the delete request)
 
== Removing Project's git repo ==
 
Having a git repository removed can be achieved with the following steps:
 
<pre>
ssh uid@fedorahosted.org
cd /git
mv $project.git/ /srv/tmp/$project-hold-until-xx-xx-xx/
</pre>
 
We're done with git!
 
== Removing Trac's project ==
 
Steps are:
 
<pre>
ssh uid@fedorahosted.org
cd /srv/web/trac/projects
mv $project/ /srv/tmp/$project-hold-until-xx-xx-xx/
</pre>
 
and...that's all!
 
== Removing Project's ML ==
 
We have two options here:
 
Delete a list, but keep the archives
<pre>
sudo /usr/lib/mailman/bin/rmlist <listname>
</pre>
 
Delete a list and its archives
<pre>
sudo /usr/lib/mailman/bin/rmlist -a <listname>
</pre>
 
If you are going to completely remove the Mailing List and its archives, please make sure the list is empty and there are no subscribers in it.
 
== FAS Group Removal ==
 
Not every Fedora sysadmin can have this done. See [[ISOP:ACCOUNT_DELETION]] for information. You may want to remove the group or simply disable it.


[[Category:Infrastructure SOPs]]
[[Category:Infrastructure SOPs]]
[[Category:Hosted Projects]]

Latest revision as of 19:39, 17 July 2015

This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: FH-Projects-Cleanup Infrastructure SOP For changes, questions or comments, please contact anyone in the Fedora Infrastructure team. .