Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pull Requests in CodeCommit

Is there a similar concept or workaround for Pull Requests inside AWS CodeCommit? I'm trying to implement CI using a CodeCommit repository and help us avoid broken head in our repository (master branch should always compile and run all tests successfully).

like image 722
Acuariano Avatar asked Oct 03 '16 20:10

Acuariano


People also ask

What is a pull request in CodeCommit?

A pull request is the primary way you and other repository users can review, comment on, and merge code changes from one branch to another. You can use pull requests to collaboratively review code changes for minor changes or fixes, major feature additions, or new versions of your released software.

How do you accept a pull request on CodeCommit?

You can use the CodeCommit console to review a pull request in a CodeCommit repository. Open the CodeCommit console at https://console.aws.amazon.com/codesuite/codecommit/home . In Repositories, choose the name of the repository. In the navigation pane, choose Pull requests.

Which of the following is a common reason to send pull requests with CodeCommit?

CodeCommit now supports pull requests, which allows repository users to review, comment upon, and interactively iterate on code changes. Used as a collaboration tool between team members, pull requests help you to review potential changes to a CodeCommit repository before merging those changes into the repository.


3 Answers

Such a feature does not exist, at least yet. But I have passed your feature request to the team for further review and consideration. Your feedback is very much appreciated.

Paige@AWS

like image 148
Paige Phillips Avatar answered Oct 09 '22 15:10

Paige Phillips


CodeCommit now supports Pull Requests: https://aws.amazon.com/about-aws/whats-new/2017/11/aws-codecommit-supports-pull-requests/

like image 38
Acuariano Avatar answered Oct 09 '22 16:10

Acuariano


Still no such feature, but we can always follow some best practices for Git itself. Things like making changes in branches and only merge it to master after it passed unit tests and code review. This link provides some more details. It discussion was based on the ReviewBoard tool but you don't have to use it to apply the same approach for code review.

like image 1
Ken Chu Avatar answered Oct 09 '22 15:10

Ken Chu