commit | 7b11d6ad305f5106f3116146b4c442e81aa63b3f | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Tue Feb 16 20:42:02 2016 +0100 |
committer | Michael Zhou <zhoumotongxue008@gmail.com> | Mon Apr 04 20:30:55 2016 -0400 |
tree | 662c1ee3011af0f2fa75c6789a7ddba72bfac663 | |
parent | 419983454c69fb437aead34f0d5491be2bc0e3e2 [diff] |
Buck: Turn off Codemirror obfuscation in non release build In I24790e84 I activated Closure Compiler tool chain to minify JS code. In retrospective, it was wrong, of course, to unconditionally activate the obfuscation, even in developer mode. As the consequence, devs have hard time to troubleshoot Codemirror integration problems. Not to mention, that the minifcation takes tons of time and not needed on dev build. Also note, that every single language mode file is compiled. In Ia9964735 I already disabled cast checking only in release mode. Use the same differentiation and disable Codemirror obfuscation in non release build. Test Plan: 1. `buck build gerrit` should include non obfuscated Codemirror code 2. `buck build release` should include obfuscated Codemirror code Change-Id: I05d925c94a3c0368366e9d3ad109cf84492810fc
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.