SlideShare une entreprise Scribd logo
1  sur  11
About Gerrit
What is Gerrit? Google이만든 Code ReviewTool Pre-Commit Code Review Web 기반 Git전용 툴 JAVA기반 Apache License 2.0
Gerrit history Google은 Mondrian을 개발해서 Code Review시스템으로 사내용으로 사용 함 Guido van Rossum이 Mondrian을 변형해서 Rietveld를 OpenSource로 개발함 Android Project가 Git를 VCS으로 채택하고 그에 맞게 Rietveld를 수정해서 Gerrit이 탄생함
Gerrit workflow Code Commit Gerrit에 등록 Patch 작성 Good  Change? Need Patch? Reject 하기 Commit Abandon Git에 Merge
Gerrit rule +1, -1 점은 Verified 포인트 +2,-2 점은 Code Review 포인트 +2 포인트를 받아야 만 Summit 가능 -1,-2 포인트를 받으면 Summit 불가능 사용자는 1개 이상의 그룹에 속함 +1 권한과 +2권한이 분리됨 Reviewer는 Committer가 지정 가능 특정 그룹은 모든 Commit에 Review가능함
Committer Scenario Local Repo에서 코드를 수정한다 이때 for-gerrit branch를 만들면 편하다 Gerrit으로 Commit을 Push한다 Review를 기다린다. +2를 받았다면 Summit을 눌러서 Git에 Merge한다. -1, -2를받았다면 코드를 수정한 후에 다시 Gerrit으로 Push한다. 자동으로 PatchSet이 등록이 됨
Tester Scenario E-mail로 신규 Review가 올라온 것을 확인 Commit을 Cherry-pick으로 자신의 Local Repo로 Merge 한다. 버그가 고쳐졌는지, 기능이 잘 도는지 Test한다. 문제가 있다면 -1을 주고, 이유를 적는다 잘 동작 한다면 +1을 준다
Reviewer Scenario E-mail로 신규 Review가 올라온 것을 확인 Tester가 +1를 줬다면, Review를 시작한다 코드에 문제가 있다면 -2를 준다 코드에 큰 문제가 없다면 +2를 준다
Demo 간단한 시연!
Good or bad? Code Review는 하는게 좋다! 소규모 팀이 쓰기엔 과할 수도? 한글이 안 된다! 해보니깐 처음엔 힘들어도, 좋았음!
Thank you

Contenu connexe

En vedette

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

About gerrit

  • 2. What is Gerrit? Google이만든 Code ReviewTool Pre-Commit Code Review Web 기반 Git전용 툴 JAVA기반 Apache License 2.0
  • 3. Gerrit history Google은 Mondrian을 개발해서 Code Review시스템으로 사내용으로 사용 함 Guido van Rossum이 Mondrian을 변형해서 Rietveld를 OpenSource로 개발함 Android Project가 Git를 VCS으로 채택하고 그에 맞게 Rietveld를 수정해서 Gerrit이 탄생함
  • 4. Gerrit workflow Code Commit Gerrit에 등록 Patch 작성 Good Change? Need Patch? Reject 하기 Commit Abandon Git에 Merge
  • 5. Gerrit rule +1, -1 점은 Verified 포인트 +2,-2 점은 Code Review 포인트 +2 포인트를 받아야 만 Summit 가능 -1,-2 포인트를 받으면 Summit 불가능 사용자는 1개 이상의 그룹에 속함 +1 권한과 +2권한이 분리됨 Reviewer는 Committer가 지정 가능 특정 그룹은 모든 Commit에 Review가능함
  • 6. Committer Scenario Local Repo에서 코드를 수정한다 이때 for-gerrit branch를 만들면 편하다 Gerrit으로 Commit을 Push한다 Review를 기다린다. +2를 받았다면 Summit을 눌러서 Git에 Merge한다. -1, -2를받았다면 코드를 수정한 후에 다시 Gerrit으로 Push한다. 자동으로 PatchSet이 등록이 됨
  • 7. Tester Scenario E-mail로 신규 Review가 올라온 것을 확인 Commit을 Cherry-pick으로 자신의 Local Repo로 Merge 한다. 버그가 고쳐졌는지, 기능이 잘 도는지 Test한다. 문제가 있다면 -1을 주고, 이유를 적는다 잘 동작 한다면 +1을 준다
  • 8. Reviewer Scenario E-mail로 신규 Review가 올라온 것을 확인 Tester가 +1를 줬다면, Review를 시작한다 코드에 문제가 있다면 -2를 준다 코드에 큰 문제가 없다면 +2를 준다
  • 10. Good or bad? Code Review는 하는게 좋다! 소규모 팀이 쓰기엔 과할 수도? 한글이 안 된다! 해보니깐 처음엔 힘들어도, 좋았음!