Gerrit插件gitilte安装问题

时间:2017-08-16 12:36:05

标签: plugins ubuntu-16.04 gerrit

新手在ubuntu 16.04上设置Gitiles插件 〜/ gerrit / plugins $ buck build gitiles 并发送以下错误

BUILD FAILED: Buck wasn't able to parse    /home/gerrit2/gerrit/plugins/gitiles/BUCK: IOError: [Errno 2] No such    file or directory:    '/home/gerrit2/gerrit/plugins/bucklets/gerrit_plugin.bucklet' Call   stack: File "/home/gerrit2/buck/python-dsl/buck_parser/buck.py", line    1102, in process_with_diagnostics diagnostics=diagnostics) File    "/home/gerrit2/buck/python-dsl/buck_parser/buck.py", line 993, in    process os.path.join(self._project_root, path)) File    "/home/gerrit2/buck/python-dsl/buck_parser/buck.py", line 987, in   
_process_build_file return self._process(build_env, path, is_implicit_include=False) File    "/home/gerrit2/buck/python-dsl/buck_parser/buck.py", line 947, in   
_process exec(code, module.__dict__) File "/home/gerrit2/gerrit/plugins/gitiles/BUCK", line 1    include_defs('//bucklets/gerrit_plugin.bucklet') File    "/home/gerrit2/buck/python-dsl/buck_parser/buck.py", line 750, in   
_include_defs inner_env, mod = self._process_include(path, is_implicit_include) File    "/home/gerrit2/buck/python-dsl/buck_parser/buck.py", line 961, in   
_process_include return self._process(build_env, path, is_implicit_include=is_implicit_include) File    "/home/gerrit2/buck/python-dsl/buck_parser/buck.py", line 936, in   
_process with open(path, 'r') as f:

=============================================== ========================= 关于这个日志的任何想法? 请求帮助

1 个答案:

答案 0 :(得分:0)

你真的需要构建Gitiles插件吗?您可以从GerritForge下载插件。

  • 搜索plugin-gitiles-stable-GERRIT-VERSION
  • 下载gitiles.jar文件
  • 将其安装在GERRIT-SITE / plugins
  • 重新启动Gerrit