Since setup profiles have versions, the upgrade tool should allow to upgrade a profile.
We should modify the upgrade tool to support the option profile and target.
Here is an example of how we could upgrade AM profile from a previous version to 6.5:
upgrade with the profile option should also support the --data-only option.
We should use the version file mechanism used by upgrade to achieve this.
We should also consider this case:
In a devops environment where only the immutable part of a profile was upgraded,
What should happen when we run upgrade --data-only ?
- Should it fail?
- Should it automatically upgrade the data part of the profile ?