Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: 1.2.2 release in the near future

fsvs
Discussion topic

Back to topic list

Re: 1.2.2 release in the near future

Author pmarek
Full name P.Marek
Date 2010-02-12 08:30:49 PST
Message Hello Gunnar!

On Friday 12 February 2010 Gunnar Thielebein wrote:
> >> When putting the option definition in options.c, options.h and
> >> options.dox it builds but it don't accept the option.
> >
> > Maybe the name is too long?
>
> Indeed, its the length of the optionname. Is there any reason for a
> restriction of optionname length?
Only because it's inline in the structure.
Just change the "char [16]" to a "char*".
 
> >> It looks like repeating the filter behaviour again. I only wonder where
> >> to start because I don't find a function to extend with the exclude
> >> check. Can you give me a small hint where to start?
> >
> > Do the above hints help?
>
> Yes, that helps a lot. I was wondering if it does make sense to update the
> mtime of directories if this option is active. It's best to reduce it to
> status only st__action() for now.
Ok, fine.
Maybe the option name should reflect that? But perhaps not, in case this
option will be used on commit, too.


> Another issue regarding config_dir.
> I did a test against ssl setup (the same you find in branch).
>
> With no config_dir option set the search path for credential information is
now:
> > /etc/fsvs/svn/auth/s​vn.ssl.server/06efd6​678d902375072f173619​22b4b2
>
> Is the "svn" before "auth" intentional? I could live with that just want to
> know.
Yes, it is. But this is used only if no config_dir option is given, so a
"config_dir=/etc/fsvs" would use "/etc/fsvs/auth".

Is that bad? To hard to explain?

> When config_dir option is set to:
> > config_dir=/etc/fsvs
>
> I get this warning:
> > An error occurred: Malformed file (200002)
> > in hlp__get_svn_config: svn_config_get_config: /etc/fsvs/config:1:
> > Section header expected
Yes, that's why I installed this directory in-between.
Because SVN tries to read the "config" file, which has the wrong format.

My bad; but I don't think that the syntax should be changed now.

BTW, the subversion "config" file is important, because things like "store-
password" and similar can/must be defined there.


> When I use:
> > config_dir=/home/gth​ielebein/.subversion​
>
> It correctly identifies the folder. But a) it ignores my global server file
> in /etc/fsvs/(svn/)auth/server
Yes, there's only a single config directory.
I don't know whether svn_config_get_config() (in hlp__get_svn_config()) can be
called multiple times, to use multiple directories.

How about a symlink from /home/.../server to /etc/...?

> and b) storing of password and ssl-credentials failed:
> > 14:00:45.898952
> > open("/home/gthieleb​ein/.subversion/auth​/svn.ssl.client-pass​phrase/d8354b
> >a99a7d33871875f6​2b3bfb303e", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ENOENT
> > (No such file or directory) 14:02:16.320384
> > open("/home/gthieleb​ein/.subversion/auth​/svn.ssl.client-pass​phrase/d8354b
> >a99a7d33871875f6​2b3bfb303e", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ENOENT
> > (No such file or directory)
Ah, another authentication directory.
 
> Is it hard to create the parent folders within fsvs when they do not
> exists. This would mimic the behaviour of the svn client.
Hmm, always create all directories on a "fsvs url" run? FSVS doesn't know
which kind of authentication is used.

I have the various "mkdir -p" in "make install", but this wasn't there yet.


Regards,

Phil


--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

« Previous message in topic | 12 of 16 | Next message in topic »

Messages

Show all messages in topic

1.2.2 release in the near future pmarek P.Marek 2010-01-30 12:50:26 PST
     Re: 1.2.2 release in the near future tekknokra Gunnar Thielebein 2010-02-04 03:54:19 PST
         Re: 1.2.2 release in the near future pmarek P.Marek 2010-02-04 05:37:43 PST
             Re: 1.2.2 release in the near future pmarek P.Marek 2010-02-04 06:27:31 PST
                 Re: 1.2.2 release in the near future tekknokra Gunnar Thielebein 2010-02-04 08:16:14 PST
                     dpkg/dist-upgrade versioning pmarek P.Marek 2010-02-04 23:34:56 PST
             Re: 1.2.2 release in the near future tekknokra Gunnar Thielebein 2010-02-04 08:34:43 PST
                 Re: 1.2.2 release in the near future pmarek P.Marek 2010-02-04 23:29:58 PST
                     Re: 1.2.2 release in the near future tekknokra Gunnar Thielebein 2010-02-10 10:15:47 PST
                         Re: 1.2.2 release in the near future pmarek P.Marek 2010-02-10 22:17:25 PST
                             Re: 1.2.2 release in the near future tekknokra Gunnar Thielebein 2010-02-12 05:09:34 PST
                                 Re: 1.2.2 release in the near future pmarek P.Marek 2010-02-12 08:30:49 PST
                                     Re: 1.2.2 release in the near future tekknokra Gunnar Thielebein 2010-02-12 11:20:42 PST
                                         Re: 1.2.2 release in the near future pmarek P.Marek 2010-02-13 00:50:01 PST
                                             Re: 1.2.2 release in the near future tekknokra Gunnar Thielebein 2010-02-13 04:13:49 PST
                                                 Re: 1.2.2 release in the near future pmarek P.Marek 2010-02-13 04:50:17 PST
Messages per page: