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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to