commit | 13ebf8cb6d3af136dde9f605ecf3c257b4bee808 | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Thu Aug 25 16:26:00 2016 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Fri Aug 26 17:01:50 2016 +0200 |
tree | 18d553f06662e5ca6bd66a7d085fb4fcef69a610 | |
parent | 623e917b6fa1f3e413f22595fbeaf3f65634e5ed [diff] |
Add a piece of go code to find mismatching lib versions in bzl/bck Tested with: go run contrib/build-consistency.go Gives (before the current fix on master): SHA1 of lib gson does not match: buck has 751f548c85fa49f330cecbb1875893f971b33c4e while bazel has f1bc476cc167b18e66c297df599b2377131a8947 SHA1 of lib jsr305 does not match: buck has f7be08ec23c21485b9b5a1cf1654c2ec8c58168d while bazel has 516c03b21d50a644d538de0f0369c620989cd8f0 SHA1 of lib auto_value does not match: buck has b764e0fb7e11353fbff493b22fd6e83bf091a179 while bazel has 6873fed014fe1de1051aae2af68ba266d2934471 SHA1 of lib junit does not match: buck has dc7edb9c3060655c7fb93ab9b9349e815bab266f while bazel has 4e031bb61df09069aeb2bffb4019e7a5034a4ee0 SHA1 of lib joda_time does not match: buck has 1c295b462f16702ebe720bbb08f62e1ba80da41b while bazel has 9f2785d7184b97d005a44241ccaf980f43b9ccdb SHA1 of lib joda_convert does not match: buck has 675642ac208e0b741bc9118dcbcae44c271b992a while bazel has 35ec554f0cd00c956cc69051514d9488b1374dec Can't parse lib sha1/name on target maven_jars(name='lucene_core_and_backward_codecs', srcs=[':backward_codecs_jar',':lucene_core',],visibility=['PUBLIC'], SHA1 of lib lucene_core does not match: buck has a74fd869bb5ad7fe6b4cd29df9543a34aea81164 while bazel has c52b2088e2c30dfd95fd296ab6fb9cf8de9855ab SHA1 of lib lucene_analyzers_common does not match: buck has 1e0e8243a4410be20c34683034fafa7bb52e55cc while bazel has c2aa2c4e00eb9cdeb5ac00dc0495e70c441f681e SHA1 of lib lucene_misc does not match: buck has 504d855a1a38190622fdf990b2298c067e7d60ca while bazel has 95f433b9d7dd470cc0aa5076e0f233907745674b SHA1 of lib lucene_queryparser does not match: buck has 0fddc49725b562fd48dff0cff004336ad2a090a4 while bazel has dccd5279bfa656dec21af444a7a66820eb1cd618 SHA1 of lib ow2_asm does not match: buck has 5ef31c4fe953b1fd00b8a88fa1d6820e8785bb45 while bazel has dcc2193db20e19e1feca8b1240dbbc4e190824fa SHA1 of lib ow2_asm_analysis does not match: buck has 6d1bf8989fc7901f868bee3863c44f21aa63d110 while bazel has c7126aded0e8e13fed5f913559a0dd7b770a10f3 SHA1 of lib ow2_asm_commons does not match: buck has 25d8a575034dd9cfcb375a39b5334f0ba9c8474e while bazel has a7111830132c7f87d08fe48cb0ca07630f8cb91c SHA1 of lib ow2_asm_tree does not match: buck has 87b38c12a0ea645791ead9d3e74ae5268d1d6c34 while bazel has 287749b48ba7162fb67c93a026d690b29f410bed SHA1 of lib ow2_asm_util does not match: buck has b60e33a6bd0d71831e0c249816d01e6c1dd90a47 while bazel has 1512e5571325854b05fb1efce1db75fcced54389 Change-Id: I536b3eecf61a2cd1e7ce9d1c19335f1c2238b6c5
Gerrit is a code review and project management tool for Git based projects.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
Gerrit is the work of hundreds of contributors. We appreciate your help!
Please read the contribution guidelines.
Note that we do not accept Pull Requests via the Github mirror.
The IRC channel on freenode is #gerrit. An archive is available at: echelog.com.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Buck and run the following:
git clone --recursive https://gerrit.googlesource.com/gerrit cd gerrit && buck build release
The instruction how to configure GerritForge/BinTray repositories is here
On Debian/Ubuntu run:
apt-get update & apt-get install gerrit=<version>-<release>
NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.
On CentOS/RedHat run:
yum clean all && yum install gerrit-<version>[-<release>]
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.