Thanks for the update, I'll come back to this during the coming week and
see if I manage to figure why this failed for you. -t
On 06/23/2012 08:27 PM, Diep Pham Van wrote:
My gitorious_hostname is set to git.mycompany.com.
I have `HTTP_CLONING_SUBDOMAIN: git-clone` in gitorious.yml.
I did not change line #22 of site.rb (btw, it is `HTTP_CLONING_SUBDOMAIN
= 'git'`).
So, I did something wrong?
Thank for your quick fix.
On Sat, 23 Jun 2012 20:12:03 +0200
Thomas Kjeldahl Nilsson<[email protected]> wrote:
Hi,
this is strange. Could you just verify one thing for me? Does
gitorious_hostname in your /config/gitorious.yml start with "git.",
while the SITE::HTTP_CLONING settings is something else than "git"?
And have you changed the value in line #22 in /app/models/site.rb
directly, or have you overridden it in some other way? I have trouble
seeing why this validation fails for your setup (I was checking our
unit tests just now).
Meanwhile: if you just need a temporary fix for this, go ahead and
comment out line #34 in /lib/gitorious/diagnostics.rb, which should
remove that check temporarily and it should make the summary page at
/admin/diagnostics/summary return OK for your site (if all the other
tests return ok as well).
cheers,
Thomas
On 06/23/2012 05:06 AM, Diep Pham Van wrote:
Continue on this theard,
My company use subdomain git.mycompany.com for a quite some time and
never have a trouble with pull/push.
So how can I temporarily patch gitorious so I can see everything is
ok in diagnostics page? This is for monitoring purpose, because now,
summary page always said "Error! Something might be broken in your
Gitorious install. See /admin/diagnostics for overview".
Changing subdomain is not an option.
On Fri, 8 Jun 2012 17:30:47 +0700
Diep Pham Van<[email protected]> wrote:
I only pull/push over ssh.
But in my gitorious.yml, I already change:
HTTP_CLONING_SUBDOMAIN: git-clone
So is it safe to use git.admicro.vn and ignore the warning?
On Fri, 8 Jun 2012 12:19:47 +0200
Thomas Kjeldahl Nilsson<[email protected]> wrote:
Hi,
IIRC using a git.* subdomain will cause problems with
cloning/pulling over http, that explanatory line could probably be
a bit clearer about that. :)
cheers,
Thomas
On Fri, Jun 8, 2012 at 11:39 AM, Diep Pham Van<[email protected]>
wrote:
Hi,
In my https://git.mycompany.com/admin/diagnostics, I have this
line "Hostname not bound to a 'git.*' domain false".
In my config/gitorious.yml, I have:
gitorious_client_host: git.mycompany.vn
gitorious_host: git.mycompany.vn
I really don't have a clue what gitorious is complain about.
Can someone shed the light on this?
--
PHẠM Văn Điệp
h : http://favadi.com
e : [email protected]
m : +84 984 339 841
_
ASCII ribbon campaign ( )
- against HTML email X
& vCards / \
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
--
best regards,
Thomas Kjeldahl Nilsson
http://gitorious.com
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]