“This repository is being created”… but it never is.

The HACKING file in Gitorious doesn’t quite make this perfectly clear: If you’re getting “This repository is being created”, it’s because Gitorious doesn’t actually do things like create repositories when you create them through the web interface. It adds an entry to the tasks table in the database, and then a separate process comes around to do the work.

In order to actually do those tasks, you run script/task_performer. If you’re working on a development branch, you need to run

RAILS_ENV=development ruby script/task_performer

And that should do the trick. I guess for a production server, you’d just start a separate process that continually checks for new tasks to do. Not sure if that’s somewhere in the gitorious code. It probably is, I just have to find it.

Advertisements

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: