Just for fun. Uses Wyam to reproduce pyup.io's statuspage project.
For information on how to configure a GitHub repository issues for use with statuspage, please see the README on their project page: https://github.com/pyupio/statuspage
Here is what this Wyam script does...
- Reads in a Razor script (as a Wyam document)
- Get the GitHub user and repository name
- Uses the GitHub module to get all the...
- Labels
- Recent issues (past 90 days)
- Process the Razor script, runs the logic...
- Loosely adapted from statuspage's
statuspage.py
source-code
- Loosely adapted from statuspage's
- Outputs HTML and assets
...and ta-dah! You have a statically-generated status page!
Next step...
Wire this up to an AppVeyor CI build, using GitHub's webhook for "Issues" events, for Continuous Integration.
Here's an example of the outputted static HTML: http://leekelleher.github.io/wyam-statuspage/
HTML and CSS assets are taken from the @pyupio/statuspage repository.
Wyam logos are taken from wyam.io website repository.
This was a fun project, developed in a couple of hours, with no intention of serious use.
Have a question? Feel free to raise an issue.
Licensed under the MIT License.