Skip to content

Update GitHub download stats script. - #2633

Merged
zivy merged 1 commit into
SimpleITK:mainfrom
zivy:updateGithubDownloadStats
Jul 15, 2026
Merged

zivy merged 1 commit into
SimpleITK:mainfrom
zivy:updateGithubDownloadStats

Conversation

@zivy

@zivy zivy commented Jul 15, 2026

Copy link
Copy Markdown
Member

Starting with release 2.5.5 we distribute R
binaries via GitHub releases on the SimpleITKRInstaller repository. Updated the download stats script to include the R binaries in the analysis.

Also, some minor naming changes (added "github" prefix to filenames and nicer naming of programming languages and OS classes).

@zivy
zivy requested review from blowekamp and dave3d July 15, 2026 17:58

@blowekamp blowekamp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look fine.

Please note that we have now uploading binaries from before 1.0 to GitHub Releases recently.

@zivy
zivy force-pushed the updateGithubDownloadStats branch from 799a82b to 99b268f Compare July 15, 2026 19:21
Starting with release 2.5.5 we distribute R
binaries via GitHub releases on the SimpleITKRInstaller repository.
Updated the download stats script to include the R binaries in the
analysis.

Also, some minor naming changes (added "github" prefix
to filenames and nicer naming of programming languages and OS classes).
@zivy
zivy force-pushed the updateGithubDownloadStats branch from 99b268f to 4fc6726 Compare July 15, 2026 19:26
@zivy

zivy commented Jul 15, 2026

Copy link
Copy Markdown
Member Author

@blowekamp Sadly, the returned release date is the date associated with the GitHub release and not the tag. This causes problems because these old releases appear after newer ones. I looked into retrieving the date based on the tag but that made the script overly complicated, so just updated the code documentation to explain why releases prior to 1.0.0 are omitted. Also, we have zero downloads from GitHub for these releases so not useful for analyzing download counts.

@zivy
zivy merged commit 470f063 into SimpleITK:main Jul 15, 2026
3 checks passed
@zivy
zivy deleted the updateGithubDownloadStats branch July 15, 2026 19:32
@blowekamp

Copy link
Copy Markdown
Member

Also, we have zero downloads from GitHub for these releases so not useful for analyzing download counts.

In the release pages' asset section I just noticed download counts for the files. These older releases do have a few download each. But I agree these older releases are not useful for these statistics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants