-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metrics for community partnership landing pages to track health #226
Comments
Suggest adding date of last package install/download as a measure of how often the community is using the package. |
"last package/install download" is also affected by automated CI, so it depends on if you count "CI" as community or not. |
Isn't automated CI triggered by a person or action, such as a user-generated PR? If there is a way to separate automated installations/downloads from others, then both could be used separately. Otherwise, the behavior of the metric over time would be a good indicator of activeness/usefulness, even if the package isn't being updated. |
thank you both for this. i was thinking that looking at average downloads a month might be a good representation of ongoing use. it would be easy to track conda-forge and pip and that way we could view overall volume of downloads over time (knowing that some of these are CI related). Snyk does this with weekly downlaods. |
Back to the original post, I am not sure if I find one button per health category useful. I was envisioning an at-a-glance table where you see all the metrics for multiple packages all at once; something like http://www.astropy.org/astropy-dashboard/status.html but not the same metrics. But then again, perhaps there would be too many things to fit in a single table. So, the most important ones for users would be in table, but if you click on "more" for a package, it would give you everything? For example, if I am browsing as a user, I want to know what is the latest release and when, and where to find the package and doc. And maybe if CI is passing. The pony factors and number of contributors would be secondary, but these details would be useful for, say, reviewers. Everything in "devstats" (e.g., https://devstats.scientific-python.org/_generated/astropy/index.html) is secondary. Everything in "repo-stats" (e.g., https://scientific-python.github.io/repo-review/?repo=astropy%2Fastropy&branch=main) is also secondary. The primary stuff I mentioned above could be pulled directly from places like PyPI and CI provider, though different packages may use different CI providers. |
@pllim i'm following up on this. i'm sorry i somehow totally missed this comment. what you are suggesting in many ways (from a web dev perspective) is easier to implement but also in some ways harder. The harder part is how would we know what badges we want? as you have seen with astropy the badges go out of date. so say someone moves from github actions for tests to gitlab. how would we know that? similarly docs - they could be using readthedocs or they could have a github action that is only building mkdocs. so how would we automate capturing that information is my question. creating that table would be easy with the data we have now from a web dev perspective. but the data part is harder. some things like pypi downloads, conda downloads - no problem. i can grab that info. similarly last commit date i am already grabbing. let's revisit this convo so i can pull together a proof of concept |
website PR with the actual website updates for the screenshots below are here. but please leave comments here about metrics!
Astropy and other affiliated packages partnerships -
Landing page with community partner buttons
First - the landing page with new community specific buttons at the top leading to a community partner page
Search feature to find astropy affiliated packages on our main python-packages landing page.
Then we have the landing page where someone might search for astropy to find related packages.
Community landing page
I envision something like this (styles can be fixed) that listed only the affiliated packages. A few notes
What metrics would be most useful for us to collect?
A starting list includes:
of contributors (over time??)
repo level metrics that pyos wishes to track
The text was updated successfully, but these errors were encountered: