gerrit/tools
Han-Wen Nienhuys 28e7a6d3fe bazel: bower support
* npm_binary (download tarball packaged npm apps)

* bower_archive (download a zip file, to be put in WORKSPACE)

* bower_component (defining a bower library, with dependency )

* bower_component_bundle (zipping up libraries together)

* js_component (insert plain js file into bower component bundle)

* bower2bazel.py: run bower to find dependencies, generate a .bzl to
  define archives and define components

Tested:

 python tools/js/bower2bazel.py -w lib/js/bower_archives.bzl -b \
    lib/js/bower_components.bzl

 bazel build polygerrit-ui:components
 unzip -v bazel-bin/polygerrit-ui/components.zip > /tmp/baz

 buck build polygerrit-ui:polygerrit_components
 unzip -v buck-out/gen/polygerrit-ui/polygerrit_components/polygerrit_components.bower_components.zip > /tmp/buck

 diff /tmp/buck /tmp/baz

The diff corresponds to newer file versions pinned through bower2bazel.

Change-Id: I4f33914d4853bcf8afe78b4719d0e0e83b139031
2016-09-29 13:18:19 +02:00
..
bzl bazel: bower support 2016-09-29 13:18:19 +02:00
eclipse Fix Eclipse classpath generation for source jars 2016-09-27 22:02:48 +02:00
js bazel: bower support 2016-09-29 13:18:19 +02:00
maven Fail api.sh in case of any error 2016-06-10 09:18:37 +00:00
util Don't hardcode bash location 2015-08-26 09:03:24 -06:00
__init__.py Buck: Adjust to unflattened directory structure for python libraries 2013-11-30 20:19:33 +01:00
BUCK Revert "Buck: Wipe out the machinery for merging JARs" 2016-02-08 14:34:10 +09:00
BUILD Implement Bazel build 2016-06-14 21:12:02 +02:00
build.defs Buck: Build gwtgerrit without touching PolyGerrit deps 2015-12-01 07:29:21 +00:00
checkstyle_suppressions.xml Update Checkstyle config to ignore generated sources 2015-08-26 07:02:38 +00:00
checkstyle.xml Add missing trailing comma on array declarations 2016-04-13 17:27:30 +09:00
default.defs Update Buck to latest version 2016-09-20 13:19:15 +02:00
download_all.py Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
download_file.py bazel: bower support 2016-09-29 13:18:19 +02:00
gerrit.importorder Update import order settings to list all top-level packages 2015-03-25 20:36:56 +00:00
git.defs For plugins, run 'git describe' from their BUCK directory 2015-08-05 10:14:06 +02:00
GoogleFormat.xml Build with Java 8 2016-09-20 10:19:52 +02:00
gwt-constants.defs Bump GWT version to 2.8.0-rc2 2016-09-19 15:10:11 +02:00
java_doc.defs Build with Java 8 2016-09-20 10:19:52 +02:00
java_sources.defs Buck: Align gerrit build interface to bucklets 2014-09-09 13:20:47 +00:00
jgit-snapshot-deploy-pom.diff Provide a diff file to make it easier to deploy JGit snapshot 2016-08-31 11:13:47 +09:00
merge_jars.py Revert "Buck: Wipe out the machinery for merging JARs" 2016-02-08 14:34:10 +09:00
pack_war.py Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
plugin_archetype_deploy.sh Remove confirmation step from plugin archetype deploy script 2016-03-11 11:55:47 +09:00
util_test.py tools: use python on path 2015-06-18 17:10:11 +02:00
util.py bazel: bower support 2016-09-29 13:18:19 +02:00
version.py Expose acceptance test framework as new plugin artifact 2015-09-25 14:46:10 -04:00
workspace-status.sh bazel: generate the workspace version from the volatile status. 2016-09-27 15:01:24 +02:00