You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project where I want to add my local configuration as demo/default content for the distribution. I just found out this is not possible (yet). in
the distribution with which the site was created is being requested. But this is in my use case not known since I'm starting a new distribution. So I should first manually recreate my site example content. Meh.
I assume it is possible to add an extra parameter to the export-distribution command line tool where you can specify the distribution. I'll see if I have time to contribute a PR.
The text was updated successfully, but these errors were encountered:
I've checked the cli and exporting code a bit more. An annotation is stored on the site root of any Plone site that has been created 'from' a distribution and that annotation is restored to a Distribution object and required as soon as en export is needed. I'm not sure what exactly is needed from the Distribution object.
I have a project where I want to add my local configuration as demo/default content for the distribution. I just found out this is not possible (yet). in
plone.distribution/src/plone/distribution/cli/__init__.py
Line 36 in 9145dd0
the distribution with which the site was created is being requested. But this is in my use case not known since I'm starting a new distribution. So I should first manually recreate my site example content. Meh.
I assume it is possible to add an extra parameter to the export-distribution command line tool where you can specify the distribution. I'll see if I have time to contribute a PR.
The text was updated successfully, but these errors were encountered: