How far can the LO file's contents be stretched?

Norbert Thiebaud nthiebaud at gmail.com
Mon Feb 6 00:49:51 PST 2012


On Mon, Feb 6, 2012 at 2:34 AM, Stephan Bergmann <sbergman at 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.
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....

Norbert


More information about the LibreOffice mailing list