Re: [gitorious] Simple Web Hooks Question / Problem...

2012-05-15 Thread Marius MÃ¥rnes Mathiesen
On Mon, May 14, 2012 at 8:42 PM, Phil Beiler  wrote:

> I followed the simple directions (
> https://gitorious.org/gitorious/pages/WebHooks) but am not having much
> success...  Running a local install of Gitorious on Redhat...
>  fundamentally working fine... installed about 1 month ago...
>
> I gave up - trying to hit my Jenkin's server (the notifyCommit url does
> work as expected)  So I  move to testing with the Request Bin service...
>
> >> hook = repo.hooks.find_by_id 1
> => # http://requestb.in/tc5kbvtc";, last_response: "500 Internal Server Error",
> created_at: "2012-05-14 17:04:18", updated_at: "2012-05-14 18:12:44",
> failed_request_count: 3, successful_request_count: 0>
>
> Here is what I observed...
> 1. Does not appear to have even tried to hit Jenkins or Request Bin
>  (nothing in my Tomcat log for Jenkins)
>

Hmm, it must have hit *something* - something has caused it to fail 3
times, last of which with a 500.

2. Nothing in the rails logs...
>

Error messages would go to the message_processing.log file - anything in
there?


> 3. The failed-request-count variable "stopped" being updated
>

Try setting it to 0 and see if it increments (I seem to remember that we
check the # of failed requests in order to not waste resources on dead
hooks, but  I'm not sure).

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


[gitorious] Local unix user authentication

2012-05-15 Thread caruccio
Hello everybody.

Sorry for my just-joined-and-start-posting behavior, but that was really 
necessary :(

Long story short: I need to authenticate my gitorious web clients against 
local unix users (in fact, it uses LDAP/PAM).

Is it possible? Where can I find help on this topic?
That LDAPAuthenticator is not enough. My IT department is all about 
'internal policies' and I need to fit their requirements. 

PS: I'm completely illiterate in ruby. Maybe it's time to learn some .rb :P

Thanks for any help,
Mateus Caruccio

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] Local unix user authentication

2012-05-15 Thread Rodrigo Rosenfeld Rosas

Em 15-05-2012 16:18, caruccio escreveu:

Hello everybody.

Sorry for my just-joined-and-start-posting behavior, but that was 
really necessary :(


Long story short: I need to authenticate my gitorious web clients 
against local unix users (in fact, it uses LDAP/PAM).


Is it possible? Where can I find help on this topic?
That LDAPAuthenticator is not enough. My IT department is all about 
'internal policies' and I need to fit their requirements.




I don't have a clue about how the current LDAP support works, but 
certainly the people that do have won't be able to help you unless you 
explain why LDAPAuthenticator is not enough.


Best,
Rodrigo.

--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com