Commit graph

16 commits

Author SHA1 Message Date
Antoine Martin 3a93d9f994 lohr: build on rust stable
Switching to Rocket's master branch (soon to be 0.5.0) allows building
with a stable Rust compiler, yay!
2021-04-08 01:39:21 +02:00
Antoine Martin da20e2c9ac cargo fmt
whoops
2021-03-31 21:04:30 +02:00
Antoine Martin 29c0a4abdf lohr: v0.3.3 2021-03-31 19:39:04 +02:00
Antoine Martin fe52787f4d lohr: v0.3.2 2021-03-31 19:06:36 +02:00
Antoine Martin a516d841e1 lohr: v0.3.1 2021-03-30 23:02:32 +02:00
Antoine Martin aba153726b main: log when skipping blacklisted repo 2021-03-30 22:53:33 +02:00
Antoine Martin 422024d919 main: support config override with CLI flag 2021-03-30 22:51:51 +02:00
Antoine Martin ff90b5fb2d job: move blacklist processing to request 2021-03-30 22:00:59 +02:00
Bruno BELANYI 6f63b4c95c main: add LOHR_CONFIG variable 2021-03-30 18:46:14 +00:00
Antoine Martin 1be64262b2 main: remove solved TODO item 2021-03-30 14:45:43 +02:00
Antoine Martin 7e3c8b8f28 lohr: validate webhook signature
Previously lohr was unusable in a production setting, anyone could forge
a malicious webhook and either:

- mirror a private repo of yours to another remote they own
- wipe a repo of yours by forcing mirroring from an empty mirror

This is no longer the case!
2021-03-30 11:33:42 +02:00
Bruno BELANYI 295a28bab4 lohr: add default and additional remotes
Co-authored-by: Antoine Martin <antoine@alarsyo.net>
2021-03-29 20:52:04 +02:00
Antoine Martin a3fbef6fc6 main: add TODO 2021-03-29 18:12:06 +02:00
Antoine Martin 2bd817099f first working POC 2021-03-29 17:10:53 +02:00
Antoine Martin b37891af49 setup basic app 2021-03-29 02:01:53 +02:00
Antoine Martin 2cb5dbd22c Initial commit 2021-03-27 10:42:49 +01:00