bids-standard / maintenance-tools

Miscellaneous maintenance tools for the broader BIDS ecosystem.
MIT License
1 stars 1 forks source link

fix maintainers report viz #2

Closed sappelhoff closed 2 years ago

sappelhoff commented 2 years ago

The previous script had some issues:

  1. Each "Issue" is also a PR, but not the other way around :shrug: needed to add a conditional to deal with that
  2. Search was limited in time, missing e.g., issues that were opened in March but closed in September
  3. Mindate needed >= ... not >

Also added a log for debugging --> the results now correspond exactly to the GitHub Pulse.

Drawback: This script needs very long to run ... but as we'll only run it once a month, that's fine for me. Having that said, perhaps we can add a CI job at some point, so we'll only have to download the image from the artifacts tab :-)