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

Version history behaviors #88

Closed
auniverseaway opened this issue Oct 20, 2024 · 2 comments · Fixed by #91
Closed

Version history behaviors #88

auniverseaway opened this issue Oct 20, 2024 · 2 comments · Fixed by #91
Assignees

Comments

@auniverseaway
Copy link
Member

auniverseaway commented Oct 20, 2024

  1. If you copy, the copy gets fresh history.
  2. If you copy to replace, the copy inherits the replaced history.
  3. If you move, the history moves with it.

From @bosschaert: 1 & 3 are already the behavior.

Number 2 will need to be implemented.

@bosschaert
Copy link
Contributor

bosschaert commented Oct 21, 2024

On 2. above, what do you mean exactly? Replacing the content of an existing document with the content of another existing document, without replacing the target document's history? Because that is exactly what you get when you simply call PUT on a /source/... URL?
In that case you just have to get the content from the original and put it in the target... da-collab is automatically invalidated in that case already too.

@bosschaert bosschaert self-assigned this Oct 30, 2024
@bosschaert
Copy link
Contributor

I worked on a prototype with @karlpauls during the AdaptTo conference last week. Plan is it finish this and create a PR.

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

Successfully merging a pull request may close this issue.

2 participants