Commit ce0f50a
Fix download statistics (astral-sh#706)
`just download-stats*` are failing with an HTTP 504 Gateway Timeout on
GitHub's servers.
We can work around this by reducing the requested number of releases per
page.
As part of this, we adopt a 3rd party package for querying the GitHub
API because I was too lazy to implement pagination manually. Also, since
pagination is enabled, the counts reported by these commands are now
accurate and don't implicitly truncate at the most recent 10 releases.
Co-authored-by: Zanie Blue <[email protected]>1 parent c053763 commit ce0f50a
File tree
6 files changed
+728
-41
lines changed- pythonbuild
6 files changed
+728
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
653 | 654 | | |
654 | 655 | | |
655 | 656 | | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | 657 | | |
662 | 658 | | |
663 | 659 | | |
664 | 660 | | |
665 | | - | |
666 | | - | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
667 | 667 | | |
668 | | - | |
669 | | - | |
670 | | - | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
0 commit comments