[gitorious] Create Project and Repository by script

2013-01-23 Thread chevdor
Hello, I am trying to find a solution to create new Projects and Respositories by script. So, from the console, I have tried: u = User.find(3) p=Project.create(:title = 'junk', :slug = 'junk', :description = 'junk', :owner = u) This returns: = #Project id: nil, title: junk,

Re: [gitorious] Create Project and Repository by script

2013-01-23 Thread Christian Johansen
Hi, It might please you that Gitorious will soon-ish have an HTTP Api for this. Until then, here are some clues to find your way around the console: * Use save! (with the exclamation mark) to get an exception that tells you what went wrong * You can see if a project is valid by doing

[gitorious] (script/poller)`gem_original_require': no such file to load -- daemons (LoadError)

2013-01-23 Thread samuk Henrique
The error above occurs when i try to run the poller start script (even with -f option), but I already executed the command `gem install daemons`. Also when i run `bundle install` it returns: Errno::EPERM: Operation not permitted - /var/www/gitorious/vendor/cache/rots-babb5559aae8/bin/rots An

[gitorious] quotas

2013-01-23 Thread Ken Dreyer
Hi folks, I just had a developer fill up my Gitorious partition with a very large git repo. The problem was compounded by the fact that I neglected to put /var/gitorious on its own partition... whoops. I remedied that in hindsight :) I'm trying to brainstorm the best way to prevent one repo or