[I7] I7 projects and bundle files
R. Mark Adams, Ph.D.
rmadams at epotential.com
Sat Dec 29 19:14:42 CST 2007
That is a great idea! I would suggest that we use the python functions
for reading I7 tar/zip archives, but go ahead and expand the files into a
temporary directory for writing. I have had mixed success writing to
tarfiles using the libraries, and retaining their usability, particularly
across platforms.
How has your luck been writing Sugar apps? I am still hacking around with
QEMU on my MacBook.
-Mark
Adam Thornton wrote:
> 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
>
> _______________________________________________
> Inform7-porters mailing list
> Inform7-porters at fsf.net
> http://www.fsf.net/cgi-bin/mailman/listinfo/inform7-porters
>
>
--
| | "Information is light. |
| R. Mark Adams, Ph.D. | Information in itself, |
| Computational Biologist | about anything, is light." |
| rmadams at epotential.com | - Tom Stoppard |
More information about the Inform7-porters
mailing list