-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Wed, Jun 3, 2009 at 1:42 AM, Artyom Shalkhakov wrote: > Hi, > > I'm trying to write a web interface for Darcs (one that isn't pain to use). > > AFAIK there are two ways to interoperate with Darcs: > - invoke it on the command line, with optional XML output (hey, > where's the schema?) > - make use of Haskell modules exported by Darcs > > Is there a nicer way? > > Cheers, > Artyom Shalkhakov.
There isn't any schema I know of. You really just have to parse it kind of ad-hoc. Like in my Filestore code abstracting over darcs (maybe you could use it), I just looked at the XML generating code in darcs to see that the output is pretty much fixed - when you've seen the nodes for one change from --xml-output, you've seen'em all. - -- gwern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkomhksACgkQvpDo5Pfl1oJqCwCfTDW4llHhCvumJePvqEYCUzNo 6YIAn0jiwAumTkJQUyRYuomV3nQitrEX =4ul6 -----END PGP SIGNATURE----- _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
