larsyencken / csvdiff

Generate a diff between two tabular datasets expressed in CSV files.
BSD 3-Clause "New" or "Revised" License
132 stars 31 forks source link

provide a template to issues so that people supply examples #53

Open simbo1905 opened 5 years ago

simbo1905 commented 5 years ago

This tool looks just what we need so I thought to kick the tires and look at the issue to understand any limitations. I noticed that folks are not reporting potential bugs with sample code. It is possible to configure the github repo with a template for issues. In that you can request that they supply a minimal example of the files to compare and the commandline. For example you can show them this sort of output as a valid bug report for folk to post:

± |master ?:27 ✗| → head a.csv b.csv 
==> a.csv <==
id,name,amount
1,bob,20
2,eva,63
3,sarah,7
4,jeff,19
6,fred,10

==> b.csv <==
id,name,amount
1,bob,20
2,eva,63
3,sarah,7
4,jeff,19
6,fred,10

 2019-05-22 05:49:29 ⌚  |2.4.4| MacBook-Pro-3 in ~/projects/csvdiff
± |master ?:27 ✗| → csvdiff --style=summary id a.csv b.csv 
files are identical