Some GitHub repositories have a .github/FUNDING.yml file that lists places where one can financially contribute to the development of the project. It could be interesting to process this data and think on how to display it.
The github library can be retrieved to read the content of the file and process it. The information should be stored in the Package record, as a Map Text Text
The retrieval can be triggered as a back-office action, in fetchMetadataHandler.
Some GitHub repositories have a
.github/FUNDING.yml
file that lists places where one can financially contribute to the development of the project. It could be interesting to process this data and think on how to display it.The
github
library can be retrieved to read the content of the file and process it. The information should be stored in thePackage
record, as aMap Text Text
The retrieval can be triggered as a back-office action, in
fetchMetadataHandler
.See https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-repository-content
https://hackage.haskell.org/package/github-0.29/docs/GitHub.html#v:contentsForR