升级到 FogBugz 7 后,SVN 提交后挂钩已停止工作

发布于 2024-08-12 06:18:11 字数 1010 浏览 7 评论 0原文

我们公司最近将 FogBugz 安装升级到版本 7,下载了最新的提交后文件,并遵循有关将 SVN 与 FogBugz 集成的最新说明(以获取每种情况的修改文件列表)。

但是,我一直无法让他们工作。谁能阐明我可能做错了什么?

谢谢

编辑: 谢谢彼得,我们在 Fogbugs Windows Server 上运行,IIS7 和 SVN 在运行 Windows Server 2000 的单独服务器上运行。

编辑: 我已按照 Rich 建议的故障排除指南进行操作(再次感谢 Rich),并在运行“svnlook log -r $REV $REPOS | cscript /path/to/logBu​​gDataSVN.vbs $REV /var/tmp/svnfile $REPOS”后得到消息“为 Bug ID#11118 添加错误信息”(这是此特定修订版的正确 Bug ID),但 FogBugz 中未呈现此情况的详细信息。我错过了什么吗?


编辑: 自从发布最初的问题以来,我们已将 SVN 安装移动到网络上的另一台计算机 (Ubunutu),以释放 Windows 服务器上的资源,但是我们仍然遇到集成问题。

  1. 按照说明下载脚本
  2. 将脚本移至 hooks 目录并对每个文件应用执行权限 ( sudo chmod +x filename )
  3. 按照链接到“查看 logBu​​gDataSvn.pl 文件是否正常工作...”的演练中的步骤进行操作部分。

我看到“正在为 Bug ID #11118 添加错误信息...”消息,但 FogBugz 中的案例中没有添加任何内容,因此我决定进一步挖掘。我对 Perl 的了解有限,但我已经了解了脚本正在做什么的要点,因此我决定首先检查传递给脚本的参数是否正确。我加入了 ARGV 并打印到标准输出,这给了我:[4394 | /var/tmp/svnfile | .]

我的理解(基于标准输出)是 ARGV[0] 是修订版,ARGV[1] 是日志文件,ARGV[2] 是存储库(?),但这似乎与帖子中的代码不匹配-犯罪。我觉得我一定是做错了什么或者遗漏了一些明显的东西!

Our company have recently upgraded our FogBugz installation to version 7, downloaded the latest post-commit files, and followed the latest instructions on integrating SVN with FogBugz (to get lists of modified files for each case.)

However, I've been unable to get them working. Can anyone shed some light on what i might be doing wrong?

Thanks

Edit:
Thanks Peter, We are running on Fogbugs Windows Server, IIS7 and SVN runs on a seperate server which is runnin Windows Server 2000.

Edit:
I've followed through the troubleshooting guide suggested by Rich (thanks again Rich) and after running "svnlook log -r $REV $REPOS | cscript /path/to/logBugDataSVN.vbs $REV /var/tmp/svnfile $REPOS" get the message "Adding bug info for Bug ID#11118" (which is the correct Bug ID for this particular revision) but no details are being rendered for this case in FogBugz. Am i missing something?


EDIT:
Since posting the original question, we've moved our SVN install to another machine on our network (Ubunutu) to free up resources on our Windows server, however we're still having problems integrating.

  1. Downloaded the scripts as instructed
  2. Moved the scripts to the hooks directory and applied execute permissions on each file ( sudo chmod +x filename )
  3. Followed the steps in the walkthrough you linked up to the "see if logBugDataSvn.pl file is working..." section.

I'm seeing the "Adding bug info for Bug ID #11118..." message but nothing is getting added to the case in FogBugz so I decided to dig a little further. My knowledge of Perl is limited but I've got the gist of what the script is doing so I decided to first check the correct arguments are being passed to the script. I joined ARGV and printed to stdout which gave me: [4394 | /var/tmp/svnfile | .]

My understanding (based on the stdout output) is that ARGV[0] is the revision, ARGV[1] is the logfile and ARGV[2] the repo(?) but this doesn't seem to match the code in post-commit. I feel like i must be getting something wrong or am missing something obvious!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文