aptly-dev / aptly

aptly - Debian repository management tool
https://www.aptly.info/
MIT License
2.56k stars 374 forks source link

snapshot diff needs a -raw or -json option #203

Open rminsk opened 9 years ago

rminsk commented 9 years ago

It would be nice if snapshot diff could output an easily parsable format such as json.

smira commented 9 years ago

aptly 0.9 would have snapshot diff REST API, which returns JSON objects.

I agree that having something parseable for the CLI mode would be great as well.

lairsdragon commented 9 years ago

Beside this it would be helpful if the return value of aptly diff is identical with the diff command:

Exit status is 0  if inputs are the same, 1 if different, 2 if trouble.
rminsk commented 8 years ago

csv output could also be useful.