Skip to content

Support bash glob in donors-report

I had to use the following command to generate the list this time:

./scripts/report \
  -p data/PayPal_Zwiebelfreunde_2014-08-11_to_2015-12-31.csv \
  -p data/PayPal_RiseupLabs_2016-10-01_to_2016-12-31.csv \
  -p data/PayPal_RiseupLabs_2017-01-01_to_2017-12-31.csv \
  -p data/PayPal_RiseupLabs_2018-01-01_to_2018-01-31.csv

With > 1700 results.

While when doing:

./scripts/report -p data/*.csv

I get 833 reports.

The script should either support bash glob or warn that it doesn’t (because it proven to be confusing for both Ulrike and me).

No hurry though :)

Off-topic: Having a distinctive name for this script would also help referring to it and searching for it in Redmine.

Parent Task: #16096

Related issues

Original created by @sajolida on 16070 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information