Commit Graph

6 Commits

Author SHA1 Message Date
Valentin Brandl
6f931ce46f Use tracing instead of slog for better ergonomics
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-30 16:40:35 +01:00
Valentin Brandl
c9a54eda49 Allow requesting badges for branches != master
This changed the cache structure to allow caching data for multiple
branches. The service still assumes a default branch named `master` but
using the `branch` get parameter, the default branch can be changed.

The 404 page for the missing `master` branch was changed to explain the
new parameter.
2020-07-20 20:14:22 +02:00
Valentin Brandl
bdb10fd54a
Add commit count to the cache struct 2019-07-07 13:28:43 +02:00
Valentin Brandl
140265b713
Cleanup and use internal result type
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-16 22:20:09 +02:00
Valentin Brandl
a1c10938c5
Use Cow instead of String 2019-04-29 20:37:20 +02:00
Valentin Brandl
9284bceda6
Implement caching 2019-04-19 22:51:58 +02:00