Plugin Name | Version | Status | |
commit-message-length-validator | 2.7-rc1 | Enabled | |
gitiles-dev-1.0-SNAPSHOT | 1.0-SNAPSHOT | Enabled | |
original-gitiles-dev-1.0-SNAPSHOT | 1.0-SNAPSHOT | Enabled | |
replication | 2.7-rc1 | Enabled | |
reviewnotes | 2.7-rc1 | Enabled |
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I re-compile gitiles plugin for gerrit 2.8.4:
$> buck build plugins/gitiles:gitiles
/usr/src/gerrit/plugins/gitiles/src/main/java/com/googlesource/gerrit/plugins/gitiles/GerritGitilesAccess.java:18: error: cannot find symbol
import com.google.gerrit.extensions.common.ProjectInfo;
Hello,Since plugins/gitiles was migrated to BUCKI didn't manage to build it.I am checkout out the sources in plugins/ folder.then in gerrit/ I am running:
$> buck build plugins/gitiles:gitiles
/usr/src/gerrit/plugins/gitiles/src/main/java/com/googlesource/gerrit/plugins/gitiles/GerritGitilesAccess.java:18: error: cannot find symbol
import com.google.gerrit.extensions.common.ProjectInfo;
[2014-09-17 07:14:54,210] ERROR com.google.gerrit.pgm.http.jetty.HiddenErrorHandler : Error in GET /plugins/gitiles/
java.lang.NoClassDefFoundError: com/google/gerrit/extensions/common/ProjectInfo
at com.googlesource.gerrit.plugins.gitiles.GerritGitilesAccess.listRepositories(GerritGitilesAccess.java:115)
at com.google.gitiles.HostIndexServlet.getDescriptions(HostIndexServlet.java:68)
at com.google.gitiles.HostIndexServlet.getDescriptions(HostIndexServlet.java:61)
at com.google.gitiles.HostIndexServlet.doGetHtml(HostIndexServlet.java:103)
at com.google.gitiles.BaseServlet.doGet(BaseServlet.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at com.google.gitiles.GitilesFilter$DispatchFilter$1.doFilter(GitilesFilter.java:150)
at com.googlesource.gerrit.plugins.gitiles.MenuFilter.doFilter(MenuFilter.java:63)
at com.google.gitiles.GitilesFilter$DispatchFilter$1.doFilter(GitilesFilter.java:148)
at com.google.gitiles.GitilesFilter$DispatchFilter.doFilter(GitilesFilter.java:143)
[2014-09-17 07:21:01,203] INFO org.eclipse.jetty.server.ServerConnector : Started ServerConnector@7081c100{HTTP/1.1}{0.0.0.0:8081}
[2014-09-17 07:21:01,204] WARN org.eclipse.jetty.util.component.AbstractLifeCycle : FAILED org.eclipse.jetty.server.Server@2104ce68: java.lang.NoSuchMethodErro
r: com.google.common.io.Resources.newReaderSupplier(Ljava/net/URL;Ljava/nio/charset/Charset;)Lcom/google/common/io/InputSupplier;
java.lang.NoSuchMethodError: com.google.common.io.Resources.newReaderSupplier(Ljava/net/URL;Ljava/nio/charset/Charset;)Lcom/google/common/io/InputSupplier;
at com.google.template.soy.base.SoyFileSupplier$Factory.create(SoyFileSupplier.java:136)
at com.google.template.soy.base.SoyFileSupplier$Factory.create(SoyFileSupplier.java:153)
at com.google.template.soy.SoyFileSet$Builder.addWithKind(SoyFileSet.java:275)
at com.google.template.soy.SoyFileSet$Builder.add(SoyFileSet.java:292)
at com.google.gitiles.DefaultRenderer.<init>(DefaultRenderer.java:52)
at com.google.gitiles.DefaultRenderer.<init>(DefaultRenderer.java:36)
at com.google.gitiles.GitilesFilter.setDefaultRenderer(GitilesFilter.java:326)
[...]
[2014-09-17 07:21:01,206] ERROR com.google.gerrit.pgm.Daemon : Unable to start daemon
java.lang.NoSuchMethodError: com.google.common.io.Resources.newReaderSupplier(Ljava/net/URL;Ljava/nio/charset/Charset;)Lcom/google/common/io/InputSupplier;
at com.google.template.soy.base.SoyFileSupplier$Factory.create(SoyFileSupplier.java:136)
at com.google.template.soy.base.SoyFileSupplier$Factory.create(SoyFileSupplier.java:153)
at com.google.template.soy.SoyFileSet$Builder.addWithKind(SoyFileSet.java:275)
at com.google.template.soy.SoyFileSet$Builder.add(SoyFileSet.java:292)
at com.google.gitiles.DefaultRenderer.<init>(DefaultRenderer.java:52)
at com.google.gitiles.DefaultRenderer.<init>(DefaultRenderer.java:36)
I'm trying to build plugin/gitiles for gerrit 2.8.5, but must build gerrit v.2.8.5 first, but i find gitiles doesn't have stable 2.8 branch,so how can i build gitiles 2.8.5?
I'm trying to build plugin/gitiles for gerrit 2.8.5, but must build gerrit v.2.8.5 first, but i find gitiles doesn't have stable 2.8 branch,so how can i build gitiles 2.8.5?I try build plugin/gitiles for gerrit 2.9,so i download gerrit 2.9.4, but failed when i run buck build api or buck build gerritgerrit# buck build api:::::: '.nobuckcheck' file is present. Not updating buck.
Dear,I am trying to build buck with gerrit but i faced this problem:
root@dpi-VirtualBox:~/gerrit# buck build gerritfatal: Not a git repository (or any of the parent directories): .git
Using watchman.fatal: Not a git repository (or any of the parent directories): .git[+] PARSING BUCK FILES...0.8sBUILD FAILED: Parse error for build file /root/gerrit/BUCK:NameError: global name 'genfile' is not definedCall stack:File "/home/dpi/Downloads/buck-master/build/classes/buck_parser/buck.py", line 1216, in process_with_diagnosticsdiagnostics=diagnostics)File "/home/dpi/Downloads/buck-master/build/classes/buck_parser/buck.py", line 1105, in processos.path.join(self._project_root, path))File "/home/dpi/Downloads/buck-master/build/classes/buck_parser/buck.py", line 1041, in _process_build_filereturn self._process(build_env, path, is_implicit_include=False)File "/home/dpi/Downloads/buck-master/build/classes/buck_parser/buck.py", line 975, in _processexec(code, module.__dict__)File "/root/gerrit/BUCK", line 3gerrit_war(name = 'gerrit')File "/root/gerrit/tools/build.defs", line 79, in gerrit_war] + context,File "/root/gerrit/tools/build.defs", line 58, in warsrc.append(genfile(r))Could you help me to check this error.Thank you so much
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
root@dpi-VirtualBox:~/gerrit# /root/bin/bazel build
INFO: Found 0 targets...
INFO: Building...
^C
Bazel caught interrupt signal; shutting down.
ERROR: build interrupted.
INFO: Elapsed time: 3.410s, Critical Path: 0.84s
root@dpi-VirtualBox:~/gerrit# /root/bin/bazel build gerrit
ERROR: /root/gerrit/lib/js/BUILD:25:1: no such package '@iron-resizable-behavior//': failed /usr/bin/python /root/gerrit/tools/js/download_bower.py -b /usr/bin/python /root/gerrit/tools/js/run_npm_binary.py /root/.cache/bazel/_bazel_root/8eda2b502a7e650827d9f7c001f5e796/external/bower/bo...@1.8.0.npm_binary.tgz -n iron-resizable-behavior -p iron-resizable-behavior -v 1.0.5 -s 2ebe983377dceb3794dd335131050656e23e2beb -o iron-resizable-behavior__download_bower.zip: /usr/bin/env: node: No such file or directory
Traceback (most recent call last):
File "/root/gerrit/tools/js/run_npm_binary.py", line 91, in <module>
sys.exit(main(sys.argv[1:]))
File "/root/gerrit/tools/js/run_npm_binary.py", line 87, in main
subprocess.check_call([bin] + args[1:])
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/root/.cache/bazel/_bazel_root/8eda2b502a7e650827d9f7c001f5e796/external/bower/bo...@1.8.0-55dbebef0ad9155382d9e9d3e497c1372345b44a/package/bin/bower', '-l=error', '-j', 'info', 'iron-resizable-behavior#1.0.5']' returned non-zero exit status 127
Traceback (most recent call last):
File "/root/gerrit/tools/js/download_bower.py", line 128, in <module>
sys.exit(main(sys.argv[1:]))
File "/root/gerrit/tools/js/download_bower.py", line 99, in main
info = bower_info(opts.b, opts.n, opts.p, opts.v)
File "/root/gerrit/tools/js/download_bower.py", line 49, in bower_info
raise OSError('Command failed: %s' % ' '.join(cmd))
OSError: Command failed: /usr/bin/python /root/gerrit/tools/js/run_npm_binary.py /root/.cache/bazel/_bazel_root/8eda2b502a7e650827d9f7c001f5e796/external/bower/bo...@1.8.0.npm_binary.tgz -l=error -j info iron-resizable-behavior#1.0.5
and referenced by '//lib/js:iron-resizable-behavior'.
root@dpi-VirtualBox:~/gerrit# ls
bazel-bin BUILD gerrit-antlr gerrit-gwtdebug gerrit-lucene gerrit-pgm gerrit-sshd INSTALL SUBMITTING_PATCHES
bazel-genfiles contrib gerrit-cache-h2 gerrit-gwtexpui gerrit-main gerrit-plugin-api gerrit-test-util lib tools
bazel-gerrit COPYING gerrit-common gerrit-gwtui gerrit-oauth gerrit-plugin-gwtui gerrit-util-cli plugins version.bzl
bazel-out Documentation gerrit-elasticsearch gerrit-gwtui-common gerrit-openid gerrit-prettify gerrit-util-http polygerrit-ui website
bazel-testlogs gerrit-acceptance-framework gerrit-extension-api gerrit-httpd gerrit-patch-commonsnet gerrit-reviewdb gerrit-util-ssl README.md WORKSPACE
buck-out gerrit-acceptance-tests gerrit-gpg gerrit-launcher gerrit-patch-jgit gerrit-server gerrit-war ReleaseNotes
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.