[I7] I7 projects and bundle files

Adam Thornton adam at fsf.net
Sat Dec 29 17:45:03 CST 2007


I have a proposal, but I don't know how difficult-to-implement it  
would be.

Python appears to support, in its core libraries, tar and zipfile  
archives.  Pretty much, you open these as objects, and then you can  
address the files inside; I presume it's all done with clever use of  
temporary space and I don't yet know how good the write support is.

However, how tough would it be, to, in addition to letting  
project.inform be a directory, containing Source, Build, and Index  
(and their contents), to also allow it to be any of: a zipfile, a  
tarball, a tarball compressed with bzip2, and a tarball compressed  
with gzip ?  Or, perhaps, *one* of these, chosen for ease of  
manipulation across platforms (probably zip) ?

The file name and extension would still be .inform.  The contents  
would just be whatever is normally in the proj.inform directory.

I don't yet know how aggressively you'd want to rebuild the archive  
file during normal operation.

Adam



More information about the Inform7-porters mailing list