-
- Downloads
feat(reports): add `report funding`
As part of #235, we want to be able to source information about the packages we depend on which are looking for financial support. We want to introduce a report for this data, in both the web and CLI, which produces all dependencies that are looking for funding, as well as ordering it by how widespread the dependency is in the codebases dependency-management-data knows about, as a good indication of priority. Unfortunately, due to the way that we're using a subquery, we need to manually manage the SQL + querying as `sqlc` crashes. Fortunately, this isn't too awkward a query and shouldn't change too often.
Showing
- cmd/dmd-web/cmd/reports.go 23 additions, 0 deletionscmd/dmd-web/cmd/reports.go
- cmd/dmd-web/cmd/server.go 3 additions, 0 deletionscmd/dmd-web/cmd/server.go
- cmd/dmd/cmd/report_funding.go 46 additions, 0 deletionscmd/dmd/cmd/report_funding.go
- internal/reports/db/custom_queries.go 111 additions, 0 deletionsinternal/reports/db/custom_queries.go
- internal/reports/funding.go 55 additions, 0 deletionsinternal/reports/funding.go
Loading
Please register or sign in to comment