Skip to content
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

Add dependencies as additional donations option for OpenClimate.fund. #282

Open
Ly0n opened this issue Jun 26, 2024 · 6 comments
Open

Add dependencies as additional donations option for OpenClimate.fund. #282

Ly0n opened this issue Jun 26, 2024 · 6 comments
Assignees

Comments

@Ly0n
Copy link

Ly0n commented Jun 26, 2024

As discussed yesterday in the OST meeting we can add the OST dependencies that are unique in this space. This information can also be used for our next publication.

Most of the data is already been available here based on issue #87 : https://ost.ecosyste.ms/projects/dependencies

Andrew suggested that we remove the top 1% or 2% of projects dependencies on each package manager, so that we get the unique dependencies for OST based on programming language and category.

@andrew
Copy link
Member

andrew commented Jun 26, 2024

Screenshot 2024-06-26 at 11 05 57

I've added a link to the dependencies on that page that are already part of OST.

Next step is to fetch details for all those dependencies from https://packages.ecosyste.ms/ so we can see if they are in the top X percent for their ecosystem.

@andrew andrew self-assigned this Jun 26, 2024
@andrew
Copy link
Member

andrew commented Jun 26, 2024

Some relevant stats:

  • Reviewed projects have 12,663 unique dependencies
  • There are a total of 118,782 unique packages (including unreviewed) in the db

@andrew
Copy link
Member

andrew commented Jun 26, 2024

I've kicked off a script to sync the data for all 12k dependencies, that may take an hour to run, I think I'm going to make a seperate Dependency table for faster lookups rather than scanning the whole projects table though.

@Ly0n
Copy link
Author

Ly0n commented Jun 26, 2024

Brilliant, I'm curious!

andrew added a commit that referenced this issue Jun 26, 2024
@andrew
Copy link
Member

andrew commented Jun 26, 2024

Screenshot 2024-06-26 at 15 11 39

Now showing the average ranking of each dependency in the list, so you can see how popular it is within it's ecosystem (i.e. within the top 0.1% of packages on pypi)

I've also added a threshold url parameter option so you can have a play around with different limits to see how the look: https://ost.ecosyste.ms/projects/dependencies?threshold=1.0 (anything with an average ranking lower than the threshold isn't displayed, unless it's an OST project)

@andrew
Copy link
Member

andrew commented Jun 26, 2024

Performance of the threshold option isn't great right now, need to make some improvements to rendering speed, but try refreshing if it times out.

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

No branches or pull requests

2 participants