Closed hvelarde closed 7 years ago
FYI @idgserpro; we will need your help to test this at some point.
The main work here are about differences at default profile of both versions, and the differences are:
I think we should try to do all the upgrade step programmatically (needs to learn how to work with all tools envolved), this way we can add some tests.
Some views change name also, for c.nitf 1.x we have:
While for c.nitf 2.x we have:
For controlpanel settings we have for 1.x:
And for 2.x:
migration path should be between profile versions 1008 and 2000.
Shouldn't you change in docs, from
You have to be aware of the following changes when migrating from version 1.x to 2.x:
to
You have to be aware of the following changes when migrating from version 1.x to 2.x (beware that you **need** to at least upgrade to > 2.1 since the the news portlet was removed):
Then you can go with https://github.com/collective/collective.nitf/pull/197#issuecomment-301888851.
Let me get this straight: you plan in closing the PR in https://github.com/collective/collective.nitf/pull/197, then just remove the portlet code presented 2.x, then create a simple upgradeStep that removes the portlet in 1.x? And add a note to README?
We think it's importante to complement with "you should upgrade to the last 1.x version before upgrading to 2.x". From 1.x to 2.x, at least in a semantic versioning definition, some api "breakage" is expected.
I'll prepare a couple of PR to address the portlet issue and we can discuss further there.
We need to provide an upgrade step to migrate collective.nit from 1.x to 2.x in a sane way.
The upgrade step must: