Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty target spaces before importing #202

Open
raphj opened this issue Oct 14, 2024 · 1 comment
Open

Empty target spaces before importing #202

raphj opened this issue Oct 14, 2024 · 1 comment

Comments

@raphj
Copy link
Contributor

raphj commented Oct 14, 2024

When migrating confluence packages, we most definitely don't want to end up with a mix of previous content and new content. Currently,

  • if someone removes a page from Confluence, and reimport the space, the page will still be there in XWiki
  • if someone rename a page in Confluence and reimport, the page will be there twice
  • if someone imports, and then changes the naming strategy, everything will be duplicated

Target spaces should be emptied before importing Confluence spaces.

This would also work around #88

@lucaa
Copy link

lucaa commented Oct 14, 2024

Actually, this should be an option.

Sometimes you want to mix things up, as you may want to only update some things (since there is a filter to only import some pages), or you may want to migrate 2 different sources in the same target space (or something)

I think the cleanup option needs to be an option, usable for a "reimport" use-case. However, we should not assume that all imports in an existing location are reimport use-cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants