[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 Stéphane Guillou (stragu) changed: What|Removed |Added Status|NEW |RESOLVED See Also|https://bugs.documentfounda | |tion.org/show_bug.cgi?id=85 | |660 | Resolution|--- |DUPLICATE --- Comment #9 from Stéphane Guillou (stragu) --- *** This bug has been marked as a duplicate of bug 85660 *** -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 Stéphane Guillou (stragu) changed: What|Removed |Added See Also|https://bugs.documentfounda | |tion.org/show_bug.cgi?id=91 | |098 | -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 Tim Wiel changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=91 ||413 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 --- Comment #8 from Tim Wiel --- Any movement on this enhancement - I have a 300 page policy document I am tracking in Git for changes and the noise creates large git overhead with each save. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 Mike Kaganski changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=85 ||660 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 --- Comment #7 from regivanx --- I have already used fodt in git, and automatic styles are painful. 1) they prevent transparent comparison of two versions of files in git, 2) they make it difficult to apply an xsl style sheet to a set of fodt files, because the automatic style numbers are random, 3) the file is less readable by a human being. It is possible to disable the use of automatic styles in LibreOffice Writer: Tools -> Options -> LibreOffice Writer -> Comparison -> Random number to improve accuracy of document comparison -> NOT Store it when changing the document My opinion is that automatic styles are not useful for all purposes, and there should be a LibreOffice command-line option to replace automatic styles with named styles in files (that is, a xsl style sheet). Ideally, flat files should not use automatic styles by default, in order to be easier to handle with external programs (git, xsltproc...). -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 --- Comment #6 from Mike Kaganski --- (In reply to Basil Eric Rabi from comment #5) > saving an unmodified calc > file in .fods format changes a lot of "style:name" entries in the xml file. > The style:name values seem to be just swapped around. This causes a lot of > diff noises in the xml file even when no modification is done on the format > or in the content. https://git.libreoffice.org/core/+/eb128a7d6bbc27b4dbbf9461c81c90e40203b114 *possibly* would address that part. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 --- Comment #5 from Basil Eric Rabi--- Aside from the time stamps and printer metadata, saving an unmodified calc file in .fods format changes a lot of "style:name" entries in the xml file. The style:name values seem to be just swapped around. This causes a lot of diff noises in the xml file even when no modification is done on the format or in the content. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 --- Comment #4 from V字龍(Vdragon)--- The previously mentioned clean filter has moved to the following address: https://github.com/libreoffice-tw/Clean-Filter-for-Flat-XML-ODF-Documents -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 --- Comment #3 from V字龍(Vdragon)--- Here's a git clean filter implementation that strips most of the annoying tags https://github.com/Lin-Buo-Ren/Useful_Git_Clean_and_Smudge_Filters You may check out the source here: https://github.com/Lin-Buo-Ren/Useful_Git_Clean_and_Smudge_Filters/blob/master/Git%20Clean%20and%20Smudge%20Filters/clean-odf-flat-xml.bash -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 --- Comment #2 from David Tardon dtar...@redhat.com --- *** Bug 91098 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.documentfoundation.org/show_bug.cgi?id=88298 Ed Braaten e...@braaten-family.org changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=91 ||098 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88298] [RFE] Make Flat XML ODF format git friendly
https://bugs.freedesktop.org/show_bug.cgi?id=88298 Robinson Tryon (qubit) qu...@runcibility.com changed: What|Removed |Added Status|UNCONFIRMED |NEW CC||qu...@runcibility.com See Also||https://bugs.freedesktop.or ||g/show_bug.cgi?id=88127 Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Robinson Tryon (qubit) qu...@runcibility.com --- (In reply to David Juran from comment #0) This RFE is about (optionally) making the Flat XML ODF format less chatty by excluding some metadata which would make version control of documents easier to accomplish. Sounds like a good proposal for improvement. Severity - enhancement Status - NEW It would be great to have some initial notes about what kinds of chatty information could be stripped or re-organized to make the FODF formats more attractive for diffing. Here's one challenge: Indenting and adding newlines to the XML. Here's what the FODTs look like now: office:metameta:creation-date2015-01-11T13:55:01.410705604/meta:creation-datedc:date2015-01-11T13:55:18.841988521/dc:datemeta:editing-durationPT17S/meta:editing-durationmeta:editing-cycles1/meta:editing-cyclesmeta:document-statistic meta:table-count=0 meta:image-count=0 meta:object-count=0 meta:page-count=1 meta:paragraph-count=1 meta:word-count=2 meta:character-count=13 meta:non-whitespace-character-count=12/ Uggh. Run that through 'xmllint --format', and you can get something human-readable that diffs pretty reasonably: dc:date2015-01-11T13:55:18.841988521/dc:date meta:editing-durationPT17S/meta:editing-duration meta:editing-cycles1/meta:editing-cycles --- dc:date2015-01-11T13:55:41.538627598/dc:date meta:editing-durationPT39S/meta:editing-duration meta:editing-cycles2/meta:editing-cycles -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs