gerrit-oauth-provider icon indicating copy to clipboard operation
gerrit-oauth-provider copied to clipboard

Compatibility Gerrit and oauth provider

Open karooga opened this issue 8 years ago • 4 comments

It looks like the compatibility of the plugin is dependent on the version of Gerrit used?

So the latest plugin version is 2.14.6.2:

https://github.com/davido/gerrit-oauth-provider/releases/tag/v2.14.6.2

and Gerrit 2.14.6:

https://www.gerritcodereview.com/releases/2.14.md

Despite Gerrit 2.14.7 being available as well as Gerrit 2.15.1:

https://www.gerritcodereview.com/releases/2.15.md

karooga avatar Apr 10 '18 09:04 karooga

I can confirm that the latest release of this plugin (2.14.6.2) works well with both Gerrit 2.14.7 and 2.15 (haven't tested 2.15.1). The OAuth Provider plugin is only fairly weakly dependent on the Gerrit version, so a new release of OAuth Provider is not usually required just because Gerrit has changed.

I agreed that we could make this clearer here.

mwebber avatar Apr 10 '18 10:04 mwebber

That's good to know. Thanks @mwebber.

karooga avatar Apr 10 '18 10:04 karooga

Good point. I will release new plugin versions built against the latest API versions.

As @mwebber pointed out, it is safe to use the latest released plugin version. Another option would be to fetch the binary artifact from GerritForge CI: [1], from master (as you can see, there is no specific stable-2.15 branch and version on the CI).

  • [1] https://gerrit-ci.gerritforge.com/view/Plugins-master/job/plugin-oauth-bazel-master-master

davido avatar Apr 10 '18 11:04 davido

Thanks for this info as well, very useful. :-) +1 for including it in the documentation. Now I can confirm that 2.14.6.2 works (as expected by you) for gerrit 2.15.1.

zesstra avatar Apr 17 '18 20:04 zesstra