Is there any way to merge multiple op's between any two versions?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6.5k
- Forks
- 456
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 5
Description
For intance, a docs have three version, A ,B, C
A contents is : github
B content is: gb
C content is: gitbit
thus there has two ops:
A ---delete text(delete 'ithb')---> B ---insert text(add 'it' after 'g' and add 'it' after 'b')---> C
So, is there any way to get the merged ops between version a to version c? The merged op above should be:
A ---delete text (delete 'hu') & insert text (add 'it' after 'b') ---> C
Any help are welcome!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no file, test, or entry point. Start by locating SharedDB's operational-transformation and version-history APIs, then compare their behavior with the A-to-C example. Done would require a decided scope and a demonstrated way to obtain the merged operation, with coverage for the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100