SlideShare uma empresa Scribd logo
1 de 18
Baixar para ler offline
1 Copyright ©2014 CollabNet, Inc. All Rights Reserved.ENTERPRISE CLOUD DEVELOPMENTENTERPRISE CLOUD DEVELOPMENT
Guiding Diffy to the Enterprise land
Dariusz Luksza
Eryk Szymanski
CollabNet Engineering, Potsdam, Germany
2 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
●
First TeamForge Gerrit integration was hacked into
2.1 – this means close to zero possibility of update
●
About 1,5 year ago we started our journey …
●
So we started from scratch with 2.6 and its plugin
architecture
●
We had only three requirements:
– Keep same behaviour and API as we had in 2.1
– Keep same performance characteristics
– Make it easy to update to newest upstream version
3 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
●
Few stats about our biggest plugin:
– cat `find src/main/java -name "*.java"` | wc -l
11962
– du -sh src/main/java
828K src/main/java
●
This is actually plugin responsible for
synchronization with TeamForge
4 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Expectations
Reality
The Road From 2.1 to 2.6
5 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
The Road From 2.1 to 2.6
Reality
6 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
The Road From 2.1 to 2.6
7 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Obstacle 1
missing extension points
8 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
●
We are contributing back all our modifications to Gerrit:
– Initial support for Web UI plugins (#38330, #38331, #38332),
– Fix binding of @Listen annotated extensions points in HTTP and SSH module
(#39293),
– Bump GWT to 2.5.0 version and fix connected issues (#39540, #39610 #38962),
– Prevent from deleting refs/changes/ (#40385),
– Fix GitWeb Caching (#41360),
– Add additional context for group name suggester API (#40123),
– Initial work on making JavaSript plugins architecture more pleasant for JS
developers (#39270),
– Allow include external group into internal one and set external group as a owner
of internal one (#46840, #47020),
– Add --list-plugins and --install-pliugin parameters to init step (#47818, #47819),
– Fix ChangeMergedEvent parameter for merged patch sets (#48221)
– Improvements to logging subsystem (#51890, #52164)
– Make plugin servlet's context path authorization aware (#51192)
– Get rid of JdbcSQLException while numbers are read from cache (#51193)
9 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
●
But still some of our core contributions are in the
review:
– Authentication extension point
– Secure store extension point
– Commit verification fast path
●
So what?
– Instead of investing our time in new features (like Angular-
Gerrit) we are burning our cycles rebasing, resolving conflicts
and testing above functionalities with current stable branch
10 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Obstacle 2
redeploy & friends
11 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
●
Each plugin runs in separate ClassLoader
●
If one of your libraries is not behaving well (eg. is
not cleaning thread locals like Apache Axis does)
you will get out of PermGen space after 5th or 10th
deploy
●
Solution? Simple, always restart gerrit before next
deploy
●
This work for us for quite long time... since our 4th
plugin appears... we loaded Axis (and other
dependencies) fourth time and we need to change
container.javaOptions to increase PermGen size
because Gerrit was unable to load all plugins
12 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
●
What is more, separate ClassLoaders for each
plugin means NO class instance sharing between
plugins!
●
Solution? We didn't find one. Currently we share
only one single piece of information (the repository
ID) between our plugins, using refs/meta/teamforge
ref
13 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Obstacle 3
extending Web UI
14 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
HistoryProtection UI:
Notification UI:
15 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
●
Even after our contribution to 2.6 extending Web UI
was hard (things dramatically changed in Gerrit 2.8)
●
Further modifications in Gerrit were required:
– GWT module for REST api
– JSNI extensions for REST calls
●
Can't start GWT debug session with plugin
(fallback to Window.alert() “debugging”)
●
GWT based development is SLOOOOW!!
16 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Chasing the community
the never ending story
17 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
●
Gerrit is a moving target
●
Now we are on 2.7
●
Still with 70 additional patches
●
Most of them were contributed back... but were not
merged yet
●
So we are rebasing them on top of upstream
●
Next stop? Gerrit 2.8...
●
What is the hard part? Finding balance between
contributions and our internal modifications
18 Copyright ©2014 CollabNet, Inc. All Rights Reserved.ENTERPRISE CLOUD DEVELOPMENTENTERPRISE CLOUD DEVELOPMENT
Thank you!
Dariusz Luksza
Eryk Szymanski
CollabNet Engineering, Potsdam, Germany

Mais conteúdo relacionado

Mais procurados

Git flow for daily use
Git flow for daily useGit flow for daily use
Git flow for daily use
Mediacurrent
 
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
Roberto Pérez Alcolea
 

Mais procurados (20)

Announcing asp.net core updates in .net 5 preview 8
Announcing asp.net core updates in .net 5 preview 8Announcing asp.net core updates in .net 5 preview 8
Announcing asp.net core updates in .net 5 preview 8
 
Git and git flow
Git and git flowGit and git flow
Git and git flow
 
Jfrog artifactory as private docker registry
Jfrog artifactory as private docker registryJfrog artifactory as private docker registry
Jfrog artifactory as private docker registry
 
Migrating from Grails 2 to Grails 3
Migrating from Grails 2 to Grails 3Migrating from Grails 2 to Grails 3
Migrating from Grails 2 to Grails 3
 
WSO2 Screencast - How to Easily Build a Git-Based CI/CD Pipeline for your API...
WSO2 Screencast - How to Easily Build a Git-Based CI/CD Pipeline for your API...WSO2 Screencast - How to Easily Build a Git-Based CI/CD Pipeline for your API...
WSO2 Screencast - How to Easily Build a Git-Based CI/CD Pipeline for your API...
 
Git in 10 minutes (WordCamp Europe 2017)
Git in 10 minutes (WordCamp Europe 2017)Git in 10 minutes (WordCamp Europe 2017)
Git in 10 minutes (WordCamp Europe 2017)
 
Testing with JUnit 5 and Spring
Testing with JUnit 5 and SpringTesting with JUnit 5 and Spring
Testing with JUnit 5 and Spring
 
Git-flow workflow and pull-requests
Git-flow workflow and pull-requestsGit-flow workflow and pull-requests
Git-flow workflow and pull-requests
 
Git introduction for Beginners
Git introduction for BeginnersGit introduction for Beginners
Git introduction for Beginners
 
Igalia Focus and Goals 2020 (2019 WebKit Contributors Meeting)
Igalia Focus and Goals 2020 (2019 WebKit Contributors Meeting)Igalia Focus and Goals 2020 (2019 WebKit Contributors Meeting)
Igalia Focus and Goals 2020 (2019 WebKit Contributors Meeting)
 
How to keep maintainability of long life Scala applications
How to keep maintainability of long life Scala applicationsHow to keep maintainability of long life Scala applications
How to keep maintainability of long life Scala applications
 
React and Web Performance
React and Web Performance React and Web Performance
React and Web Performance
 
Git flow Introduction
Git flow IntroductionGit flow Introduction
Git flow Introduction
 
Web Technologies in Automotive & Robotics (BlinkOn 10)
Web Technologies in Automotive & Robotics (BlinkOn 10)Web Technologies in Automotive & Robotics (BlinkOn 10)
Web Technologies in Automotive & Robotics (BlinkOn 10)
 
Git flow for daily use
Git flow for daily useGit flow for daily use
Git flow for daily use
 
Branching and merging strategy
Branching and merging strategyBranching and merging strategy
Branching and merging strategy
 
19 GitFlow #burningkeyboards
19 GitFlow #burningkeyboards19 GitFlow #burningkeyboards
19 GitFlow #burningkeyboards
 
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
Leveraging Gradle @ Netflix (Madrid GUG Feb 2, 2021)
 
Git & gitflow
Git & gitflowGit & gitflow
Git & gitflow
 
tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...
tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...
tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...
 

Destaque

削除フラグのはなし
削除フラグのはなし削除フラグのはなし
削除フラグのはなし
Shigetaka Yachi
 

Destaque (7)

Digital Media Strategy
Digital Media Strategy Digital Media Strategy
Digital Media Strategy
 
Secure collab on premise
Secure collab on premiseSecure collab on premise
Secure collab on premise
 
削除フラグのはなし
削除フラグのはなし削除フラグのはなし
削除フラグのはなし
 
Fundamentals of brand building
Fundamentals of brand building Fundamentals of brand building
Fundamentals of brand building
 
10 Revealing Statistics About Compensation & Benefits You should Know
10 Revealing Statistics About Compensation & Benefits You should Know10 Revealing Statistics About Compensation & Benefits You should Know
10 Revealing Statistics About Compensation & Benefits You should Know
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 

Semelhante a Guiding Diffy to the Enterprise land

Application depolyment
Application depolymentApplication depolyment
Application depolyment
shriikantL
 

Semelhante a Guiding Diffy to the Enterprise land (20)

Unify logz with fluentd
Unify logz with fluentdUnify logz with fluentd
Unify logz with fluentd
 
Apigee deploy grunt plugin.1.0
Apigee deploy grunt plugin.1.0Apigee deploy grunt plugin.1.0
Apigee deploy grunt plugin.1.0
 
Sst hackathon express
Sst hackathon expressSst hackathon express
Sst hackathon express
 
Building our Component Library
Building our Component LibraryBuilding our Component Library
Building our Component Library
 
Build and release iOS apps using Fastlane tools
Build and release iOS apps using Fastlane toolsBuild and release iOS apps using Fastlane tools
Build and release iOS apps using Fastlane tools
 
Fun with Jenkins & Salesforce
Fun with Jenkins & SalesforceFun with Jenkins & Salesforce
Fun with Jenkins & Salesforce
 
Sprint 151
Sprint 151Sprint 151
Sprint 151
 
Berlin AWS meetup: here.com on AWS
Berlin AWS meetup: here.com on AWSBerlin AWS meetup: here.com on AWS
Berlin AWS meetup: here.com on AWS
 
Webrtc plugins for Desktop Browsers
Webrtc plugins for Desktop BrowsersWebrtc plugins for Desktop Browsers
Webrtc plugins for Desktop Browsers
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository world
 
Jakarta EE 11 Status Update​
Jakarta EE 11 Status Update​Jakarta EE 11 Status Update​
Jakarta EE 11 Status Update​
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
 
Java 9 and Beyond
Java 9 and BeyondJava 9 and Beyond
Java 9 and Beyond
 
CISOA Conference 2020 Banner 9 Development
CISOA Conference 2020 Banner 9 DevelopmentCISOA Conference 2020 Banner 9 Development
CISOA Conference 2020 Banner 9 Development
 
Rejekts 24 EU No GitOps Pain, No Platform Gain
Rejekts 24 EU No GitOps Pain, No Platform GainRejekts 24 EU No GitOps Pain, No Platform Gain
Rejekts 24 EU No GitOps Pain, No Platform Gain
 
Introduction to git & github
Introduction to git & githubIntroduction to git & github
Introduction to git & github
 
Grails 4: Upgrade your Game!
Grails 4: Upgrade your Game!Grails 4: Upgrade your Game!
Grails 4: Upgrade your Game!
 
Application depolyment
Application depolymentApplication depolyment
Application depolyment
 
Sprint 140
Sprint 140Sprint 140
Sprint 140
 
Angular (v2 and up) - Morning to understand - Linagora
Angular (v2 and up) - Morning to understand - LinagoraAngular (v2 and up) - Morning to understand - Linagora
Angular (v2 and up) - Morning to understand - Linagora
 

Mais de Dariusz Łuksza

Mais de Dariusz Łuksza (9)

A story of 715 commits… in ~15 minutes

A story of 715 commits… in ~15 minutes
A story of 715 commits… in ~15 minutes

A story of 715 commits… in ~15 minutes

 
One Man App
One Man AppOne Man App
One Man App
 
Your own full blown Gerrit plugin
Your own full blown Gerrit pluginYour own full blown Gerrit plugin
Your own full blown Gerrit plugin
 
Review your code like a Googler
Review your code like a GooglerReview your code like a Googler
Review your code like a Googler
 
Git in Eclipse
Git in EclipseGit in Eclipse
Git in Eclipse
 
Put more eyes on code
Put more eyes on codePut more eyes on code
Put more eyes on code
 
Gerrit Code Review - The Introduction
Gerrit Code Review - The IntroductionGerrit Code Review - The Introduction
Gerrit Code Review - The Introduction
 
Gerrit JavaScript Plugins
Gerrit JavaScript PluginsGerrit JavaScript Plugins
Gerrit JavaScript Plugins
 
Eclipse of idleness and focus on current task (rev. 2)
Eclipse of idleness and focus on current task (rev. 2)Eclipse of idleness and focus on current task (rev. 2)
Eclipse of idleness and focus on current task (rev. 2)
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Guiding Diffy to the Enterprise land

  • 1. 1 Copyright ©2014 CollabNet, Inc. All Rights Reserved.ENTERPRISE CLOUD DEVELOPMENTENTERPRISE CLOUD DEVELOPMENT Guiding Diffy to the Enterprise land Dariusz Luksza Eryk Szymanski CollabNet Engineering, Potsdam, Germany
  • 2. 2 Copyright ©2014 CollabNet, Inc. All Rights Reserved. ● First TeamForge Gerrit integration was hacked into 2.1 – this means close to zero possibility of update ● About 1,5 year ago we started our journey … ● So we started from scratch with 2.6 and its plugin architecture ● We had only three requirements: – Keep same behaviour and API as we had in 2.1 – Keep same performance characteristics – Make it easy to update to newest upstream version
  • 3. 3 Copyright ©2014 CollabNet, Inc. All Rights Reserved. ● Few stats about our biggest plugin: – cat `find src/main/java -name "*.java"` | wc -l 11962 – du -sh src/main/java 828K src/main/java ● This is actually plugin responsible for synchronization with TeamForge
  • 4. 4 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Expectations Reality The Road From 2.1 to 2.6
  • 5. 5 Copyright ©2014 CollabNet, Inc. All Rights Reserved. The Road From 2.1 to 2.6 Reality
  • 6. 6 Copyright ©2014 CollabNet, Inc. All Rights Reserved. The Road From 2.1 to 2.6
  • 7. 7 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Obstacle 1 missing extension points
  • 8. 8 Copyright ©2014 CollabNet, Inc. All Rights Reserved. ● We are contributing back all our modifications to Gerrit: – Initial support for Web UI plugins (#38330, #38331, #38332), – Fix binding of @Listen annotated extensions points in HTTP and SSH module (#39293), – Bump GWT to 2.5.0 version and fix connected issues (#39540, #39610 #38962), – Prevent from deleting refs/changes/ (#40385), – Fix GitWeb Caching (#41360), – Add additional context for group name suggester API (#40123), – Initial work on making JavaSript plugins architecture more pleasant for JS developers (#39270), – Allow include external group into internal one and set external group as a owner of internal one (#46840, #47020), – Add --list-plugins and --install-pliugin parameters to init step (#47818, #47819), – Fix ChangeMergedEvent parameter for merged patch sets (#48221) – Improvements to logging subsystem (#51890, #52164) – Make plugin servlet's context path authorization aware (#51192) – Get rid of JdbcSQLException while numbers are read from cache (#51193)
  • 9. 9 Copyright ©2014 CollabNet, Inc. All Rights Reserved. ● But still some of our core contributions are in the review: – Authentication extension point – Secure store extension point – Commit verification fast path ● So what? – Instead of investing our time in new features (like Angular- Gerrit) we are burning our cycles rebasing, resolving conflicts and testing above functionalities with current stable branch
  • 10. 10 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Obstacle 2 redeploy & friends
  • 11. 11 Copyright ©2014 CollabNet, Inc. All Rights Reserved. ● Each plugin runs in separate ClassLoader ● If one of your libraries is not behaving well (eg. is not cleaning thread locals like Apache Axis does) you will get out of PermGen space after 5th or 10th deploy ● Solution? Simple, always restart gerrit before next deploy ● This work for us for quite long time... since our 4th plugin appears... we loaded Axis (and other dependencies) fourth time and we need to change container.javaOptions to increase PermGen size because Gerrit was unable to load all plugins
  • 12. 12 Copyright ©2014 CollabNet, Inc. All Rights Reserved. ● What is more, separate ClassLoaders for each plugin means NO class instance sharing between plugins! ● Solution? We didn't find one. Currently we share only one single piece of information (the repository ID) between our plugins, using refs/meta/teamforge ref
  • 13. 13 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Obstacle 3 extending Web UI
  • 14. 14 Copyright ©2014 CollabNet, Inc. All Rights Reserved. HistoryProtection UI: Notification UI:
  • 15. 15 Copyright ©2014 CollabNet, Inc. All Rights Reserved. ● Even after our contribution to 2.6 extending Web UI was hard (things dramatically changed in Gerrit 2.8) ● Further modifications in Gerrit were required: – GWT module for REST api – JSNI extensions for REST calls ● Can't start GWT debug session with plugin (fallback to Window.alert() “debugging”) ● GWT based development is SLOOOOW!!
  • 16. 16 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Chasing the community the never ending story
  • 17. 17 Copyright ©2014 CollabNet, Inc. All Rights Reserved. ● Gerrit is a moving target ● Now we are on 2.7 ● Still with 70 additional patches ● Most of them were contributed back... but were not merged yet ● So we are rebasing them on top of upstream ● Next stop? Gerrit 2.8... ● What is the hard part? Finding balance between contributions and our internal modifications
  • 18. 18 Copyright ©2014 CollabNet, Inc. All Rights Reserved.ENTERPRISE CLOUD DEVELOPMENTENTERPRISE CLOUD DEVELOPMENT Thank you! Dariusz Luksza Eryk Szymanski CollabNet Engineering, Potsdam, Germany