Issue 323: command line tool to download optional support libraries
Status:  Released
Owner: ----
Closed:  Oct 2012

Blocked on:
issue 324

Blocking:
issue 330
Reported by sop+code@google.com, Nov 11, 2009
Gerrit doesn't ship with, but can optionally take advantage of, a handful
of additional open source libraries:

 * Bouncy Castle Crypto JCE Provider
 * Bouncy Castle Crypto OpenPGP/BCPG
 * MySQL Connector/J (JDBC driver)

We don't distribute Bouncy Castle with Gerrit as some countries have import
or export restrictions that make it difficult or impossible to distribute
or import the combined package.  Consequently we have always opted to not
include these and make them optional, but take advantage of them if they
are installed at runtime by the system administrator.

The MySQL connector is licensed under the GPLv2.  Historically GPLv2 and
Apache License 2.0 are incompatible licenses, making it not permissible
to distribute a combined work which includes software covered by both
licenses.  MySQL's connector offers an exemption addendum to the GPLv2,
but we prefer to take the cautious route and avoid distributing GPLv2 code
within the larger Gerrit bundle.  Its also completely optional, and is not
a package we encourage users to use (we prefer PostgreSQL for our data; I
try to encourage people away from MySQL) so we aren't actually required to
distribute it in order to deliver a functional product.

However, collecting dependencies from other websites is a huge pain in
the neck and is one of the reasons Gerrit is still so hard to install.

We should provide a dependency download assistant that knows proper URLs
and checksums for our preferred optional support libraries and offers an
administrator a way to select which packages to download, downloads them
to $site_path/lib.
Nov 11, 2009
#1 sop+code@google.com
We should try to reuse JGit's http proxy setup code, it nicely tries to reuse the
http_proxy environment variable that might be common on UNIX servers when running
on an intranet beyond an HTTP proxy server.
Blockedon: 324
Nov 15, 2009
#2 sop+code@google.com
(No comment was entered for this change.)
Status: Started
Nov 17, 2009
#3 sop+code@google.com
Change Id725e991f1e820f0d138ab659d01949dbe261852
Change I3d6e8f9f5fea8bfc78f6dfb1fc8f284bebfba670
Status: Fixed
Labels: FixedIn-2.0.25
Dec 18, 2009
#4 sop@google.com
(No comment was entered for this change.)
Labels: FixedIn-2.1
Oct 21, 2012
#5 sop@google.com
(No comment was entered for this change.)
Status: Released
Blockedon: -gerrit:324 gerrit:324
Blocking: -gerrit:330 gerrit:330