[darcs-users] Interop with Darcs
Eric Kow
kowey at darcs.net
Fri Jun 5 11:23:28 UTC 2009
On Fri, Jun 05, 2009 at 12:53:52 +0200, Reinier Lamers wrote:
> But the contents of files in the repo are not text, they are bytes (also for
> text files, which are managed at lines of bytes delimited by a newline). How
> should we deal with that in XML?
>
> A quick Google search turns up the suggestion to either use base64 or store
> the binary data outside the XML and make the XML refer to it. Both of those
> seem really bad for readability.
Trent posted an IRC conversation to http://bugs.darcs.net/issue33 which
says to base64 encode them.
Now on a side note, every time somebody mentions XML, I keep thinking of
issue64 and worrying about http://bugs.darcs.net/issue64
That's metadata, and not file contents, but it seems relevant because
we also print metadata in XML.
Optimistically speaking, if we get the hashed-storage, filecache and
gzcrcs stuff done (or done enough), then by the next hacking sprint
we'll have some energy to focus on this. I've updated the
http://wiki.darcs.net/Roadmap accordingly, putting this down for Darcs
2.4.
--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090605/6092613f/attachment.pgp>
More information about the darcs-users
mailing list