AW: Re: What are people for? users and e-mail adresses

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

AW: Re: What are people for? users and e-mail adresses

Bantle, Thomas (IZLBW Extern)
Hello,
 
like my colleague explained, unfortunately your snapshot built do not fix the problem with the user names and the 'people' in Hudson with a backslash:
First, we are using Linux for Hudson.
 
In the customers environment, we must use the structure for the SVN user as 'WINDOWSDOMAIN\USER'.
My idea is, that you remove the backslash in all parts where the user is used as directory or URL:
creating the Hudson user for the 'People', searching the e-Mail adress in the build process, in 'Recent Changes' clicking on the SVN user behind the changes to find the correct directory, create the user directory in HUDSON_HOME/users/...
 
I can create the directory manually with a backslash and can see it in Hudson, but I think to use a directory name with a backslash will not be a good idea.
 
Thomas


Von: Marcus Mattersdorfer [mailto:[hidden email]]
Gesendet: Montag, 11. Dezember 2006 11:10
An: [hidden email]
Betreff: Re: What are people for? users and e-mail adresses

2006/12/9, Kohsuke Kawaguchi <[hidden email]>:
Bantle, Thomas (IZLBW Extern) wrote:

> I have the same problem: I have only one user in the people and no
> e-mail for broken builds to the checkin user. The reason seams to be
> that our SVN users have the following structure: WINDOWSDOMAIN\UserName
> (with back slash). Hudson knows the user who checked in (e.g.:
> WINDOWSDOMAIN\UserName).Hudson tries to create a folder with this name
> in HUDSON_HOME/users/, and that is not possible with the back slash on
> Windows! On Linux it is possible to create a directory with this name,
> but Hudson (TomCat) can not find this directory. Do you have a solution
> for this problem? Can you cast the back slash for the Windows domain
> name in Hudson?

I see. I never thought about the possibility that the user name might
include '\', hence the problem.

I just committed a fix in the code. Can you try the snapshot build and
see if it fixes the problem?

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]




Hello,

Thomas is a colleague of me. He is on a training this week - so I installed the snapshot and tried it. But sorry - it doesn't work. I am getting a 404 error when clickong on a people-link, because there is no directory for this user.

Even if I create a directory "WINDOWSDOMAIN\UserName" (with a valid config.xml) hudson (better tomcat) says 404.


Greetings,
Marcus
Reply | Threaded
Open this post in threaded view
|

Re: AW: Re: What are people for? users and e-mail adresses

Kohsuke Kawaguchi-2

Thanks. I'm sorry for a delay in response.

I did apply some fix back then, but I didn't realize that it didn't fix
the problem. I can't reproduce the problem locally, so that's one of the
reasons why it's hard to fix this correctly.

I reapplied fix so that it works in a slightly different way. I hope
this would let you going.


Bantle, Thomas (IZLBW Extern) wrote:

> Hello,
>  
> like my colleague explained, unfortunately your snapshot built do not
> fix the problem with the user names and the 'people' in Hudson with a
> backslash:
> First, we are using Linux for Hudson.
>  
> In the customers environment, we must use the structure for the SVN user
> as 'WINDOWSDOMAIN\USER'.
> My idea is, that you remove the backslash in all parts where the user is
> used as directory or URL:
> creating the Hudson user for the 'People', searching the e-Mail adress
> in the build process, in 'Recent Changes' clicking on the SVN user
> behind the changes to find the correct directory, create the user
> directory in HUDSON_HOME/users/...
>  
> I can create the directory manually with a backslash and can see it in
> Hudson, but I think to use a directory name with a backslash will not be
> a good idea.
>  
> Thomas
>
> ________________________________
>
> Von: Marcus Mattersdorfer [mailto:[hidden email]]
> Gesendet: Montag, 11. Dezember 2006 11:10
> An: [hidden email]
> Betreff: Re: What are people for? users and e-mail adresses
>
>
> 2006/12/9, Kohsuke Kawaguchi <[hidden email]>:
>
> Bantle, Thomas (IZLBW Extern) wrote:
> > I have the same problem: I have only one user in the people
> and no
> > e-mail for broken builds to the checkin user. The reason seams
> to be
> > that our SVN users have the following structure:
> WINDOWSDOMAIN\UserName
> > (with back slash). Hudson knows the user who checked in (e.g.:
> > WINDOWSDOMAIN\UserName).Hudson tries to create a folder with
> this name
> > in HUDSON_HOME/users/, and that is not possible with the back
> slash on
> > Windows! On Linux it is possible to create a directory with
> this name,
> > but Hudson (TomCat) can not find this directory. Do you have a
> solution
> > for this problem? Can you cast the back slash for the Windows
> domain
> > name in Hudson?
>
> I see. I never thought about the possibility that the user name
> might
> include '\', hence the problem.
>
> I just committed a fix in the code. Can you try the snapshot
> build and
> see if it fixes the problem?
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   [hidden email]
>
>
>
>
>
>
> Hello,
>
> Thomas is a colleague of me. He is on a training this week - so I
> installed the snapshot and tried it. But sorry - it doesn't work. I am
> getting a 404 error when clickong on a people-link, because there is no
> directory for this user.
>
> Even if I create a directory "WINDOWSDOMAIN\UserName" (with a valid
> config.xml) hudson (better tomcat) says 404.
>
>
> Greetings,
> Marcus
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment