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

snapshot like wiki space cloning? #230

Open
phot0n opened this issue Apr 18, 2024 · 1 comment
Open

snapshot like wiki space cloning? #230

phot0n opened this issue Apr 18, 2024 · 1 comment

Comments

@phot0n
Copy link
Contributor

phot0n commented Apr 18, 2024

currently the wiki space is cloned in background which clones the page items in the space at the moment the clone job is run - which is fine but not really what my expectation was.

My Expectation: The moment I hit "Clone Wiki Space" it should create an exact replica of the wiki space at that point in time (when the button was clicked). Cause If I start deleting/adding stuff post that clone button hit, and my job starts after that, I get a replica of the current state of my wiki space rather than the original state.

probably all the space items would need to be sent to the clone job?

@phot0n
Copy link
Contributor Author

phot0n commented Apr 18, 2024

also this:

cloned_wiki_page.route = cloned_wiki_page.route.replace(original_space, new_space)

should ideally be .replace(x, y, 1)

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

No branches or pull requests

1 participant