Affected Version: 2.14.8 What steps will reproduce the problem? 1. install bazel 2. try to build any Gerrit plugin 3. cannot build any Gerri plugin What is the expected output? Gerrit plugin builded with bazel should be successful What do you see instead? Gerrit plugin builded with bazel it nos successful Please provide any additional information below. I am trying to figure out how to build a Gerrit plugin with bazel (Any plugin) since all time have the following errors What is the output of the JS console log (if applicable)? >>> bazel build commit-message-length-validator Starting local Bazel server and connecting to it... ............. ERROR: Skipping 'commit-message-length-validator': error loading package '': Extension file not found. Unable to load package for '//tools/bzl:plugin.bzl': BUILD file not found on package path WARNING: Target pattern parsing failed. ERROR: error loading package '': Extension file not found. Unable to load package for '//tools/bzl:plugin.bzl': BUILD file not found on package path INFO: Elapsed time: 0.665s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) currently loading: >>> bazel build commit-message-length-validator:commit-message-length-validator ERROR: Skipping 'commit-message-length-validator:commit-message-length-validator': no such package 'commit-message-length-validator': BUILD file not found on package path WARNING: Target pattern parsing failed. ERROR: no such package 'commit-message-length-validator': BUILD file not found on package path INFO: Elapsed time: 0.209s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) I am trying to figure out how to build a Gerrit plugin with bazel (Any plugin) since all time have the following errors >>> bazel build commit-message-length-validator Starting local Bazel server and connecting to it... ............. ERROR: Skipping 'commit-message-length-validator': error loading package '': Extension file not found. Unable to load package for '//tools/bzl:plugin.bzl': BUILD file not found on package path WARNING: Target pattern parsing failed. ERROR: error loading package '': Extension file not found. Unable to load package for '//tools/bzl:plugin.bzl': BUILD file not found on package path INFO: Elapsed time: 0.665s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) currently loading: >>> bazel build commit-message-length-validator:commit-message-length-validator ERROR: Skipping 'commit-message-length-validator:commit-message-length-validator': no such package 'commit-message-length-validator': BUILD file not found on package path WARNING: Target pattern parsing failed. ERROR: no such package 'commit-message-length-validator': BUILD file not found on package path INFO: Elapsed time: 0.209s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) Asking here in order to receive some kind of help over this. Thanks Gerrit plugins: https://review.openstack.org/Documentation/config-plugins.html
for more information please visit: https://bugs.chromium.org/p/gerrit/issues/detail?id=9548&can=2&start=0&num=100&q=&colspec=ID%20Type%20Stars%20Milestone%20Status%20Priority%20Owner%20Summary&groupby=&sort=
Affected Version: 2.14.8 What steps will reproduce the problem? 1. install bazel 2. try to build any Gerrit plugin
3. cannot build any Gerri plugin
I read the following documentation https://github.com/GerritCodeReview/gerrit/blob/master/README.md, however I still have issues building Gerrit tree Please could you see the following bazel command output https://bugs.chromium.org/p/gerrit/issues/attachmentText?aid=352855 The things that I've tried 1. Change to another commit unsuccessfully 2. remove manually every time that the command output shonw me a package in Gerrit tree, e.g : ./lib/js/bower_components.bz, the thing is that every time after run the command it shows me a different one. even with that I tried to build non-core plugins and the only ones that I've build successfully are: https://gerrit-review.googlesource.com/admin/repos/plugins%2Favatars-gravatar https://gerrit-review.googlesource.com/admin/repos/plugins%2Fdelete-project https://gerrit-review.googlesource.com/admin/repos/plugins%2Fegit https://gerrit-review.googlesource.com/admin/repos/plugins%2Fmotd https://gerrit-review.googlesource.com/admin/repos/plugins%2Fmenuextender
echo $HTTPS_PROXY
https://...
echo $HTTP_PROXY
http://...
export HTTPS_PROXY=$HTTP_PROXY--
--
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/d/optout.
I read the following documentation https://github.com/GerritCodeReview/gerrit/blob/master/README.md, however I still have issues building Gerrit tree