This describes the steps necessary to rename a project in Fedora Hosted.
Rename the Trac instance
cd /srv/web/trac/projects mv oldname newname cd newname/conf sed -i -e 's/oldname/newname/' trac.ini cd .. sudo -u apache trac-admin . resync
Rename the git / svn / hg / ... directory
cd /git mv oldname.git newname.git
Rename any old releases directories
cd /srv/web/releases/o/l/oldname (somehow, the newname releases dir gets created; if there were old releases, move them to the new location).
Rename the group in FAS
ssh db2 sudo -u postgres psql fas2 BEGIN; select * from groups where name = '$OLDNAME'; update groups set name = '$NEWNAME' where name = '$OLDNAME'; -- Check that only one row was modified select * from groups where name in ('$OLDNAME', '$NEWNAME'); -- Check that there's only one row and the name == $NEWNAME -- If incorrect, do ROLLBACK; instead of commit COMMIT;