SlideShare a Scribd company logo
1 of 20
Download to read offline
Drupal & Composer
The romance recalibration
Summary
- Semver Notation
- Update Path Strategy with Drupal
- What should be updated
- Which version to choose
- Coder Strategy
- Composer Update
- Minor version
- Major version
- How to deal with unusable patch
- How to deal with composer.lock conflict
Semantic
Versioning
- MAJOR when you make incompatible API changes
- MINOR when you add functionality backwards compatible
- PATCH when you make backwards compatible bug fixes
Structure
1 0 7
. .
MAJOR MINOR PATCH
MAJOR.MINOR.PATCH-LABEL (eg. 1.1.0-beta1)
Symboles
^
~
*
~1.0
~1.1.0
1.*
1.1.*
^1.0
^1.1.0
<
<1.0
<1.1.0
>=1.0 <2.0.0
>=1.1.0 <1.2.0
>=1.0 <2.0.0
>=1.1.0 <2.0.0
>=1.0 <2.0.0
>=1.1.0 <1.2.0
allows the last digit
to go up
maximum
interoperability w/
backwards compatibility
Strict constraint are those constraints matching only one
version.
- Won't ever get bug fixes
- Dependency management harder when having a dependency in
common with another package
Why using strict constraint is bad
Let’s practice
drupal/core:^8.9 8.9.100
8.10.0
9.0-beta1
8.8
drupal/core:~8.9 8.9.1
8.10.0
drupal/core:~8.9.0 8.9.1
8.10.0
✅
🚫
✅
🚫
✅
✅
✅
🚫
Update Path Strategy
with Drupal
What should be updated
- composer outdated 'drupal/*'
- Access to the Report Dashboard “admin/reports/updates”
Which version to choose
- One rule, read the Release Notes
Which version to choose
Which version to choose
Composer
Update
Coder Strategy
- Check modules available
updates (composer outdated
& dashboard)
- Update each modules one
by one (with updatedb &
cex > then commit)
- Update Drupal Core /
Core-Recommended (with
updatedb & cex > then
commit)
Minor vs Major updates
How to …
… deal with unusable patch
Go to the Issue using Patch name: https://www.drupal.org/
project/bamboo_twig/issues/3125699
- Someone has already rerolled the patch, then use the
new one
- Has been merged
- You need to create a rerolled patch
… deal with unusable patch
… deal with composer.lock conflict
Thanks 🍺😘
!
" wengerk
wengerk

More Related Content

Similar to Drupal & Composer - The romance recalibration

What's new in MongoDB v1.8
What's new in MongoDB v1.8What's new in MongoDB v1.8
What's new in MongoDB v1.8
MongoDB
 
Revisions
RevisionsRevisions
Revisions
swat_kh
 
Text Editor Terbaik Untuk Coding dan Pemograman.pptx
Text Editor Terbaik Untuk Coding dan Pemograman.pptxText Editor Terbaik Untuk Coding dan Pemograman.pptx
Text Editor Terbaik Untuk Coding dan Pemograman.pptx
ssuser3e1fcc2
 
Workflow On The Fly Monitoring Solution
Workflow On The Fly Monitoring SolutionWorkflow On The Fly Monitoring Solution
Workflow On The Fly Monitoring Solution
Roman Agaev
 

Similar to Drupal & Composer - The romance recalibration (20)

What's new in MongoDB v1.8
What's new in MongoDB v1.8What's new in MongoDB v1.8
What's new in MongoDB v1.8
 
Revisions
RevisionsRevisions
Revisions
 
Oracle applications r12.2, ebr, online patching means lot of work for devel...
Oracle applications r12.2, ebr, online patching   means lot of work for devel...Oracle applications r12.2, ebr, online patching   means lot of work for devel...
Oracle applications r12.2, ebr, online patching means lot of work for devel...
 
Sergii Shymko: Magento 2: Composer for Extensions Distribution
Sergii Shymko: Magento 2: Composer for Extensions DistributionSergii Shymko: Magento 2: Composer for Extensions Distribution
Sergii Shymko: Magento 2: Composer for Extensions Distribution
 
Magento 2 Composer for Extensions Distribution
Magento 2 Composer for Extensions DistributionMagento 2 Composer for Extensions Distribution
Magento 2 Composer for Extensions Distribution
 
