Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
CVS or SVN for Vanilla project
This discussion has been closed.
Comments
My apache2 conf file for mysvndomain.com is:
As you can see from the "location" declaration, I've created a folder in the root of my system called "subversion". I've chowned that folder to www-data:www-data (the apache user/group on Debian). I su'd to www-data and created a vanilla repository within that folder.
I have created the AuthzSVNAccessFile as follows:
# Directory specific authorization control [groups] owner = mark vanilla-developers = mark [/] @owner = rw [vanilla:/] @vanilla-developers = rw * = r
My idea here is that I want everyone to be able to browse the repository, but I only want the owner or vanilla-developers to be able to read AND write to the repository. I've currently got myself as the owner and I've only added myself as a developer. Others will follow once I get things working properly.
I've already got a system account for "mark". When I created my /etc/apache2/auth-files/lussumo-svn-authfile file, I gave "mark" the same password as the system "mark" account.
Once all of that was done, I did an "apache2ctl graceful" on the server.
Then I went to the repository on my local machine (via command prompt) and ran this:
svn import vanilla http://mysvndomain.com/svn/vanilla/ -m "Initial Import"
It did NOT prompt me for my password. I have tried this multiple times and I can't remember if it prompted me for my password the first time or not. I read through the SVN docs and found that yes, it does store a cache of authenticated users. I changed the svn config so that it should no longer store cached authentications (it should prompt for a username and password every time) just because I wanted to be sure that it wouldn't be open to everyone to modify. The docs said that even after you make those changes, it doesn't work for authenticated users who were already authenticated and you have to go delete those authentications. I went in to where it said in the docs they would be, and there was nothing there at all. So, I don't really know what to make of that.
So, I guess this is the first problem: it never prompted me for authentication.
At that point if I browsed to http://mysvndomain.com/svn/vanilla, it showed me the repository just fine.
After that I went to another folder on my local machine and checked out the repository's trunk folder
svn checkout http://mysvndomain.com/svn/vanilla/trunk vanilla
That worked fine and gave me everything I needed - again, without requiring a username and password (which is what I wanted).
Here is the second problem: I then modified a file and did an svn commit -m "Testing File Modifications". It did NOT prompt me for a username or password and it did the commit successfully.
Here is the third problem: I then created a phpinfo.php file in the root of my local vanilla folder. I did an "svn add phpinfo.php" and that worked. Then when I tried to commit the repository, I got this error:
After googling a LOT, all I can come up with is that this error happens when your virtual server's documentroot and your location declaration's folder overlap so apache doesn't know what to do with the file. And that obviously isn't the case here since my settings do not overlap.
There you have it. Oh, and mysvndomain.com isn't correct, I know. I just don't want you guys to know where I've put it (yet). I'll announce it later when everything is working.
The only overlapping thing I can see is the system account and developer account both being called Mark and having the same password. Unless I read it wrong?