Everything is (or should be planned as) a distribution! Bryan
Dear Edtech, ELMSLN is here And it wants to replace your vendors. Bryan Wed you should check out..
@btopro Bryan Ollendyke Happy father of two, husband of one Penn State, College of Arts and Architecture’s e-Learning Institute Drupal developer since ’07 Commits to 76 d.o. projects – ~2k commits (github way more) More popular contrib – Tinynav – profiler_builder – outline_designer – replicate_ui Constantly automating job out of from twitter
Agenda What is a distribution vs Install profile Why you need Profiler Builder Ways to manage lots of profiles / distributions Turning a site into a profile Random examples Q&A
Skip ahead – All things ELMS Learning Network – Shameless plug – lots of great articles – Shameless plug for PSU’s community (you all have devices)
How can I play? ELMSLN – How the team collaborates Nittany – Recommended distribution for PSU Drupal usage Vagrant and Vagrant logo © HashiCorp
What is an install profile? Drupal Flavor / install routine Enable these modules Use this theme Run this php What can I include? Custom modules / features Custom themes Custom libraries
install profile
What is a Distribution Drush / “Make” files This defines everything that should be downloaded Install profile And all the stuff in it Contrib Modules Contrib Themes Libraries From d.o. and non-d.o. sources Patches
Distribution
Distributions on d.o Everything must be GPL v2 Leads to licensing hell External libraries this can be problematic External libraries must clear a “packaging whitelist” Some modules include.make files (which it spiders) I package everything on github nicely Drupal.org there’s manual work to run my distros
Think of every site as a new distribution
{what the last talk was saying!} Name space everything
View displays / pages / feeds Feeds Feature names Field names context / panel names ANY machine names of any kind!
Profiler Builder
Profiler Builder Build out site, then make it a profile Looks at what’s enabled and creates install profile Reverts all enabled features automatically Robust API for adding and excluding items from builds Sniffs out patches / libraries and auto adds them to make files! Produces multiple make files Make file, make file specific to d.o., make file for local development Drush support Cooks, cleans and spit shines your shoes
Also.. Profiler Builder Always get dev
Ways to manage lots of profiles / distributions
DSLM Drush Sym-link manager Alternate method of – Multisite management – Install profile management Support for multiple versions of Drupal (minor and major)
DSLM Graphic credit Penn State, CC SA 4.0
Galaxy “A Distribution of Distributions” DSLM for multiple Drupal “Stacks” in same package – APC optimization Cleaner devops to repo management when lots of repos involved Structure similar to D8 – core directory you no touch! Symlinks help abstract config from code Supports more then just Drupal
Demo #elmsln Photo credit Bryan Ollendyke, CC SA 4.0
Dear Edtech, ELMSLN is here And it wants to replace your vendors. Bryan REMEMBER WED-NESS-DAY