Antoine Martin
075ca9a23c
fix clippy lints
2023-12-12 15:06:59 +01:00
Antoine Martin
25eba69b16
cargo: bump dependencies
2023-12-12 15:01:58 +01:00
Antoine Martin
88609b24fe
flake: add rust-analyzer to devshell
2023-12-12 14:57:37 +01:00
Antoine Martin
26eefe2ebe
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-compat':
'github:edolstra/flake-compat/12c64ca55c1014cdc1b16ed5a804aa8576601ff2' (2021-08-02)
→ 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
• Updated input 'flake-utils':
'github:numtide/flake-utils/997f7efcb746a9c140ce1f13c72263189225f482' (2021-08-20)
→ 'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725' (2023-12-04)
• Added input 'flake-utils/systems':
'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/08ef0f28e3a41424b92ba1d203de64257a9fca6a' (2021-08-28)
→ 'github:NixOS/nixpkgs/e97b3e4186bcadf0ef1b6be22b8558eab1cdeb5d' (2023-12-11)
2023-12-12 14:51:44 +01:00
Antoine Martin
58503cc8b9
flake.lock: Update
...
Flake input changes:
* Updated 'flake-compat': 'github:edolstra/flake-compat/99f1c2157fba4bfe6211a321fd0ee43199025dbf' -> 'github:edolstra/flake-compat/12c64ca55c1014cdc1b16ed5a804aa8576601ff2'
* Updated 'flake-utils': 'github:numtide/flake-utils/5466c5bbece17adaab2d82fae80b46e807611bf3' -> 'github:numtide/flake-utils/997f7efcb746a9c140ce1f13c72263189225f482'
* Updated 'nixpkgs': 'github:NixOS/nixpkgs/7db379d016a9bad7b7da9b81103ab7454faa3344' -> 'github:NixOS/nixpkgs/08ef0f28e3a41424b92ba1d203de64257a9fca6a'
2021-09-04 18:18:31 +02:00
Antoine Martin
a48e59bedc
github: fix cachix ci
2021-09-04 18:18:31 +02:00
Antoine Martin
c37a390f6c
lohr: fix clippy lint
2021-09-04 18:16:38 +02:00
Antoine Martin
cd85ace566
github: trigger cachix build on flake change
...
This also covers version bumps because the version is in the flake
2021-09-04 18:14:14 +02:00
Antoine Martin
964975bada
lohr: v0.4.2
2021-06-10 05:40:15 +02:00
Antoine Martin
b78c486a0e
lohr: upgrade to Rocket v0.5.0-rc.1
2021-06-10 05:36:39 +02:00
Antoine Martin
7fad5a6a87
github: only trigger cachix build on tag
2021-06-04 17:48:39 +02:00
Antoine Martin
5f7d140b61
lohr: v0.4.1
2021-06-04 17:38:37 +02:00
Antoine Martin
1f6fe74d03
lohr: upgrade to latest Rocket master
2021-06-04 17:31:00 +02:00
Antoine Martin
fd50523f11
flake.lock: Update
...
Flake input changes:
* Updated 'nixpkgs': 'github:NixOS/nixpkgs/c0e881852006b132236cbf0301bd1939bb50867e' -> 'github:NixOS/nixpkgs/7db379d016a9bad7b7da9b81103ab7454faa3344'
2021-06-04 15:58:00 +02:00
Antoine Martin
d942dc1098
ci: setup cachix build
2021-04-08 04:24:48 +02:00
Antoine Martin
bc32f8a565
README: add note about missing versions on crates.io
2021-04-08 02:49:19 +02:00
Antoine Martin
6c4a496ede
lohr: v0.4.0
...
This is the first lohr release that compiles on stable Rust, yay!
2021-04-08 02:49:19 +02:00
Antoine Martin
264b7baccd
cargo: bump dependencies
2021-04-08 01:51:07 +02:00
Antoine Martin
776876233f
gitea: use ssh_url instead of clone_url
...
Fixes #2
2021-04-08 01:46:52 +02:00
Bruno BELANYI
3fedfa3342
nix: flake: build package with vanilla 'nixpkgs'
2021-04-08 01:41:15 +02:00
Antoine Martin
378823a1fb
ci: switch to stable toolchain
2021-04-08 01:41:15 +02:00
Antoine Martin
56f82c6467
README: remove mention of nightly compiler
2021-04-08 01:41:12 +02:00
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
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