We're updating the issue view to help you get more done. 

CLI tool to update the installation profile

Description

We have been struggling with the idea of having multiple servers and sharing / moving installation profiles from one machine to another while retaining the data. This relates to a dev / stage / prod kind of setup. Also doing a migration of a new collection into an existing instance led me to want to just add / update the installation profile based on a light profile.xml file that only contained the relevant information. I thought this was going to be nigh on impossible but digging into the installer codebase it hasn't been too difficult - basically if you're updating just check for pre-existing items based on the code / idno.

I have a PR coming for this. I have added it to caUtils as:
caUtils update-installation-profile -d {directoryWhereProfileExsists} -n {profileFileNameWithout.xml}

I have added it under 'Configuration - Expermimental'.

What this does not do is delete any existing configuration, it just adds to it. Doing the diffing for such an operation would be nice (TM) but is way above my ability.

Environment

None

Assignee

User known

Reporter

Kehan Harman

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure