You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Res Pons <po...@hotmail.com> on 2007/03/13 19:25:47 UTC

Rolling out svn access/admin file

Hi everyone

I'm about to roll out my svn admin file that I put together.  The file 
basically looks like as follows:

[groups]

admin = usr1, usr2, usr3

Eng = usr2, usr3

[/]
* = r
@admin = usr1

[/proj1]
@Eng = rw

[/proj1/branches]
usr2 = rw

[/proj1/tags]
@Eng = r


Based on the snippet above, if usr1 & 3 are not listed under 
[/proj1/branches]  does that mean no access whatsoever or 'read' based on 
inheritance from [/]?  What if proj2 exists but not listed in this file, 
does that mean everyone's blind to it?  I'm having a hard time understanding 
the inheritance rules.  Right now, I'm serving Subversion wide open out of 
the box running on an Apache server. So users do authenticate but everyone 
has read/write/delete access which is not good.  Help please.

Thanks

Rez

_________________________________________________________________
Find a local pizza place, movie theater, and more�.then map the best route! 
http://maps.live.com/?icid=hmtag1&FORM=MGAC01

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Help needed form SVN client Win32

Posted by Andy Levy <an...@gmail.com>.
On 3/16/07, vcf <vc...@free.fr> wrote:
> Andy Levy a écrit :
> > On 3/15/07, vcf <vc...@free.fr> wrote:
> >> Kevin Grover a écrit :
> >> > How about using a post-commit hook on the server side to
> >> > 1) send an email message and then monitor the email address
> >> > 2) populate an rss feed and monitor that
> >> > 3) something similar...
> >> >
> >> Hello,
> >>
> >> I understand but this methodes can not determine which version is
> >> actually in the local hard disk and if a update is needed.
> >
> > Take #2 a step further.
> >
> > Have your hook push out an RSS feed. Your tray icon app would then
> > pull the RSS feed, check the WC, and pop up the notification if an
> > update is required.
> >
> > Understand that what you're asking to do will require some disk churn
> > every time your app polls for an update.
> >
> >
> Dear Andy,
>
> Thank for your reponse, RSS feed is a good idea but anyway I need to
> known if local copy is uptodate or not regarding the version in the RSS
> feed, so SVNClient function, right ?

Please remember to use Reply to All to keep things on the list.

Yes, you'd still need to use an SVN client API function, but the RSS
feed would eliminate having to constantly poll SVN itself.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Help needed form SVN client Win32

Posted by Andy Levy <an...@gmail.com>.
On 3/15/07, vcf <vc...@free.fr> wrote:
> Kevin Grover a écrit :
> > How about using a post-commit hook on the server side to
> > 1) send an email message and then monitor the email address
> > 2) populate an rss feed and monitor that
> > 3) something similar...
> >
> Hello,
>
> I understand but this methodes can not determine which version is
> actually in the local hard disk and if a update is needed.

Take #2 a step further.

Have your hook push out an RSS feed. Your tray icon app would then
pull the RSS feed, check the WC, and pop up the notification if an
update is required.

Understand that what you're asking to do will require some disk churn
every time your app polls for an update.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Help needed form SVN client Win32

Posted by vcf <vc...@free.fr>.
Kevin Grover a écrit :
> How about using a post-commit hook on the server side to
> 1) send an email message and then monitor the email address
> 2) populate an rss feed and monitor that
> 3) something similar...
>
Hello,

I understand but this methodes can not determine which version is 
actually in the local hard disk and if a update is needed.

Cheers,
Olivier.


>
> On 3/13/07, vcf <vc...@free.fr> wrote:
>> Hello,
>>
>> I need to build a win32 tray application for do notifications when
>> defined project, already on local disk, is changed on server side.
>>
>> I have experimented to call the *svn.exe info --xml $localfolder *and
>> *svn.exe info --xml $**localfolder **->URL*: it is good, I can compare
>> and known if local revision is different from server revision.
>>
>> But it is necessary to install subversion on each computers and put
>> installation path in $path environment. So I will try now to write a
>> true SVN Win32 client ..I have downloaded  svn-win32-1.4.3_dev.zip and
>> rapidsvn for this API.
>>
>> Compiling minimal_client from svn-win32-1.4.3_dev was hard ( under
>> Visual Studio 2005 ) but done, svn_client_ls() it is running.
>> Compiling and use svncpp API from rapidsvn is too hard, many errors
>> during compilation, not really simply sample.
>>
>> So I search for more examples as minimal_client.c for retrieve local
>> revision of a path and revision of is URL for comparison, for example
>> call svn_client_status2() ?
>>
>> Will be great if sample client sample for win32/VS8.0 be available in
>> the svn-win32-1.4.3_dev pack.
>>
>> Thank you for your help ( and sorry for your English )
>>
>> VCF.
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Help needed form SVN client Win32

Posted by Kevin Grover <ke...@kevingrover.net>.
How about using a post-commit hook on the server side to
1) send an email message and then monitor the email address
2) populate an rss feed and monitor that
3) something similar...


