Loading...
 
Skip to main content

History: Profile dependencies

Preview of version: 6

Profile dependencies can be used to build a large profile out of smaller "mini" or "sub" profiles. For example, if you want to have a more modular version of the Company Intranet profile you can use dependencies to include the blog configuration, and then use that same blog configuration in another profile.

Dependencies Syntax


MyConfigurationRepositoryProfile
Copy to clipboard
{CODE(caption=>YAML)} dependencies: # Could also be called dummy - $profiles.tiki.org:BugTrackerProfile:bug_tracker - $profiles.tiki.org:ClientManagementProfile:client_tracker - $profiles.tiki.org:SampleDataProfile:sample_page {CODE}


By installing the MyConfigurationRepositoryProfile profile, the following profiles would be installed:

  1. MyConfigurationRepositoryProfile (everything on the original page.)
  2. BugTrackerProfile
  3. ClientManagementProfile
  4. CategoryTreeProfile (if this profile is referenced in ClientManagementProfile for example)
  5. SampleDataProfile

Current Limitations

  • Dependencies need to be all in one YAML block
  • The referenced profiles need to be named without spaces or the words must be joined together using underscore (no spaces or dashes, ex: User_Tracker)
  • If you develop a profile with dependencies, please note that newly added dependencies where the referenced profiles contain profile requests (for user input) may not appear until you freshen and re-install your database
  • When there is anything changed in the dependent profile, it is not re-applied after doing the "Forget and Re-Apply" action (only newly added dependencies are applied)

History

Information Version
Tue 20 of Jun, 2017 11:45 GMT-0000 luciash d' being 🧙 typo 9
Tue 27 of Oct, 2015 15:48 GMT-0000 Nelson Ko Add link to Branching page 8
Tue 18 of Sep, 2012 21:10 GMT-0000 Marc Laporte Code Plugin modified by editor. 7
Mon 02 of Apr, 2012 01:22 GMT-0000 Greg Wheat Moved to documentation 6
Tue 14 of Sep, 2010 03:12 GMT-0000 Marc Laporte cleaner 5
Sat 28 of Aug, 2010 16:31 GMT-0000 luciash d' being 🧙 correction of the fact 4
Thu 26 of Aug, 2010 21:00 GMT-0000 luciash d' being 🧙 3
Thu 26 of Aug, 2010 18:33 GMT-0000 luciash d' being 🧙 2
Tue 06 of Apr, 2010 13:45 GMT-0000 idealpragmatist 1