[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svnauthz-validate.c: Tool to validate authz files

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-02-16 23:22:52 CET

Hi,

earlier this week I made the mistake to put a faulty svnaccess.conf file in
production on our server, with the result that none of our developers could
read or commit to the repository anymore ( all our rw access goes through
authz ). Promosing my collegues not to make the same mistake again, I want
to make sure I only put that file in production when it has been validated.

I searched ( and ask on irc ) for a tool to validate the authz file, but
apparently that didn't exist. So I wrote one in C ( based it on svnput.c ),
10 lines long, containing one single API call to svn_repos_authz_read. The
file is attached it to this email as svnauthz-validate.c.
It only works against trunk & svn 1.3, not for any older version of svn.

Maybe this file can be put in the contrib area, although I feel this should
be a built-in feature of one of the svn admin apps ( svnadmin/svnlook or
svnserve? ).

regards,

Lieven.

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

Received on Thu Feb 16 23:31:35 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.