gerrit/tools
Han-Wen Nienhuys 2e7f5ccb7c tools/maven: generate Maven install scripts
Build actions can be cached, so they can't be used for Maven
interactions.  Instead, generate a script that calls buck and then
runs the upload process.

This obviates tools/maven/api.py.

The script tools/maven/api.sh runs all deployment steps combined
(generate script, generate artifacts, upload to maven.)

Tested:
  Ran "python tools/maven/api.py -n deploy" before and "buck
build //tools/maven:gen_api_deploy" afterwards. The old command line
and generated script differ as expected:

 * paths in the script are absolute, because Buck expands $(location)
   to absolute paths.

 * the ordering of arguments differs, because Python dict iteration
   was random beforehand.

 * "-o" missing afterward, as expected.

The same check was performed for gen_api_install.

Change-Id: Ia246000f8b59e881c53265751e2ebcfe8ec7d433
2016-05-03 13:30:00 +02:00
..
eclipse Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
js Add fetch polyfill for use in all supported browsers 2016-03-03 23:49:18 -05:00
maven tools/maven: generate Maven install scripts 2016-05-03 13:30:00 +02: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.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 newest version 2015-12-02 14:07:12 +00:00
download_all.py Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
download_file.py tools: Use common hash_file implementation 2015-11-25 10:15:17 -05: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 Eclipse: Bump java source and target level to 7 2013-11-29 00:15:50 +01:00
gwt-constants.defs Buck: Move gwt-dev transitive deps to first order dependency 2015-10-18 19:01:42 +02:00
java_doc.defs Buck: Fix java_doc rule to use $(classpath :foo) macro 2016-02-14 20:22:19 +01:00
java_sources.defs Buck: Align gerrit build interface to bucklets 2014-09-09 13:20:47 +00: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 maven_jar: Support download of artifacts from Maven snapshot repo 2016-04-08 15:05:13 +09:00
version.py Expose acceptance test framework as new plugin artifact 2015-09-25 14:46:10 -04:00