SlideShare a Scribd company logo
1 of 20
TYPO3 Camp Rhein Ruhr
                          10. - 11. November 2012




Gerrit Review Workflow
TYPO3 Camp Rhein Ruhr
                                            10. - 11. November 2012



                           Fragen




●
    Wer hat schon mit Gerrit gearbeitet?
●
    Wer hat Gerrit bereits eingerichtet?
●
    Wer weiß was Gerrit ist?
TYPO3 Camp Rhein Ruhr
                                     10. - 11. November 2012



             Was ist Gerrit?




●
    Gerrit ist für die Qualitätsicherung
TYPO3 Camp Rhein Ruhr
                                                     10. - 11. November 2012



                Vorbereitung




 ●
     Clone das Sandbox Projekt
$ git clone –recursive git://git.typo3.org/Sandbox.git
TYPO3 Camp Rhein Ruhr
                                                    10. - 11. November 2012



                          Über Gerrit

●
    Web-basierende Code Review Software
●
    Git Server, SSH Server
●
    In Java geschrieben
●
    Wird von Google für Android geschrieben
●
    Arbeitert auf Git als Versionskontrollsystem
●
    Ist eine Art “Türsteher” vor Git
●
    ... und der Grund warum TYPO3 CMS zu Git migriert wurde
TYPO3 Camp Rhein Ruhr
                   10. - 11. November 2012




Git ohne Gerrit




Git mit Gerrit
TYPO3 Camp Rhein Ruhr
                                                10. - 11. November 2012



                 Gerrit in der TYPO3 Welt

●
    TYPO3 CMS
    – Mit   Submodulen
●
    TYPO3 Flow
●
    TYPO3 Neos
●
    Einige Extensions
    – news,   community, extension_builder
●
    Das Server Team arbeitet an allgemeiner Extension
    Unterstützung
TYPO3 Camp Rhein Ruhr
                                        10. - 11. November 2012



              Wie es früher war
●
    Reviews über die Core Team Mailing Liste
TYPO3 Camp Rhein Ruhr
                      10. - 11. November 2012



Manuelles Tracking
TYPO3 Camp Rhein Ruhr
                           10. - 11. November 2012



   Zu Gerrit




http://review.typo3.org


  typo.org Account
TYPO3 Camp Rhein Ruhr
                    10. - 11. November 2012



Gerrit Übersicht
TYPO3 Camp Rhein Ruhr
                 10. - 11. November 2012



Gerrit Review
TYPO3 Camp Rhein Ruhr
               10. - 11. November 2012



Gerrit Vote
TYPO3 Camp Rhein Ruhr
                               10. - 11. November 2012



         Gerrit Einstellung
●
    SSH Public Key hinterlegen
TYPO3 Camp Rhein Ruhr
                                                10. - 11. November 2012



                     Software Reviews

●
    Jeder Code enthält Fehler
●
    Fehler sind leichter mit vier, sechs, acht oder
    mehr Augen zu finden
●
    Kein Code darf ohne Review gemerged werden


●
    Review Arten
    – Funktionales   Review
    – Code   Review
TYPO3 Camp Rhein Ruhr
                                               10. - 11. November 2012



                    Functionales Review


●
    Sicherstellen, dass
    – Fixt
        Bug, Implementiert das Feature wie
     angepriesen
    – Macht   nichts kaputt

●
    Test Methoden
    – Automatisch   (Selenium, Unit Tests)
    – Manuell   (Browser + Maus + Verstand)
TYPO3 Camp Rhein Ruhr
                                              10. - 11. November 2012



                       Code Review

●
    Die Änderung:
    – Ist   korrekt (macht, was es soll)
    – Is    sauber geschrieben (robust, performant)
    – Respektiert    die CGL

●
    Test Methode
    – Automatisch:    CGL, Unit Tests
    – Manuell:    Den Code lesen
TYPO3 Camp Rhein Ruhr
                                       10. - 11. November 2012



           Nötige Stimmen (CMS)




                     Verified     Code Review


Team Member            +2             +2


   Jeder               +1             +1
TYPO3 Camp Rhein Ruhr
                                       10. - 11. November 2012



                      Git Hilfe


●
    http://wiki.typo3.org/Git
●
    Den Git Gerrit Hook einbauen!
    – Contribution   Walktrough with Command
     Line
TYPO3 Camp Rhein Ruhr
                                                 10. - 11. November 2012



                 Eine Änderung pushen



$ git push origin HEAD:refs/for/<release-branch>/<topic>

 Remote (origin ist Standard)
 Von dem aktuellen Zweig pushen
 Pseudobranch für Gerrit
 Release-Branch
 Topic

More Related Content

Featured

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
 

Featured (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
 

Gerrit

  • 1. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Gerrit Review Workflow
  • 2. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Fragen ● Wer hat schon mit Gerrit gearbeitet? ● Wer hat Gerrit bereits eingerichtet? ● Wer weiß was Gerrit ist?
  • 3. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Was ist Gerrit? ● Gerrit ist für die Qualitätsicherung
  • 4. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Vorbereitung ● Clone das Sandbox Projekt $ git clone –recursive git://git.typo3.org/Sandbox.git
  • 5. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Über Gerrit ● Web-basierende Code Review Software ● Git Server, SSH Server ● In Java geschrieben ● Wird von Google für Android geschrieben ● Arbeitert auf Git als Versionskontrollsystem ● Ist eine Art “Türsteher” vor Git ● ... und der Grund warum TYPO3 CMS zu Git migriert wurde
  • 6. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Git ohne Gerrit Git mit Gerrit
  • 7. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Gerrit in der TYPO3 Welt ● TYPO3 CMS – Mit Submodulen ● TYPO3 Flow ● TYPO3 Neos ● Einige Extensions – news, community, extension_builder ● Das Server Team arbeitet an allgemeiner Extension Unterstützung
  • 8. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Wie es früher war ● Reviews über die Core Team Mailing Liste
  • 9. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Manuelles Tracking
  • 10. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Zu Gerrit http://review.typo3.org typo.org Account
  • 11. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Gerrit Übersicht
  • 12. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Gerrit Review
  • 13. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Gerrit Vote
  • 14. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Gerrit Einstellung ● SSH Public Key hinterlegen
  • 15. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Software Reviews ● Jeder Code enthält Fehler ● Fehler sind leichter mit vier, sechs, acht oder mehr Augen zu finden ● Kein Code darf ohne Review gemerged werden ● Review Arten – Funktionales Review – Code Review
  • 16. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Functionales Review ● Sicherstellen, dass – Fixt Bug, Implementiert das Feature wie angepriesen – Macht nichts kaputt ● Test Methoden – Automatisch (Selenium, Unit Tests) – Manuell (Browser + Maus + Verstand)
  • 17. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Code Review ● Die Änderung: – Ist korrekt (macht, was es soll) – Is sauber geschrieben (robust, performant) – Respektiert die CGL ● Test Methode – Automatisch: CGL, Unit Tests – Manuell: Den Code lesen
  • 18. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Nötige Stimmen (CMS) Verified Code Review Team Member +2 +2 Jeder +1 +1
  • 19. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Git Hilfe ● http://wiki.typo3.org/Git ● Den Git Gerrit Hook einbauen! – Contribution Walktrough with Command Line
  • 20. TYPO3 Camp Rhein Ruhr 10. - 11. November 2012 Eine Änderung pushen $ git push origin HEAD:refs/for/<release-branch>/<topic> Remote (origin ist Standard) Von dem aktuellen Zweig pushen Pseudobranch für Gerrit Release-Branch Topic