bowtie
bowtie copied to clipboard
Render implementation activity metadata in the UI
It might be nice to "round out" more of the metadata we show with typical repository activity information. Perhaps things like:
- last release date
- last commit date
- number of watchers and stars
- number of open PRs
- number of open issues
This pushes the implementation metadata page to being a bit more "one stop" for understanding whether one is interested in an implementation or not. Obviously what "good" numbers look like for the above are quite subjective, but the information is useful.
We could likely do this dynamically from the frontend so it's always "up to the moment" rather than doing it during report generation.
(Via @kulnor)
hey @Julian to solve this issue we will have to use GitHub API to fetch the latest stats of that implementation repo. To get access to GitHub API requires a token/secret.
Hey there. There are other ways -- one for example that occurs to me at the minute is to pull this data in a scheduled GitHub action here in the repository (where it will have API access), and then access and read that data from the frontend. This is similar to how we access report data (which Bowtie generates) in the frontend so if you're interested that might be worth having a look at as an avenue!
hey @Julian here a possible scenario could be that we can extend bowtie info command to fetch the latest repo stats maybe?
Yeah that's probably not a bad idea! (Especially if we also add --no-remote-data to disable it so that it's still runnable without an internet connection).