Commit graph

68 commits

Author SHA1 Message Date
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
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