Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: issue with username in http(s)-svn commit

fsvs
Discussion topic

Back to topic list

Re: issue with username in http(s)-svn commit

Author tekknokrat
Full name Gunnar Thielebein
Date 2008-06-08 10:28:47 PDT
Message Hi Philipp,

> Could you do a "fsvs up -d" and "strace fsvs up" of empty updates, ie. where
> nothing gets fetched? Maybe I find a hint where to look there.

Today I tried to reproduced the issue with username in a pbuilder-chroot
ubuntu- edgy environment.
It asked correctly for the username when I only hit Return for 2 times,
exactly like the svn-client.

I need to test this on the edgy box where this behaviour occurred, when
i am in office again.
Subversion wasn't installed there before. After installing the svn
client and doing svn ls the auth credentials where gathered correctly
from fsvs.

> IIUYC that should be used for the "svn:author" value? I'm not sure whether the
> subversion libraries allow to use *any* value (or restrict to the username,
> or the remote user...), but we can try.
>
>
> How about I make that configurable?
> - Either you use environment variables on your authorized_keys:
> environment="FSVS_AU​THOR=some_user" ssh-rsa ...
> - Or, if that is not specified, it could be taken from /etc/fsvs/config as
> author=some_user
>
>
> Then I could add the special case that a '$' as first character means get
> value from the environment; then /etc/fsvs/config could read
> author=$SUDO_USER
> If the ssh key is used, the environment variable FSVS_AUTHOR is used; else
> $SUDO_USER is taken.
>
>
> How about that?
>
>
That sounds even more flexible than a "user" option!
Will the value also be used if exporting the FSVS_AUTHOR env via
.profile or doing something like
"FSVS_AUTHOR=somename fsvs commit"?

> [ PS: Yes, Marek is a polish name ... but it's my surname :-]
>
>
I am sorry that I mixed up you first and your surname. I think it was
something with friday :-)

Best Wishes,
Gunnar

« Previous message in topic | 4 of 7 | Next message in topic »

Messages

Show all messages in topic

issue with username in http(s)-svn commit tekknokrat Gunnar Thielebein 2008-06-06 08:52:19 PDT
     Re: issue with username in http(s)-svn commit pmarek P.Marek 2008-06-06 10:30:55 PDT
         Re: issue with username in http(s)-svn commit Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-06-06 11:13:12 PDT
         Re: issue with username in http(s)-svn commit tekknokrat Gunnar Thielebein 2008-06-08 10:28:47 PDT
             Re: issue with username in http(s)-svn commit pmarek P.Marek 2008-06-08 22:38:32 PDT
                 Re: issue with username in http(s)-svn commit tekknokrat Gunnar Thielebein 2008-06-10 08:56:54 PDT
                     Re: issue with username in http(s)-svn commit pmarek P.Marek 2008-06-11 10:11:14 PDT
Messages per page: