提问的智慧SVN版 - 提问者必读
发新话题
打印

[原创] SVN配置远程维护工具--取名为ISVNAdmin

补充,

redhat标准自动启动脚本,存放于/etc/init.d目录下
添加进ntsysv命令:  chkconfig --add mono

#!/bin/sh
# description: Mono auto start-stop script.
# chkconfig: - 20 80
#
MONO_HOME=/opt/mono-1.2.5.1
MONO_OWNER=root
if [ ! -f "$MONO_HOME/bin/xsp2" ]
then
    echo "Mono startup: cannot start"
    exit
fi
case "$1" in
    'start')
         su - $MONO_OWNER -c "$MONO_HOME/bin/xsp2 --root /home/svn/isvnadmin --port 10000 --nonstop &"
        ;;
    'stop')
         killall mono
        ;;
esac

TOP

太好了,谢谢楼主,下载测试

TOP

bug反馈

goldpicker 你好!
   使用此工具已有几个月了, 比较好用!
   有一bug也不时出现,, 在修改/增加一人的权限时, 软件会在修改authz文件时,除
  增加了正确的权限, 在文件的末尾,还增加了一个错误的权限,经常的结构为:
   [ ]
   @wangyl =r
  这些导致了subversion 在解析authz文件时,出现错误, 就不能正确登陆了.
  在正常情况下, 在文件的末尾也会增加几行空行,不过这没有影响.
  
  由于此软件一般不是我在使用, 所以, 也没有发现规律.

  有时间可以查一下, 此问题, 解决了麻烦通知一下, 谢谢.
wangyl@teg.cn

TOP

学习了!

TOP

使用这个工具之后,是不是所有库的用户密码和用户权限文件都在一个里面了?

TOP

http://localhost:8083/SVNAdmin/login.aspx
出现如下错误:
Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[HostingEnvironmentException: Failed to access IIS metabase.]
   System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +3492138
   System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9
   System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +163
   System.Web.CachedPathData.GetConfigPathData(String configPath) +382
   System.Web.CachedPathData.GetConfigPathData(String configPath) +243
   System.Web.CachedPathData.GetApplicationPathData() +68
   System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3385647
   System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

TOP

回复 123# 的帖子

最近几个月忙的要死,又是装修,公司事也忙,这个工具的维护没有跟上,本来还打算过年的时候,重开发的。现在要等一等了。

TOP

回复 126# 的帖子

这个错误应当和工具无关,是一个IIS的运行环境的错误,具体原因我尚没有仔细分析,不清楚。如果你能在QQ群上找到我,可以让我看看。

TOP

有没有用svnkit开发的jsp版的?

TOP


如果用Apache如何试用呢??有没有支持apache的版本呢

TOP

so good!!!!

TOP

引用:
原帖由 goldpicker 于 2008-3-4 17:16 发表
最近几个月忙的要死,又是装修,公司事也忙,这个工具的维护没有跟上,本来还打算过年的时候,重开发的。现在要等一等了。
能不能开发一个支持APACHE的???

TOP

楼主你好,我在linux下安装配置环境一切顺利,就是在打开login页面的时候验证码无法显示,请问是什麽问题?
谢谢解答!!

TOP

验证码不能显示的原因很有可能是服务器上缺少一些图形库,导至不能生成图形。

TOP

我安装了有freetype jpeg  gd,不知楼主指的是还有那些。

TOP

apache怎么配置啊

TOP

TortoiseSVN

那请问有没有关于TortoiseSVN远程权限设置的工具?

TOP

楼主,我在添加配置库的时候老是报这个错误,您看是怎么回事?
系统找不到指定的文件。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ComponentModel.Win32Exception: 系统找不到指定的文件。

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。  

堆栈跟踪:


[Win32Exception (0x80004005): 系统找不到指定的文件。]
   System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) +2097
   System.Diagnostics.Process.Start() +140
   web.component.AppUtil.ExecCommandLineCommand(String AFileName, String ACmdParam) in D:\Project\Office\Tools\SvnRemoteControl\web\component\AppUtil.cs:50
   web.component.AppUtil.CreateRepos(String AReposName) in D:\Project\Office\Tools\SvnRemoteControl\web\component\AppUtil.cs:99
   web.ReposManage.LinkButtonReposAdd_Click(Object sender, EventArgs e) in D:\Project\Office\Tools\SvnRemoteControl\web\ReposManage.aspx.cs:33
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +90
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +76
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746

TOP

回复 138# sheercony 的帖子

是不是你刚装的系统,还没有初始的配置文件啊?

TOP


引用:
原帖由 goldpicker 于 2008-6-4 20:42 发表
是不是你刚装的系统,还没有初始的配置文件啊?
初始的配置文件是怎么弄?还有就是我用svn list file命令能读出版本库下的字母目,但是在设置用户权限的时候,点击左边的目录树也是提示找不到文件,无法展开

TOP

发新话题
订阅 我用Subversion - SVN中文论坛 邮件列表:iUseSVN@googlegroups.com
电子邮件:
网站重要事项将会在这个列表进行通知,点击这里浏览存于列表中的所有邮件