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
1506ce1dac
README: switch to Markdown
...
Unfortunately crates.io doesn't show Org READMEs, and GitHub's Org-mode
renderer isn't amazing either. So might as well switch to a well
supported format, even though I liked Org better.
2021-03-31 19:28:24 +02:00
Antoine Martin
fe52787f4d
lohr: v0.3.2
2021-03-31 19:06:36 +02:00
Antoine Martin
e68fcf3e52
settings: blacklist isn't required
2021-03-31 18:57:50 +02:00
Antoine Martin
6a79949e28
cargo: try to reduce number of dependencies
...
serde_regex unconditionally uses all features of the regex crate, which
prevents optimizing the dependency graph further
2021-03-31 12:31:25 +02:00
Antoine Martin
933e164259
README: add section about installing lohr
2021-03-30 23:11:52 +02:00
Antoine Martin
a516d841e1
lohr: v0.3.1
2021-03-30 23:02:32 +02:00
Antoine Martin
78194b69ad
cargo: bump lockfile
2021-03-30 22:59:39 +02:00
Antoine Martin
54fafc6a46
README: mention cli flag for configuration
2021-03-30 22:57:27 +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
8e7e0e9a84
README: mention 'LOHR_CONFIG'
2021-03-30 18:46:33 +00:00
Bruno BELANYI
6f63b4c95c
main: add LOHR_CONFIG variable
2021-03-30 18:46:14 +00:00
Bruno BELANYI
d38e4556e1
nix: flake: add meta information in package
2021-03-30 18:40:32 +00:00
Bruno BELANYI
9de7c783ae
job: add processing blacklist to global config
2021-03-30 16:28:00 +00:00
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