Upgrade your mongo the right way linkedin
Upgrade your mongo the right way linkedinUpgrade your mongo the right way linkedin
Upgrade your mongo the right way linkedin
 
Computer Architecture Assignment Help
Computer Architecture Assignment HelpComputer Architecture Assignment Help
Computer Architecture Assignment Help
 
How do you implement Continuous Delivery?: Part 5 - Deployment Patterns
How do you implement Continuous Delivery?: Part 5 - Deployment PatternsHow do you implement Continuous Delivery?: Part 5 - Deployment Patterns
How do you implement Continuous Delivery?: Part 5 - Deployment Patterns
 
Magento Community Hangouts 10 Feb, 2021 Composer 2 Support
Magento Community Hangouts  10 Feb, 2021 Composer 2 SupportMagento Community Hangouts  10 Feb, 2021 Composer 2 Support
Magento Community Hangouts 10 Feb, 2021 Composer 2 Support
 
Releases - CFEngine presentation - Configuration Management Camp 2015
Releases - CFEngine presentation - Configuration Management Camp 2015Releases - CFEngine presentation - Configuration Management Camp 2015
Releases - CFEngine presentation - Configuration Management Camp 2015
 
Mdb dn 2016_09_34_features
Mdb dn 2016_09_34_featuresMdb dn 2016_09_34_features
Mdb dn 2016_09_34_features
 
.NET MeetUp Prague 2017 - .NET Standard -- Karel Zikmund
.NET MeetUp Prague 2017 - .NET Standard -- Karel Zikmund.NET MeetUp Prague 2017 - .NET Standard -- Karel Zikmund
.NET MeetUp Prague 2017 - .NET Standard -- Karel Zikmund
 
2to3
2to32to3
2to3
 
A vision for ejabberd - ejabberd SF Meetup
A vision for ejabberd - ejabberd SF MeetupA vision for ejabberd - ejabberd SF Meetup
A vision for ejabberd - ejabberd SF Meetup
 
Cobol programming language
Cobol programming languageCobol programming language
Cobol programming language
 
Text Editor Terbaik Untuk Coding dan Pemograman.pptx
Text Editor Terbaik Untuk Coding dan Pemograman.pptxText Editor Terbaik Untuk Coding dan Pemograman.pptx
Text Editor Terbaik Untuk Coding dan Pemograman.pptx
 
Paris Video Tech - 1st Edition: Streamroot, Adaptive Bitrate Algorithms: comm...
Paris Video Tech - 1st Edition: Streamroot, Adaptive Bitrate Algorithms: comm...Paris Video Tech - 1st Edition: Streamroot, Adaptive Bitrate Algorithms: comm...
Paris Video Tech - 1st Edition: Streamroot, Adaptive Bitrate Algorithms: comm...
 
Skinny Framework Progress Situation
Skinny Framework Progress SituationSkinny Framework Progress Situation
Skinny Framework Progress Situation
 
How to increase the ui performance of apps designed using react
How to increase the ui performance of apps designed using react How to increase the ui performance of apps designed using react
How to increase the ui performance of apps designed using react
 
Workflow On The Fly Monitoring Solution
Workflow On The Fly Monitoring SolutionWorkflow On The Fly Monitoring Solution
Workflow On The Fly Monitoring Solution
 

More from Kevin Wenger

More from Kevin Wenger (6)

Workflows - The Rise of the Machines.pdf
Workflows - The Rise of the Machines.pdfWorkflows - The Rise of the Machines.pdf
Workflows - The Rise of the Machines.pdf
 
Headless cms architecture
Headless cms architectureHeadless cms architecture
Headless cms architecture
 
Workflows - The Rise of the Machines
Workflows - The Rise of the MachinesWorkflows - The Rise of the Machines
Workflows - The Rise of the Machines
 
Capistrano @antistatque - deploy to the moon
Capistrano @antistatque  - deploy to the moonCapistrano @antistatque  - deploy to the moon
Capistrano @antistatque - deploy to the moon
 
Apache Solr
Apache SolrApache Solr
Apache Solr
 
Use drupal 8 as a framework the romance recalibration
Use drupal 8 as a framework   the romance recalibrationUse drupal 8 as a framework   the romance recalibration
Use drupal 8 as a framework the romance recalibration
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Drupal & Composer - The romance recalibration