Antoine Martin
209e1e58c7
job: filter out empty lines from .lohr file
2021-03-30 15:27:15 +02:00
Antoine Martin
1be64262b2
main: remove solved TODO item
2021-03-30 14:45:43 +02:00
Antoine Martin
cc75f90a9a
ci: fail on clippy warnings
2021-03-30 12:13:20 +02:00
Antoine Martin
fea9d61d2b
signature: fix unused trait warning
2021-03-30 11:41:16 +02:00
Antoine Martin
ade177de54
README: mention shared secret in configuration
2021-03-30 11:38:58 +02:00
Antoine Martin
682e9c5bcc
lohr: v0.3.0
...
This brings support for webhook signature verification, making lohr
usable in a production setting.
2021-03-30 11:33:42 +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
Antoine Martin
7134b7700f
lohr: v0.2.1
2021-03-30 01:12:50 +02:00
Antoine Martin
339c6e4f25
cargo: add repo and homepage metadata
2021-03-30 01:08:55 +02:00
Antoine Martin
0ddcd24f33
lohr: v0.2.0
2021-03-30 01:04:15 +02:00
Antoine Martin
230f3f6176
README: write setup documentation
2021-03-30 00:57:58 +02:00
Antoine Martin
9c5453bd9c
ci: use clippy annotations
2021-03-30 00:23:09 +02:00
Antoine Martin
515ddc3130
ci: setup github workflow
2021-03-30 00:17:29 +02:00
Antoine Martin
315dc55ca7
README: add license notice
2021-03-29 23:17:17 +02:00
Antoine Martin
9b8668138a
README: add contributing guidelines
2021-03-29 23:11:13 +02:00
Antoine Martin
0db3125601
README: adjust indentation
2021-03-29 23:10:52 +02:00
Bruno BELANYI
ec92d2c6a1
flake: fix 'nix run'
2021-03-29 22:52:57 +02:00
Antoine Martin
c304219bbb
repo: add sourcehut mirror
2021-03-29 22:20:25 +02:00
Bruno BELANYI
e45c5f380a
git: ignore 'result/' symlink from 'nix build'
2021-03-29 19:43:41 +00:00
Bruno BELANYI
746f2be141
nix: flake: use 'nixpkgs' input for 'naersk'
2021-03-29 19:43:41 +00:00
Bruno BELANYI
8a655debae
pre-commit: add more useful hooks
2021-03-29 19:43:41 +00:00
Bruno BELANYI
22232267e3
nix: add 'nixpkgs-fmt' pre-commit hook
...
You must run `pre-commit install` for them them to take effect.
2021-03-29 19:43:41 +00:00
Bruno BELANYI
edbe654df6
nix: add 'direnv' integration
2021-03-29 19:43:41 +00:00
Bruno BELANYI
a961db0433
nix: support legacy nix using 'flake-compat'
2021-03-29 19:43:41 +00:00
Bruno BELANYI
2954981e0f
nix: add 'flakes.nix'
2021-03-29 19:43:41 +00:00
Antoine Martin
3ccf08f5bd
job: remove redundant repo name from log
2021-03-29 20:54:19 +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
7c21d65920
job: log success when finished
2021-03-29 20:11:37 +02:00
Antoine Martin
a3fbef6fc6
main: add TODO
2021-03-29 18:12:06 +02:00
Antoine Martin
ae3ab8c893
job: remove debug print
2021-03-29 17:45:25 +02:00
Antoine Martin
3390af3818
README: add origin story
2021-03-29 17:42:03 +02:00
Antoine Martin
c682216b9f
delete Rocket.toml
...
The `home` setting is now passed via the `LOHR_HOME` environment
variable.
2021-03-29 17:38:50 +02:00
Antoine Martin
fe83858df7
add README
2021-03-29 17:38:50 +02:00
Antoine Martin
c7d8242b79
lohr: mirror lohr from lohr
...
You get the idea.
2021-03-29 17:22:14 +02:00
Antoine Martin
f13d8e142e
job: read remotes list from repository
2021-03-29 17:21:55 +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