Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do code review for google cloud git repo

We are hosting git repo on the google cloud platform. I know for github.com, we can use pull requests for code reviews, but google cloud does not seem to provide that.

How do I perform code review for repos on google cloud platform?

like image 627
肉肉Linda Avatar asked May 13 '16 03:05

肉肉Linda


People also ask

What is cloud source repository in GCP?

Cloud Source Repositories are private Git repositories hosted on Google Cloud. These repositories let you develop and deploy an app or service in a space that provides collaboration and version control for your code.


2 Answers

One possibility (not ideal, I know, but still something) would be to have your cloud repo connected to a GitHub or BitBucket repo which you could use for code reviews instead. From Connecting a Hosted Repository:

You can connect a Cloud Source Repository to a Git repository hosted on GitHub or Bitbucket. When you push changes to the hosted repository, the changes are automatically synchronized with the Cloud Source Repository.

like image 158
Dan Cornilescu Avatar answered Sep 30 '22 09:09

Dan Cornilescu


You can use a separate code review app that integrates with Git.

One example of this is JetBrains Upsource, which supports adding a generic Git repository. It's free for a few users, but paid after that. If you're already using a JetBrains IDE in general or due to using a GCP plugin, it also has some integrations with their IDE products.

Also see open source options including one mentioned in a comment:

  • Review Board
  • Gerrit
like image 38
jon_wu Avatar answered Sep 30 '22 10:09

jon_wu