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

Integrate with git #3

Open
KOLANICH opened this issue Oct 13, 2016 · 2 comments
Open

Integrate with git #3

KOLANICH opened this issue Oct 13, 2016 · 2 comments
Labels
feature request Issues that request new features to be added to OnlyOffice

Comments

@KOLANICH
Copy link

KOLANICH commented Oct 13, 2016

To use git to version xml-based documents you need to implement
1 opening, editing and saving unpacked documents
2 (optional, but highly required) packing them with couple clicks
3 (optional) implement diff and merge of structure.There are some AST diff and merge tools, some of them capable to merge xml documents, some of them are even free software, it can be useful to reuse their code. It is very probable thay you will have to modify it with own rules to make the merges mor correct. This diff and merge tool should be wysiwyg, they should be abke to show the document as it is changed.

This is all you'll have to do to add versioning using third-party VCS, like git. IMHO it'd be a killer feature (I've never seen this kind of feture in text editors).

@efimov90
Copy link

Why not using some GIT fs?

@KOLANICH
Copy link
Author

@efimov90
1 docx are zip archives, you need to unpack them first to use them with git. And they should be editable with your editor in that state.
2 there is a need in a more smart diff and merge tool for that documents because the same formatting may result in different internal structures and we want diffs to be as small and semantic as possible

@ShockwaveNN ShockwaveNN added the feature request Issues that request new features to be added to OnlyOffice label Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to OnlyOffice
Projects
None yet
Development

No branches or pull requests

3 participants