Stephen,

First a general question:  other than JDS, have any other consolidations
indicated that they will be using SVN *long-term*?

More comments in-line:

> Containing language explosion.  Because we've got
>  two major
> components using Python (Mailman and
>  Mercurial), and because
> there's a Python interface to SVN, I'd like the
>  hooks to be
>       written in Python.

I thought the sample pre- and post-commit scripts that come with the
Subversion sources are fine.  I especially like the regular expression-
based rules for defining per user/branch/path access control.  But they
are written in Perl with a Bourne-shell wrapper.  Do you really expect to
be able to restict all scripts used with SVN and Mercurial to Python?

> 3.  Changing the database schema for version 1.0
>  isn't okay.  We're
> doing the web portal development for repository
>  hosting based on
> the console and hosting specifications.  If a
> hook requires new
> data in the schema, it will have to wait for a
>  subsequent delivery.

I don't understand this point.  Can you give an example of
new data in the schema that someone might want for a
hook script?

>   SVN hook initialization
>  Global repository lock sub-hook

Why is this needed?  Doesn't SVN does its own locking?
If you do need this, then you should also have an "unlock
sub-hook" before the finish.

>   Per-user, per-branch permissions check sub-hook
>  SVN hook finishes

The important point for me is how easily can I update
the configuration file that defines the access control rules.
If it can be done with a COMMIT, then great.  If I need to send
a request to an administrator to be actioned in <1 business
day, then I've got problems...


> [] One distinction specific to SVN is that the
> postcommit hook will need
> to inform the system to pull an updated child,
>  since SVN doesn't
> store a clear file HEAD in its server
>  representation.

Does this mean that some of the config files will stored in
the repository, and commiting new versions will immediately
impact the live server?  If so - great.  If not, then why do you
need a clear file representation on the server?  OpenGrok?

Regards,
- Dermot
 
 
This message posted from opensolaris.org
_______________________________________________
tools-discuss mailing list
[email protected]

Reply via email to