commit | d941bdd01cc3c92a73299dd1bbe9eca892cdab40 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sun Nov 03 09:24:41 2019 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Sun Nov 03 09:24:41 2019 +0100 |
tree | d31d0f44c905b750306af4652d435af523e77d58 | |
parent | b744234754133f8ed972404dbc9011404deecb63 [diff] |
Bazel: Migrate workspace status script to python Migrate tools/workspace-status.sh script to Python to ensure better compatibility with other operating systems, as suggested in: [1]. [1] https://github.com/bazelbuild/bazel/issues/5958 Change-Id: Id886e7e97dffa4b2548ed1f6258b0ffbb9dc0143
With this plugin Gerrit can use OAuth2 protocol for authentication. Supported OAuth providers:
See the Wiki what it can do for you.
Prebuilt binary artifacts are available on release page. Make sure to pick the right JAR for your Gerrit version.
To build the plugin with Bazel, install Bazel and run the following:
git clone https://gerrit.googlesource.com/plugins/oauth cd oauth && bazel build oauth
Copy the bazel-bin/oauth.jar
to $gerrit_site/plugins
and re-run init to configure it:
java -jar gerrit.war init -d <site> [...] *** OAuth Authentication Provider *** Use Bitbucket OAuth provider for Gerrit login ? [Y/n]? n Use Google OAuth provider for Gerrit login ? [Y/n]? Application client id : <client-id> Application client secret : confirm password : Link to OpenID accounts? [true]: Use GitHub OAuth provider for Gerrit login ? [Y/n]? n
Make sure to read the FAQ before reporting issues.
Apache License 2.0