Open halotroop2288 opened 2 years ago
To get issues with a certain label, first automatically add them to a project.
Then, use GitHub's REST API to get the cards in the column of the project for that label
GET /projects/columns/{column_id}/cards
Enumerate the number of responses.
To get the total number of issues in a repository, use GitHub's REST API:
GET /repos/ainex-project/game-compatibility/issues
Enumerate the number of responses.
~~Divide the number of labeled issues by the total number of issues and normalize the result.
percentage = labeled / total * 100
~~ ProgressBar supports fractions
This requires authentication.
In lieu of a real dynamic game compatibility tracker that fits the theme of the website, I'd like to create a script that updates a progress bar on the wiki. It would update once per day through GitHub Actions.
This way we could have a semi-up-to-date view of Ainex's compatibility progress all the time, the same way RPCS3.net does.