bowtie icon indicating copy to clipboard operation
bowtie copied to clipboard

Render implementation activity metadata in the UI

Open Julian opened this issue 2 years ago • 4 comments

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)

Julian avatar Oct 23 '23 15:10 Julian

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.

adwait-godbole avatar Feb 09 '24 20:02 adwait-godbole

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!

Julian avatar Feb 09 '24 20:02 Julian

hey @Julian here a possible scenario could be that we can extend bowtie info command to fetch the latest repo stats maybe?

adwait-godbole avatar Feb 11 '24 18:02 adwait-godbole

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).

Julian avatar Feb 11 '24 18:02 Julian