darcs

Issue 2397 --xml should be replaced with --json

Title --xml should be replaced with --json
Priority Status given-up
Milestone Resolved in
Superseder Nosy List bfrk
Assigned To
Topics

Created on 2014-05-30.11:48:06 by bfrk, last changed 2017-07-31.01:26:38 by gh.

Messages
msg17495 (view) Author: bfrk Date: 2014-05-30.11:48:05
It has been noted before that --xml does not produce valid XML! OTOH,
creating valid JSON is a very simple affair, due to well-designed and
well-maintained library support for JSON in Haskell, notably aeson.
There is no need to use aeson support for automatically creating
instances with TH, writing the instances manually is not complicated and
not even overly verbose.

Note that not all darcs commands currently support --xml. Again,
providing the --json option for those commands would be much simpler
than trying to extend the --xml format to them.

Once --json is implemented, we can deprecate --xml and get rid of this wart.
History
Date User Action Args
2014-05-30 11:48:06bfrkcreate
2017-07-31 01:26:38ghsetstatus: unknown -> given-up