Remove user from Gitorious. Using script/console to manage Gitorious from BackendBy neokrates, written on October 10, 2010
In current version many user related functions are not accessible from Gitorious Web Interface. You can use ruby console to connect with current Gitorious instance and remove the user.
Login to the Gitorious host. You will likely need the root to do that or at least the user under which Gitorious runs.
locate console|grep script/console
What is your environment’s name
Per default, environment may be called “production”. To find out, you can try the log directory, in my case it is in
/var/www/gitorious/log/. In my case there was production.log.
That is the environment name.
If you guessed your YOUR_ENV_NAME correctly, you get:
Loading production environment (Rails 2.3.5)
Find & delete user
Given your user is “username”, type in console:
user = User.find_by_login "username"
You get smth like:
=> #<User id: 7, login: "username", email: "email@example.com", ... >
to delete type:
Have fun ;)
INCOMING SEARCH TERMS