Re: [gitorious] LDAP authentication with short user names

2012-09-24 Thread Marius Mårnes Mathiesen
On Fri, Sep 21, 2012 at 6:42 PM, Ken Dreyer ktdre...@ktdreyer.com wrote: On Fri, Sep 21, 2012 at 6:52 AM, Peter Kjellerstedt peter.kjellerst...@axis.com wrote: Couldn’t you just change the validation in app/models/user.rb that validates the length of the login to be between 3 and 40

Re: [gitorious] LDAP authentication with short user names

2012-09-24 Thread Marius Mårnes Mathiesen
On Mon, Sep 24, 2012 at 1:30 PM, Peter Kjellerstedt peter.kjellerst...@axis.com wrote: You might want to consider making this configurable, given that you cannot influence what user names are already in use in, e.g., an existing LDAP directory. E.g., I seriously doubt that our user who has a

Re: [gitorious] Error 2 (net::ERR_FAILED): Unknown error.

2012-09-24 Thread Jacob Blinn
I did but then we realized we had version 2.0.2, so we are now in the process of updating everything. So far we're on 2.2.0 and having nothing like that error. On Saturday, September 22, 2012 7:37:10 AM UTC-7, Ken Dreyer wrote: On Fri, Sep 21, 2012 at 3:34 PM, Jacob Blinn

Re: [gitorious] Error 2 (net::ERR_FAILED): Unknown error.

2012-09-24 Thread Jacob Blinn
OK, Now that we've completely upgraded to 2.3.0, when we try to push this is the error we get: F, [2012-09-24 11:19:27#32728] FATAL -- : SocketError getaddrinfo: Servname not supported for ai_socktype: /usr/lib/ruby/1.8/net/http.rb:560:in `initialize' /usr/lib/ruby/1.8/net/http.rb:560:in

Re: [gitorious] Error 2 (net::ERR_FAILED): Unknown error.

2012-09-24 Thread Jacob Blinn
We're in the process of upgrading from 2.0.2 to 2.3, I'll let you know if it appears again. On Saturday, September 22, 2012 7:37:10 AM UTC-7, Ken Dreyer wrote: On Fri, Sep 21, 2012 at 3:34 PM, Jacob Blinn jbl...@decagon.comjavascript: wrote: We are getting this error whenever we

Re: [gitorious] Error 2 (net::ERR_FAILED): Unknown error.

2012-09-24 Thread Thomas Kjeldahl Nilsson
Hi Jacob, the entire Gitorious repo/file tree should be owned by whatever user owns your other Gitorious processes, the same user defined in gitorious_user in config/gitorious.yml (generally 'git'). So do a 'chown -r git:git *' in the Gitorious root directory (same directory as Gemfile,

Re: [gitorious] defaulting enable_repository_directory_sharding to false on existing sharded installations

2012-09-24 Thread Russell Jackson
Is there any reason why we can't look up the base path from gitorious.yml like so? require 'pathname' require 'yaml' incpath = File.dirname(__FILE__) hooks_realpath = Pathname.new(incpath).realpath yaml_path = File.join(hooks_realpath, .., .., config, gitorious.yml) gitorious_yaml =