Commit Graph

91 Commits

Author SHA1 Message Date
Valentin Brandl
be42090658
Merge branch 'feature/hostname' 2019-04-23 22:54:19 +02:00
Valentin Brandl
8d7f696dea
Make domain name configurable
The domain name can be set using the `--domain` or `-d` flags. It
defaults to `hitsofocode.com`.

Also the CLI options are now parsed inside a lazy_static context to be
available for the templates.
2019-04-23 22:50:51 +02:00
Valentin Brandl
b704d00531
Fail on error 2019-04-23 22:31:25 +02:00
Valentin Brandl
74ce296310
Update Docker build
Do not cache build dependencies
2019-04-23 22:09:37 +02:00
Valentin Brandl
3168b7e403
Copy build.rs in build container 2019-04-23 19:44:08 +02:00
Valentin Brandl
781cc9c8fc
Copy git directory and templates in build container 2019-04-23 18:21:42 +02:00
Valentin Brandl
33288efe82
Use templates and load version information 2019-04-23 18:21:03 +02:00
Valentin Brandl
3990ea0a12
Add templates 2019-04-23 18:19:54 +02:00
Valentin Brandl
07bcc3519e
Add ructe and vergen as build deps 2019-04-23 18:19:35 +02:00
Valentin Brandl
2db66ee850
Check if repos exist before cloning 2019-04-21 20:45:36 +02:00
Valentin Brandl
b12ba47be9
Implement client error 2019-04-21 20:44:47 +02:00
Valentin Brandl
a30c4b1ac5
Add reqwest and lazy_static crates 2019-04-21 20:44:29 +02:00
Valentin Brandl
51b3aa9b9e
Add custom error pages 2019-04-21 18:25:54 +02:00
Valentin Brandl
f832e10fac
Add custom error pages 2019-04-21 17:57:57 +02:00
Valentin Brandl
685b92a654
Remove coverage reporting 2019-04-21 14:03:04 +02:00
Valentin Brandl
3bacbdf222
Enable CI cache 2019-04-20 19:35:24 +02:00
Valentin Brandl
31d592f72c
Merge branch 'feature/ci'
This is part of #10
2019-04-20 19:31:09 +02:00
Valentin Brandl
46cb573d40
Configure email notifications 2019-04-20 19:29:44 +02:00
Valentin Brandl
a5b5d500f8
Add CI config 2019-04-20 18:05:55 +02:00
Valentin Brandl
2e069bd6c3
Add CI config 2019-04-20 18:05:04 +02:00
Valentin Brandl
23b841913b
Remove unused error variant 2019-04-20 15:02:38 +02:00
Valentin Brandl
d890288640
Remove color feature 2019-04-20 15:01:11 +02:00
Valentin Brandl
a06e0e3fae
Fix HTML 2019-04-20 14:54:57 +02:00
Valentin Brandl
84e76b3986
Fix metadata 2019-04-20 14:49:14 +02:00
Valentin Brandl
5c088dc19f
Update HTML metadata 2019-04-20 12:44:53 +02:00
Valentin Brandl
14d6d3916d
Update HTML metadata 2019-04-20 12:43:51 +02:00
Valentin Brandl
2553384e7c
Fix Markdown example 2019-04-20 12:38:57 +02:00
Valentin Brandl
439d5c0cb1
Update index layout 2019-04-20 12:33:09 +02:00
Valentin Brandl
1ec8a76e9c
Persist cache 2019-04-20 00:22:19 +02:00
Valentin Brandl
906511f7fa
Merge branch 'feature/caching'
Closes #4
2019-04-19 22:57:39 +02:00
Valentin Brandl
9129d6d171
Document the caching mechanism 2019-04-19 22:57:32 +02:00
Valentin Brandl
9284bceda6
Implement caching 2019-04-19 22:51:58 +02:00
Valentin Brandl
0deec63c2f
Ignore default cache directory 2019-04-19 22:12:57 +02:00
Valentin Brandl
b31f66d54b
Add serde_json to serialize and deserialize the cache 2019-04-19 22:12:41 +02:00
Valentin Brandl
f7b2da2b5a
Add serde and internal error 2019-04-19 22:11:03 +02:00
Valentin Brandl
94c97fc9b1
Add HTML sections 2019-04-19 19:13:43 +02:00
Valentin Brandl
ca30476ea6
Point example badge to hoc repo 2019-04-19 17:59:39 +02:00
Valentin Brandl
4b6c4e1a64
Update readme 2019-04-19 16:03:19 +02:00
Valentin Brandl
36d85b6eef
Merge branch 'feature/badge-colors'
Closes #1
2019-04-19 16:02:22 +02:00
Valentin Brandl
1a1a416990
Add badge colors and example endpoint 2019-04-19 16:02:04 +02:00
Valentin Brandl
bfbd0d5cb0
Move errors in own module 2019-04-19 16:01:47 +02:00
Valentin Brandl
1aabff7971
Add serde dependency 2019-04-19 16:00:56 +02:00
Valentin Brandl
fb49b8df45
Mention badge colors on startpage 2019-04-19 16:00:30 +02:00
Valentin Brandl
5961fd19ae
Implement colors and parsing 2019-04-19 16:00:07 +02:00
Valentin Brandl
1584f44511
Move errors in own module 2019-04-19 15:59:51 +02:00
Valentin Brandl
48ce41e5fd
Merge branch 'feature/bare-repositories'
Closes #3
2019-04-19 12:19:11 +02:00
Valentin Brandl
660dfb46e1
Use bare repositories
This is a breaking change and all cached repositories must be deleted
2019-04-19 12:18:16 +02:00
Valentin Brandl
645bc887c2
Set more cache headers 2019-04-18 15:13:58 +02:00
Valentin Brandl
1f010074fa
Set expiry header to 60 seconds
Closes #9
2019-04-18 14:45:57 +02:00
Valentin Brandl
ca422cfbf4
Update badge markdown 2019-04-18 14:38:04 +02:00