wbond / package_control

The Sublime Text package manager
https://packagecontrol.io
4.78k stars 814 forks source link

Add support for Gerrit endpoints #1553

Closed ismell closed 1 year ago

ismell commented 3 years ago

Gerrit is a self hosted code review system. It offers an alternative to GitHub/Gitlab hosting.

It would be great if Package Control could have first class support for Gerrit.

It has an API. Here is the API to query the tags: https://gerrit-review.googlesource.com/Documentation/rest-api-projects.html#list-tags

wbond commented 3 years ago

With the current architecture, there won't be a way to support random domains hosting a Gerrit server. This is because we use the URL to determine what API client to use.

So for something like this to work, we'd need:

  1. Someone to implement a RepositoryProvider for Gerrit
  2. Come up with a plan for JSON schema changes to allow the JSON to indicate what sort of provider should be used for the URL provided.