NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
nexus2
Apr 05, 2009Follower
Subversion ( SVN ) Add-on
Hello,
Super-Poussin removed the SVN add-on and I was hoping someone (or Super-Poussin) could please update it and bring it back. What was outdated with the old one anyway? I ask because I really don't want to manually enable Root SSH and go through all the steps (I've got a few machines I need to do it on).
Thanks in advance,
Nexus2
Super-Poussin removed the SVN add-on and I was hoping someone (or Super-Poussin) could please update it and bring it back. What was outdated with the old one anyway? I ask because I really don't want to manually enable Root SSH and go through all the steps (I've got a few machines I need to do it on).
Thanks in advance,
Nexus2
108 Replies
Replies have been turned off for this discussion
- stevepiercyAspirant
efalsken wrote: I didn't have any problems with the initial checkin.
Yeah, if I had first RTFM for SVN, and used that import command I would have had no errors.efalsken wrote:
<Location /svn>
DAV svn
SVNParentPath /opt/subversion
SVNListParentPath On
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "ReadyNAS SVN"
Require valid-user
</LimitExcept>
</Location>
I have that exact same config after installing all the addons I listed above. It's interesting that you had to add it. Perhaps there was a revision to the SVN addon that handled this issue after you installed it? Or perhaps one of the addons I installed did that for me? - PlayjoyAspirantFirst, thanks for the add-on!
I have a slight problem with it.
When I commit, I need to enter my admin credentials instead of my regular user credentials.
Any Idea how to change that? - stevepiercyAspirant
Playjoy wrote: When I commit, I need to enter my admin credentials instead of my regular user credentials.
Any Idea how to change that?
Sounds like you installed only the SVN plugin, and not those that allow you to use an arbitrary user.
See the last bullet point under Details in this thread.
http://www.readynas.com/forum/viewtopic.php?f=47&t=33337 - PlayjoyAspirant
stevepiercy wrote: Playjoy wrote: When I commit, I need to enter my admin credentials instead of my regular user credentials.
Any Idea how to change that?
Sounds like you installed only the SVN plugin, and not those that allow you to use an arbitrary user.
See the last bullet point under Details in this thread.
http://www.readynas.com/forum/viewtopic.php?f=47&t=33337
Thanks for your answer.
I only try to access the repository via http/https. Or I assume I try that.
I use https://serveraddres/svn/repo to connect with tortoisesvn, is my assumption incorrect? Is it svn+ssh: because I use a svnclient? - efalskenAspirantNo, you're correct to use http. It dosn't support https out of the box. (hacking your apache configs its possible to add https)
Have you created a repository yet? Did you install the related WebSVN addon? Can you log in using that? Note that you can browse SVN (over http) using just a web browser too. It's useful for debugging sometimes. What error does it show?
On my ReadyNAS, I edited the apache conf file to grant access to an SVN group that I created, and then added users to that svn group. After adding the group (in frontview), edit /etc/frontview/apache/addons/SUBVERSION.conf and change
to
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "ReadyNAS SVN"
Require valid-user
</LimitExcept># Limit write permission to list of valid users.
Commenting out the LimitExcept lines is what blocks anonymous users.
#<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "ReadyNAS SVN"
Require group svnusers
#</LimitExcept> - PlayjoyAspirant
efalsken wrote: No, you're correct to use http. It dosn't support https out of the box. (hacking your apache configs its possible to add https)
Have you created a repository yet? Did you install the related http://www.readynas.com/forum/viewtopic.php?f=47&t=33339]WebSVN addon? Can you log in using that? Note that you can browse SVN (over http) using just a web browser too. It's useful for debugging sometimes. What error does it show?
On my ReadyNAS, I edited the apache conf file to grant access to an SVN group that I created, and then added users to that svn group. After adding the group (in frontview), edit /etc/frontview/apache/addons/SUBVERSION.conf and change
to
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "ReadyNAS SVN"
Require valid-user
</LimitExcept># Limit write permission to list of valid users.
Commenting out the LimitExcept lines is what blocks anonymous users.
#<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "ReadyNAS SVN"
Require group svnusers
#</LimitExcept>
I am very sorry, a bad case of case sensitivity caught me... :oops:
I am able now to update via my regular login, via http as well as https (can't remember fiddling that last in though).
WebSVN is installed, next time I'll use that first to troubleshoot, thanks for the tip! It doesn't give any errors when browsing via a webbrowser to the repository.
If I understand you correctly, commenting out those LimitExcept lines will make it impossible for anonymous users to read or write? - WhoCares_Mentor
Playjoy wrote: If I understand you correctly, commenting out those LimitExcept lines will make it impossible for anonymous users to read or write?
Yes
-Stefan - jchappoAspiranthey, I installed your SVN addon, the php support, and the WebSVN addon.
I created a couple repositories, but I can't access them from a tortoise svn client on my PC. I can view the repositories with the WebSVN addon, but when I try to browse to them with https://nasip/svn/reponame i get a error. Also, when trying to do a checkout of the repo from a tortoise svn client, I get the error: Could not open the requested SVN filesystem.
When I SSH into the NAS, i can do local checkouts just fine using the file:/// URL. But if i try to do a checkout using the https://nasip/svn/reponame URL, I get the error: Could not open the requested SVN filesystem.
I only want to use SVN via Http/Https, please help. - WhoCares_MentorYou have to authenticate using a username / password as defined as a valid user on the NAS. As an alternative you'd have to edit the part of the SVN's http config where it limits access to authenticated users.
-Stefan - jchappoAspiranti get the error after authenticating with a valid username/pass
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!