{"action":"created","issue":{"url":"https://api.github.com/repos/enonic/cms2xp/issues/33","repository_url":"https://api.github.com/repos/enonic/cms2xp","labels_url":"https://api.github.com/repos/enonic/cms2xp/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/enonic/cms2xp/issues/33/comments","events_url":"https://api.github.com/repos/enonic/cms2xp/issues/33/events","html_url":"https://github.com/enonic/cms2xp/issues/33","id":300957944,"number":33,"title":"Configurable export that keeps unapproved drafts","user":{"login":"hjelmevold","id":354917,"avatar_url":"https://avatars3.githubusercontent.com/u/354917?v=4","gravatar_id":"","url":"https://api.github.com/users/hjelmevold","html_url":"https://github.com/hjelmevold","followers_url":"https://api.github.com/users/hjelmevold/followers","following_url":"https://api.github.com/users/hjelmevold/following{/other_user}","gists_url":"https://api.github.com/users/hjelmevold/gists{/gist_id}","starred_url":"https://api.github.com/users/hjelmevold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjelmevold/subscriptions","organizations_url":"https://api.github.com/users/hjelmevold/orgs","repos_url":"https://api.github.com/users/hjelmevold/repos","events_url":"https://api.github.com/users/hjelmevold/events{/privacy}","received_events_url":"https://api.github.com/users/hjelmevold/received_events","type":"User","site_admin":false},"labels":[{"id":270755536,"url":"https://api.github.com/repos/enonic/cms2xp/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"aro","id":430739,"avatar_url":"https://avatars1.githubusercontent.com/u/430739?v=4","gravatar_id":"","url":"https://api.github.com/users/aro","html_url":"https://github.com/aro","followers_url":"https://api.github.com/users/aro/followers","following_url":"https://api.github.com/users/aro/following{/other_user}","gists_url":"https://api.github.com/users/aro/gists{/gist_id}","starred_url":"https://api.github.com/users/aro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aro/subscriptions","organizations_url":"https://api.github.com/users/aro/orgs","repos_url":"https://api.github.com/users/aro/repos","events_url":"https://api.github.com/users/aro/events{/privacy}","received_events_url":"https://api.github.com/users/aro/received_events","type":"User","site_admin":false},"assignees":[{"login":"aro","id":430739,"avatar_url":"https://avatars1.githubusercontent.com/u/430739?v=4","gravatar_id":"","url":"https://api.github.com/users/aro","html_url":"https://github.com/aro","followers_url":"https://api.github.com/users/aro/followers","following_url":"https://api.github.com/users/aro/following{/other_user}","gists_url":"https://api.github.com/users/aro/gists{/gist_id}","starred_url":"https://api.github.com/users/aro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aro/subscriptions","organizations_url":"https://api.github.com/users/aro/orgs","repos_url":"https://api.github.com/users/aro/repos","events_url":"https://api.github.com/users/aro/events{/privacy}","received_events_url":"https://api.github.com/users/aro/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-28T09:51:59Z","updated_at":"2018-02-28T14:08:50Z","closed_at":null,"author_association":"MEMBER","body":"cms2xp exports all approved content, and disregards any unapproved drafts if there already is an approved version. Perhaps there could be an option to also export all unapproved drafts in a separate cms_content export folder, so the cms2xp process ends up generating folders cms_content_draft, cms_content_approved, cms_users and the app folder?\r\n\r\n<img width=\"1113\" alt=\"content-cms-approved\" src=\"https://user-images.githubusercontent.com/354917/36781164-64208390-1c75-11e8-90a3-d8e08bc8c55c.png\">\r\n<img width=\"1112\" alt=\"content-cms-latest-draft\" src=\"https://user-images.githubusercontent.com/354917/36781165-6436ccd6-1c75-11e8-8037-6d21b4767220.png\">\r\n<img width=\"297\" alt=\"content-xp-is-from-approved\" src=\"https://user-images.githubusercontent.com/354917/36781166-6451d09e-1c75-11e8-9728-b47fdbc003f3.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/enonic/cms2xp/issues/comments/369250025","html_url":"https://github.com/enonic/cms2xp/issues/33#issuecomment-369250025","issue_url":"https://api.github.com/repos/enonic/cms2xp/issues/33","id":369250025,"user":{"login":"aro","id":430739,"avatar_url":"https://avatars1.githubusercontent.com/u/430739?v=4","gravatar_id":"","url":"https://api.github.com/users/aro","html_url":"https://github.com/aro","followers_url":"https://api.github.com/users/aro/followers","following_url":"https://api.github.com/users/aro/following{/other_user}","gists_url":"https://api.github.com/users/aro/gists{/gist_id}","starred_url":"https://api.github.com/users/aro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aro/subscriptions","organizations_url":"https://api.github.com/users/aro/orgs","repos_url":"https://api.github.com/users/aro/repos","events_url":"https://api.github.com/users/aro/events{/privacy}","received_events_url":"https://api.github.com/users/aro/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T14:08:50Z","updated_at":"2018-02-28T14:08:50Z","author_association":"OWNER","body":"The reason is that XP export format does not supports versions. The dump format does, but then you have to overwrite all the data in XP. The dump format is also more complex to generate.\r\n\r\nOptions:\r\n- generate 2 exports, one for draft and one for master. This can be a bit tricky\r\n- generate 1 export like now, and add publishing status metadata as a mixin"}}
{"actor":{"display_login":"aro"}}