Giter Site home page Giter Site logo

reviewboard-svn-hooks's People

Contributors

laiyonghao avatar

reviewboard-svn-hooks's Issues

urlopen error[Errno:10060]

What steps will reproduce the problem?
1.set the hook
2.change the code and commit,svn error: no review id
3.create review quest (review id:2),review and ship it,then close the review 2 
4.svn commit(comment include:review:2)

What is the expected output? What do you see instead?
expected output:svn commit ok! At revision:XXX
instead:
        svn:Commit blocked by pre-commit hook (exit code 1) 
        with outpue:<urlopen error[Errno:10060]>

What version of the product are you using? On what operating system?
operating system:windows2003
reviewboard:1.6.11
reviewboard-svn-hook:0.2.1_r20
tao-reviewboard

Please provide any additional information below.
no

Original issue reported on code.google.com by [email protected] on 11 Sep 2012 at 9:17

When I commit a file with review id, I found it is committed successfully even if review id is not related to this file(提交时似乎不检查 review id 对应的 review request 是不是真的与提交的文件相匹配,只检查这个 review request 的 ship 状态是不是满足 hook 的要求)

What steps will reproduce the problem?
1. create a.txt and b.txt in local repository path(创建 a.txt 和 b.txt 
在本地的 svn 里)
2. svn add these two files(用 svn add 加上这个两个文件)
3. post-review b.txt, and get a review id(用 post-review 命令行工具对 
b.txt 发送一个请求,并且得到一个 review id)
4. ship this request about b.txt on review board(在 review board 
里对这个 review request 点 ship it) 
5. svn commit a.txt(回到 svn 客户端机器,用 svn 提交 a.txt 
文件,但是 review id 写上第 3 步得到的 review 
id)(在实际操作中,不排除误操作的可能,有可能不小心填
错了别的文件的已经 ship 的 review id)

What is the expected output? What do you see instead?
Fail to commit a.txt because review id is related to b.txt.(提交 a.txt 
失败,因为此时这个 review id 是与 b.txt 相关的)
But actually I do commit a.txt 
successfully.(但是实际上能够提交成功)

What version of the product are you using? On what operating system?
reviewboard-svn-hooks-0.2.1-r20.tar.gz.
post-review and svn on Windows 7.
reviewboard-svn-hooks and svn server on centos 6.2
reviewboard on ubuntu 12.04

Please provide any additional information below.
N/A

Original issue reported on code.google.com by [email protected] on 26 Mar 2013 at 3:08

<urlopen error [Errno 13] Permission denied>

What steps will reproduce the problem?
1. Execution of pre-commit hook during SVN 
commit(https://github.com/shuge/reviewboard-svn-hooks/blob/master/reviewboardsvn
hooks/strict_review.py)

What is the expected output? What do you see instead?
<urlopen error [Errno 13] Permission denied>
在rsp = self._opener.open(r)這一行open url以取得request 
xml時出現權限讀取錯誤
我在centos下wget可成功取得xml
但執行hook時失敗

SVN錯誤訊息
===========
Command: Commit  
Modified: D:1.txt  
Sending content: D:1.txt  
Error: Commit failed (details follow):  
Error: Commit blocked by pre-commit hook (exit code 1) with output:  
Error: <urlopen error [Errno 13] Permission denied>   
http://192.168.0.188/rb/api/review-requests/2/reviews/  
Finished! 



What version of the product are you using? On what operating system?
ReviewBoard: 1.7.6
OS: Centos 6.3
Python 2.6.6

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 18 Mar 2013 at 9:57

发送邮件

我安装好了,可是邮件不能自动发送?

发布或更改请求时自动发送邮件,需要修改什么配置吗?

Original issue reported on code.google.com by [email protected] on 12 Sep 2013 at 2:16

SVN hook report:pkg_resources.DistributionNotFound: reviewboard-svn-hooks==0.2.1-r20

What steps will reproduce the problem?
1. Download the install package, and install.py, set the config, setup the 
pre-commit hook
2. change code at local development environment.
3. svn commit -m "test" 

What is the expected output? What do you see instead?
The commit should be block because the hook, but it report:
Sending        catch\index.php
Sending        new\trad.txt
Transmitting file data ..svn: E165001: Commit failed (details follow):
svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output:
Traceback (most recent call last):
  File "/usr/bin/strict_review", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2710, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 687, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 585, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: reviewboard-svn-hooks==0.2.1-r20


What version of the product are you using? On what operating system?
uname -a : Linux svn 2.6.32-hardened-r22-nsfocus #1 SMP Wed Nov 24 14:31:08 CST 
2010 i686 Intel(R) Xeon(R) CPU E5606 @ 2.13GHz GenuineIntel GNU/Linux
Gentoo linux.
product version: reviewboard-svn-hooks-0.2.1-r20

Please provide any additional information below.
Run the command "/usr/bin/strict_review" as root, it show :
list index out of range
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/reviewboard_svn_hooks-0.2.1_r20-py2.7.egg/reviewboardsvnhooks/strict_review.py", line 198, in main
    _main()
  File "/usr/lib/python2.7/site-packages/reviewboard_svn_hooks-0.2.1_r20-py2.7.egg/reviewboardsvnhooks/strict_review.py", line 175, in _main
    repos = sys.argv[1]
IndexError: list index out of range

Original issue reported on code.google.com by [email protected] on 6 May 2014 at 2:15

怎样下载项目或者代码呢?

What steps will reproduce the problem?
1. 我们现在是计划用reivewboard 提交代码
2. 增加代码注释的验证功能
3. 
可是不知道怎么下载这个插件或者代码,最好是下载代码,��
�为需要添加一个功能
4. 
还有就是我想用eclipse编辑这个项目,不知道可不可有高手简�
��指导一下怎么导入项目

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 18 Mar 2015 at 9:03

svn hook failed

1. svn ci -m "" 遇到错误

错误如下:
Transmitting file data ..svn: Commit failed (details follow):
svn: Commit blocked by pre-commit hook (exit code 1) with output:
Traceback (most recent call last):
  File "/usr/bin/strict_review", line 9, in <module>
    load_entry_point('reviewboard-svn-hooks==0.2.1.post20', 'console_scripts', 'strict_review')()
  File "/usr/lib/python2.6/site-packages/setuptools-12.0.5-py2.6.egg/pkg_resources/__init__.py", line 519, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/site-packages/setuptools-12.0.5-py2.6.egg/pkg_resources/__init__.py", line 2630, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/site-packages/setuptools-12.0.5-py2.6.egg/pkg_resources/__init__.py", line 2310, in load
    return self.resolve()
  File "/usr/lib/python2.6/site-packages/setuptools-12.0.5-py2.6.egg/pkg_resources/__init__.py", line 2316, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.6/site-packages/reviewboard_svn_hooks-0.2.1.post20-py2.6.egg/reviewboardsvnhooks/strict_review.py", line 67, in <module>
    MIN_EXPERT_SHIP_IT_COUNT = conf.getint('rule', 'min_expert_ship_it_count')
  File "/usr/lib64/python2.6/ConfigParser.py", line 340, in getint
    return self._get(section, int, option)
  File "/usr/lib64/python2.6/ConfigParser.py", line 337, in _get
    return conv(self.get(section, option))
ValueError: invalid literal for int() with base 10: ''

Original issue reported on code.google.com by [email protected] on 4 Feb 2015 at 12:21

安装出现问题

你好,请问在ubuntu下安装是出现如下问题
error: SanboxViolcation:mkdir(‘var/log/reviewboard-svn-hooks’,) {}
The package setup scripts has attempted to modify files on your system that are 
not within the EasyInstall build area, and has been aborted.

Original issue reported on code.google.com by [email protected] on 15 Feb 2012 at 10:23

error: SandboxViolation: mkdir('/private/var/log/reviewboard-svn-hooks', 511) {}

在Mac OSX 10.8.5 上安装,出现的错误

sudo easy_install -U reviewboard-svn-hooks 
Password:
Searching for reviewboard-svn-hooks
Reading https://pypi.python.org/simple/reviewboard-svn-hooks/
Best match: reviewboard-svn-hooks 0.2.1-r20
Downloading 
https://pypi.python.org/packages/source/r/reviewboard-svn-hooks/reviewboard-svn-
hooks-0.2.1-r20.zip#md5=9e381b999d2717bad87bfc1d4409eaa9
Processing reviewboard-svn-hooks-0.2.1-r20.zip
Writing /tmp/easy_install-bH5z_L/reviewboard-svn-hooks-0.2.1-r20/setup.cfg
Running reviewboard-svn-hooks-0.2.1-r20/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-bH5z_L/reviewboard-svn-hooks-0.2.1-r20/egg-dist-tmp-RtbUyX
error: SandboxViolation: mkdir('/private/var/log/reviewboard-svn-hooks', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.



Original issue reported on code.google.com by [email protected] on 16 Oct 2013 at 2:34

review-id(8) is already used.

svn ci -m 'review:8'  
正在发送       1/1.php  
传输文件数据 .svn: 提交失败(细节如下):  
svn: 提交 被 pre-commit 钩子阻塞(退出代码 1) 输出:  
review-id(8) is already used.

使用不存在的 id 会报错,使用已存在的 id 会提示 is already 
used,请问怎么可以解决,谢谢!

Original issue reported on code.google.com by [email protected] on 18 Jul 2012 at 6:57

svn hooks error


Traceback (most recent call last):
  File "/usr/bin/strict_review", line 9, in <module>
    load_entry_point('reviewboard-svn-hooks==0.2.1-r20', 'console_scripts',
 'strict_review')()
  File
 "/usr/lib/python2.6/site-packages/setuptools-5.4.1-py2.6.egg/pkg_resources.py",
 line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File
 "/usr/lib/python2.6/site-packages/setuptools-5.4.1-py2.6.egg/pkg_resources.py",
 line 2476, in load_entry_point
    return ep.load()
  File
 "/usr/lib/python2.6/site-packages/setuptools-5.4.1-py2.6.egg/pkg_resources.py",
 line 2190, in load
    ['__name__'])
  File
 "/usr/lib/python2.6/site-packages/reviewboard_svn_hooks-0.2.1_r20-

py2.6.egg/reviewboardsvnhooks/strict_review.py",
 line 72, in <module>
    ignore_path = conf.get('rule', 'ignore_path')
  File "/usr/lib64/python2.6/ConfigParser.py", line 541, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'ignore_path' in section: 'rule'
This error was generated by a custom hook script on the Subversion server.
Please contact your server administrator for help with resolving this issue.

Original issue reported on code.google.com by [email protected] on 1 Aug 2014 at 9:20

review request status changed by system

Dear Hao,

the plug-in is so useful, if it can changed the review request status 
automatically by itself after the review request got enough ship it and code 
was submitted to svn , I think it will be more fine.

thanks again. 

yafa 
12/5 2013

Original issue reported on code.google.com by [email protected] on 5 Dec 2013 at 1:25

“ship it”可以自己点击很多次

1. 创建一个新的审核请求,发给Group 
2. 我是Group中的一员,自己可以Ship it很多次
3. 这样的话,就失去了SVN Hook的限制。
有没有解决的办法,来杜绝这种行为?



Original issue reported on code.google.com by [email protected] on 13 Aug 2014 at 6:58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.