-
Notifications
You must be signed in to change notification settings - Fork 10
Adding Git Providers to LiveReview
LiveReview provides support for various Git-based code hosting services. You can add a new Git providers via Git Providers -> Select Git Provider
Regardless of the provider - we recommend the following method of integration:
- Create a custom user with a name starting with
LiveReviewBot. ExampleLiveReviewBot1850. - Give relevant project access to this user
- Get API key for the user
- Supply LiveReview with the API key and user details
- Trigger AI code review on MRs
For the steps (1), (2) and (3) above - the steps are a bit different for each platform - so we will provide the exact steps or resources to achieve them.
We have experimented with automatic integration and decided there are too many "gotchas" with automated integration such as:
- Automatic User Creation APIs are highly limited - and many necessary actions depend on subtle or unclear API details of respective platforms. Automatic user management via APIs across platforms is not reliable.
- In the MR comments - the name that appears will usually be that of a human user for auto integration - this is misleading
- It is harder to audit and control access via automatic integration in a unifdied way across platforms
- For automatic integration - there are many limits to the level of MR interaction possible
Overall - we strongly recommend - the steps we have outlined below to create git integration. This is a one-time action, which once you've configured demands no or minimal effort from you to maintain. The overall productivity benefits provided by automatic AI code review will make your effort to set this up worthwhile.