Am 06.02.2012 09:49, schrieb Norbert Thiebaud:
On Mon, Feb 6, 2012 at 2:34 AM, Stephan Bergmann <sbergman@redhat.com> wrote:
On 02/05/2012 09:50 PM, Johannes Sixt wrote:
1. Is the order of the files in the ZIP archive important?
Yes.
<http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.html#__RefHeading__752809_826425813>:
"The 'mimetype' file shall be the first file of the zip file."
you should be able to work around that by using 2 git-archive one to
archive mimetype and another one to 'update' the zip with the rest,
hopefully mimetype would still be in front.
Thanks for the pointer, but I'm not trying to generate a conforming
file, just something that LO can import back without loss of information.
otehr wise you'd have to write your own git-archive, which should not
be _that_ hard... If you serach in teh git history of git, I'm pretty
sure at some point that was implemented as a shell script....
Nope, git-archive was always a C program. ;)
-- Hannes
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.