We have one package that we identify that we don't need its profile (collective.js.cycle2
) so I need to write an upgrade step to remove the existent profile.
Looking at the code I usually have to update profile, I found that in the end it calls: portal_setup.runAllImportStepsFromProfile(profile, purge_old=False
)
Is it a good practice to run portal_setup.runAllImportStepsFromProfile(profile, purge_old=True)
to remove the profile? ( I didn't find anything at plone.app.upgrade.utils.py
to make it).