On 3/13/07, vcf <vc...@free.fr> wrote:
> Hello,
>
> I need to build a win32 tray application for do notifications when
> defined project, already on local disk, is changed on server side.
>
> I have experimented to call the *svn.exe info --xml $localfolder *and
> *svn.exe info --xml $**localfolder **->URL*: it is good, I can compare
> and known if local revision is different from server revision.
>
> But it is necessary to install subversion on each computers and put
> installation path in $path environment. So I will try now to write a
> true SVN Win32 client ..I have downloaded  svn-win32-1.4.3_dev.zip and
> rapidsvn for this API.
>
> Compiling minimal_client from svn-win32-1.4.3_dev was hard ( under
> Visual Studio 2005 ) but done, svn_client_ls() it is running.
> Compiling and use svncpp API from rapidsvn is too hard, many errors
> during compilation, not really simply sample.
>
> So I search for more examples as minimal_client.c for retrieve local
> revision of a path and revision of is URL for comparison, for example
> call svn_client_status2() ?
>
> Will be great if sample client sample for win32/VS8.0 be available in
> the svn-win32-1.4.3_dev pack.
>
> Thank you for your help ( and sorry for your English )
>
> VCF.
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Help needed form SVN client Win32

Posted by vcf <vc...@free.fr>.
Hello,

I need to build a win32 tray application for do notifications when 
defined project, already on local disk, is changed on server side.

I have experimented to call the *svn.exe info --xml $localfolder *and 
*svn.exe info --xml $**localfolder **->URL*: it is good, I can compare 
and known if local revision is different from server revision.

But it is necessary to install subversion on each computers and put 
installation path in $path environment. So I will try now to write a 
true SVN Win32 client ..I have downloaded  svn-win32-1.4.3_dev.zip and 
rapidsvn for this API.

Compiling minimal_client from svn-win32-1.4.3_dev was hard ( under 
Visual Studio 2005 ) but done, svn_client_ls() it is running.
Compiling and use svncpp API from rapidsvn is too hard, many errors 
during compilation, not really simply sample.

So I search for more examples as minimal_client.c for retrieve local 
revision of a path and revision of is URL for comparison, for example 
call svn_client_status2() ?

Will be great if sample client sample for win32/VS8.0 be available in 
the svn-win32-1.4.3_dev pack.

Thank you for your help ( and sorry for your English )

VCF.







---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Rolling out svn access/admin file

Posted by Andy Levy <an...@gmail.com>.
On 3/13/07, Res Pons <po...@hotmail.com> wrote:
> Andy
>
> Thanks as always.  I'm more clear on this now.  So if [/proj2] exists and
> not listed, as you mentioned, it inherits 'read' from the root.  But if I do
> list it in the file as
>
> [/proj2]
> usr2 =
>
> then usr2 cannot see it, correct?

Correct, because you've explicitly denied access to that user. All
other users' permissions on /proj2 will inherit from /

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Rolling out svn access/admin file

Posted by Res Pons <po...@hotmail.com>.
Andy

Thanks as always.  I'm more clear on this now.  So if [/proj2] exists and 
not listed, as you mentioned, it inherits 'read' from the root.  But if I do 
list it in the file as

[/proj2]
usr2 =

then usr2 cannot see it, correct?

----Original Message Follows----
From: "Andy Levy" <an...@gmail.com>
To: "Res Pons" <po...@hotmail.com>
CC: users@subversion.tigris.org
Subject: Re: Rolling out svn access/admin file
Date: Tue, 13 Mar 2007 15:44:29 -0400

On 3/13/07, Res Pons <po...@hotmail.com> wrote:
>Hi everyone
>
>I'm about to roll out my svn admin file that I put together.  The file
>basically looks like as follows:
>
>[groups]
>
>admin = usr1, usr2, usr3
>
>Eng = usr2, usr3
>
>[/]
>* = r
>@admin = usr1
>
>[/proj1]
>@Eng = rw
>
>[/proj1/branches]
>usr2 = rw
>
>[/proj1/tags]
>@Eng = r
>
>
>Based on the snippet above, if usr1 & 3 are not listed under
>[/proj1/branches]  does that mean no access whatsoever or 'read' based on
>inheritance from [/]?

The latter. /proj1/branches inherits "everyone read" from /, and then
usr2 gets rw.

>  What if proj2 exists but not listed in this file,
>does that mean everyone's blind to it?

No, it inherits from /

_________________________________________________________________
With tax season right around the corner, make sure to follow these few 
simple tips. 
http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMFebtagline

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Rolling out svn access/admin file

Posted by Andy Levy <an...@gmail.com>.
On 3/13/07, Res Pons <po...@hotmail.com> wrote:
> Hi everyone
>
> I'm about to roll out my svn admin file that I put together.  The file
> basically looks like as follows:
>
> [groups]
>
> admin = usr1, usr2, usr3
>
> Eng = usr2, usr3
>
> [/]
> * = r
> @admin = usr1
>
> [/proj1]
> @Eng = rw
>
> [/proj1/branches]
> usr2 = rw
>
> [/proj1/tags]
> @Eng = r
>
>
> Based on the snippet above, if usr1 & 3 are not listed under
> [/proj1/branches]  does that mean no access whatsoever or 'read' based on
> inheritance from [/]?

The latter. /proj1/branches inherits "everyone read" from /, and then
usr2 gets rw.

>  What if proj2 exists but not listed in this file,
> does that mean everyone's blind to it?

No, it inherits from /

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org