750cbbff93
feat: replace axum-auth with tower_http
...
/ build (push) Successful in 3s
/ check (push) Successful in 7s
Slightly more involde in the auth code, but it makes the rest of the
application more straight forward.
Fixes #10
2024-11-23 20:39:06 +01:00
60aed649b1
feat: upgrade clap_verbosity_flag
...
/ build (push) Successful in 2s
/ check (push) Successful in 7s
Adds tracing support which simplyfies code.
2024-11-23 13:10:48 +01:00
d98c4202f4
feat(ci): check depends on build
...
/ build (push) Successful in 2s
/ check (push) Successful in 7s
Because it depends on build, if build runs afterward, nix uses the cache
and no valuable logs are produced.
2024-11-23 13:02:25 +01:00
68cf43c539
chore: update flake inputs
...
/ check (push) Successful in 7s
/ build (push) Successful in 2s
• Updated input 'crane':
'github:ipetkov/crane/498d9f122c413ee1154e8131ace5a35a80d8fa76' (2024-10-27)
→ 'github:ipetkov/crane/3cb338ce81076ce5e461cf77f7824476addb0e1c' (2024-11-19)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1' (2024-10-01)
→ 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90' (2024-11-01)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7' (2024-10-09)
→ 'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367' (2024-11-19)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/aac86347fb5063960eccb19493e0cadcdb4205ca' (2024-10-22)
→ 'github:numtide/treefmt-nix/705df92694af7093dfbb27109ce16d828a79155f' (2024-11-22)
2024-11-23 12:56:55 +01:00
forgejo-actions
82b1078a94
chore: cargo update
...
/ check (push) Successful in 7s
/ build (push) Successful in 2s
Locking 25 packages to latest compatible versions
Updating anstream v0.6.17 -> v0.6.18
Updating anstyle v1.0.9 -> v1.0.10
Updating axum v0.7.7 -> v0.7.9
Updating cc v1.1.31 -> v1.2.1
Updating clap v4.5.20 -> v4.5.21
Updating clap-verbosity-flag v2.2.2 -> v2.2.3 (latest: v3.0.0)
Updating clap_builder v4.5.20 -> v4.5.21
Updating clap_lex v0.7.2 -> v0.7.3
Updating hyper v1.5.0 -> v1.5.1
Updating hyper-util v0.1.9 -> v0.1.10
Updating insta v1.40.0 -> v1.41.1
Updating itoa v1.0.11 -> v1.0.13
Updating libc v0.2.161 -> v0.2.164
Updating proc-macro2 v1.0.89 -> v1.0.92
Updating regex-automata v0.4.8 -> v0.4.9
Updating rustix v0.38.37 -> v0.38.41
Updating serde v1.0.213 -> v1.0.215
Updating serde_derive v1.0.213 -> v1.0.215
Updating serde_json v1.0.132 -> v1.0.133
Updating syn v2.0.85 -> v2.0.89
Updating sync_wrapper v1.0.1 -> v1.0.2
Updating thiserror v1.0.65 -> v1.0.69 (latest: v2.0.3)
Updating thiserror-impl v1.0.65 -> v1.0.69 (latest: v2.0.3)
Updating tokio v1.41.0 -> v1.41.1
Updating unicode-ident v1.0.13 -> v1.0.14
2024-11-23 12:55:08 +01:00
5a9b09bc7e
chore: bump version
...
/ check (push) Successful in 7s
/ build (push) Successful in 2s
New dev version
2024-10-28 22:44:51 +01:00
618670512e
fix: overlay was broken T-T
/ check (push) Successful in 1m22s
/ build (push) Successful in 2s
2024-10-28 22:41:12 +01:00
e61913e5a8
chore: next dev version
/ check (push) Successful in 6s
/ build (push) Successful in 2s
2024-10-28 22:11:56 +01:00
b7fbb65438
chore: bump version
...
/ check (push) Successful in 6s
/ build (push) Successful in 1s
Release version 0.3.0
Main features:
- persist last IP checked to ensure DNS records can be served upon
restart
- end-to-end testing of the NixOS module ensures most changes will not
result in a broken DNS server
2024-10-28 22:02:03 +01:00
d44d2aa1a7
feat: switch to crane
...
/ check (push) Successful in 6s
/ build (push) Successful in 1s
Should provide better caching of the intermediate build artifacts.
2024-10-28 21:55:53 +01:00
8dd8b9e3aa
feat: add NixOS VM tests
...
/ check (push) Successful in 7s
/ build (push) Successful in 1s
This does integration testing to ensure the module works properly
2024-10-28 10:41:41 +01:00
c81d7af356
feat: use treefmt-nix and split up flake.nix
2024-10-28 10:41:41 +01:00
442601f25a
feat: add -v verbosity flag
2024-10-28 10:39:14 +01:00
forgejo-actions
51f557c482
chore: cargo update
...
/ check (push) Successful in 5s
/ build (push) Successful in 1m1s
Updating anstream v0.6.15 -> v0.6.17
Updating anstyle v1.0.8 -> v1.0.9
Updating anstyle-parse v0.2.5 -> v0.2.6
Updating anstyle-query v1.1.1 -> v1.1.2
Updating anstyle-wincon v3.0.4 -> v3.0.6
Updating bytes v1.7.2 -> v1.8.0
Updating cc v1.1.30 -> v1.1.31
Updating colorchoice v1.0.2 -> v1.0.3
Updating hyper v1.4.1 -> v1.5.0
Updating libc v0.2.159 -> v0.2.161
Updating pin-project-lite v0.2.14 -> v0.2.15
Updating proc-macro2 v1.0.87 -> v1.0.89
Updating regex v1.11.0 -> v1.11.1
Updating rustversion v1.0.17 -> v1.0.18
Updating serde v1.0.210 -> v1.0.213
Updating serde_derive v1.0.210 -> v1.0.213
Updating serde_json v1.0.128 -> v1.0.132
Updating syn v2.0.79 -> v2.0.85
Updating thiserror v1.0.64 -> v1.0.65
Updating thiserror-impl v1.0.64 -> v1.0.65
Updating tokio v1.40.0 -> v1.41.0
Adding windows-sys v0.59.0
2024-10-27 09:31:43 +01:00
5745e1aaf7
feat: refactor and add ip saving
...
/ check (push) Successful in 4s
/ build (push) Successful in 2s
- clean up code to my new (and improved) standards
- print better miette diagnostigs for the error tests
- add an IP saving feature:
save the last IP that successfully updated the records and usa that
when restarting the service. This allows seamles upgrades of
`webnsupdate` without having to manually trigger a DNS update
2024-10-13 00:54:54 +02:00
8242b83dd9
refactor(flake): use flake-parts
...
/ check (push) Successful in 4s
/ build (push) Successful in 1s
This makes it easier to split up the flake in the future.
2024-10-12 22:34:57 +02:00
2a18f6bedb
fix(ci): do not use a name when logging in
...
/ check (push) Successful in 2s
/ build (push) Successful in 2s
This should fix an error with `tea`
2024-10-12 22:19:00 +02:00
forgejo-actions
d26caed805
chore: cargo update
...
/ check (push) Successful in 2s
/ build (push) Successful in 2s
Locking 14 packages to latest compatible versions
Updating addr2line v0.24.1 -> v0.24.2
Updating axum-client-ip v0.6.0 -> v0.6.1
Updating cc v1.1.23 -> v1.1.30
Updating clap v4.5.18 -> v4.5.20
Updating clap_builder v4.5.18 -> v4.5.20
Updating futures-channel v0.3.30 -> v0.3.31
Updating futures-core v0.3.30 -> v0.3.31
Updating futures-task v0.3.30 -> v0.3.31
Updating futures-util v0.3.30 -> v0.3.31
Updating gimli v0.31.0 -> v0.31.1
Updating httparse v1.9.4 -> v1.9.5
Updating object v0.36.4 -> v0.36.5
Updating once_cell v1.20.1 -> v1.20.2
Removing portable-atomic v1.9.0
Updating proc-macro2 v1.0.86 -> v1.0.87
note: pass `--verbose` to see 24 unchanged dependencies behind latest
2024-10-12 22:13:18 +02:00
095bc3bc8c
fix(default.nix): small issues here and there
...
/ check (push) Successful in 2s
/ build (push) Successful in 1s
Mostly concerning the test output
2024-09-30 16:47:48 +02:00
forgejo-actions
b1e184d186
chore: cargo update
...
Locking 21 packages to latest compatible versions
Updating async-trait v0.1.82 -> v0.1.83
Updating axum v0.7.5 -> v0.7.7
Updating axum-core v0.4.3 -> v0.4.5
Updating bytes v1.7.1 -> v1.7.2
Updating cc v1.1.18 -> v1.1.23
Updating clap v4.5.17 -> v4.5.18
Updating clap_builder v4.5.17 -> v4.5.18
Updating clap_derive v4.5.13 -> v4.5.18
Updating hyper-util v0.1.8 -> v0.1.9
Updating libc v0.2.158 -> v0.2.159
Updating once_cell v1.19.0 -> v1.20.1
Removing pin-project v1.1.5
Removing pin-project-internal v1.1.5
Adding portable-atomic v1.9.0
Updating regex v1.10.6 -> v1.11.0
Updating regex-automata v0.4.7 -> v0.4.8
Updating regex-syntax v0.8.4 -> v0.8.5
Updating rustix v0.38.36 -> v0.38.37
Updating syn v2.0.77 -> v2.0.79
Updating thiserror v1.0.63 -> v1.0.64
Updating thiserror-impl v1.0.63 -> v1.0.64
Updating tower v0.4.13 -> v0.5.1
Updating unicode-width v0.1.13 -> v0.1.14 (latest: v0.2.0)
note: pass `--verbose` to see 23 unchanged dependencies behind latest
2024-09-30 16:41:08 +02:00
26cffb230f
feat(ci): auto-update rust deps
...
/ check (push) Successful in 2s
/ build (push) Successful in 2s
On a weekly basis c:
2024-09-30 16:36:28 +02:00
d76722f602
chore(flake.lock): update inputs
...
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/574d1eac1c200690e27b8eb4e24887f8df7ac27c' (2024-09-06)
→ 'github:NixOS/nixpkgs/1925c603f17fc89f4c8f6bf6f631a802ad85d784' (2024-09-26)
2024-09-30 16:19:39 +02:00
144d5c45c6
fix(fmt): use nixfmt-rfc-style
2024-09-30 16:14:17 +02:00
9fc79a0c7b
chore: updarte deps
...
/ check (push) Successful in 2s
/ build (push) Successful in 2s
Falke inputs:
```
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420' (2024-06-13)
→ 'github:NixOS/nixpkgs/574d1eac1c200690e27b8eb4e24887f8df7ac27c' (2024-09-06)
```
2024-09-11 08:16:58 +02:00
965b289484
[feat] package: reduce rebuilds
...
/ check (push) Successful in 2s
/ build (push) Successful in 2s
Only copy Rust sources to reduce rebuilds if only nix stuff (or CI)
changed.
2024-06-16 14:14:41 +02:00
ee65b5dcac
[chore] lockfiles: update dependencies
...
/ check (push) Successful in 2s
/ build (push) Successful in 55s
Update `Cargo.lock` and `flake.lock`. Flake updates:
```
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b' (2024-05-29)
→ 'github:NixOS/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420' (2024-06-13)
```
2024-06-16 13:50:54 +02:00
a8fcc3bd4c
[feat] ci: add forgejo ci
2024-06-06 23:29:30 +02:00
bd5737e4f2
[chore] Cargo.toml: bump version to 0.3.0-dev
2024-06-02 16:16:06 +02:00
43f3c417da
[fix] module.nix: i love parenthesis /s
2024-06-02 16:15:14 +02:00
46ce3e4a69
[fix] module.nix: actually use extraArgs
2024-06-02 16:02:29 +02:00
0f2000ee7f
[chore] flake.lock: update inputs
...
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/2057814051972fa1453ddfb0d98badbea9b83c06' (2024-05-12)
→ 'github:NixOS/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b' (2024-05-29)
2024-06-02 15:52:41 +02:00
8751835304
[chore] Cargo.lock: update dependencies
2024-06-02 15:52:03 +02:00
d310eb1513
[feat] flake.nix: add envrc to run nix develop
...
Also adds a few necessary packages to the path
2024-06-02 15:49:28 +02:00
15e2d2da06
[fix] everything: various bugs found in production
2024-06-02 15:48:55 +02:00
68658bf83f
[fix] webnsupdate: trim newlines from pass file
2024-05-09 00:59:33 +02:00
2c7f9fc632
[fix] module.nix: various issues
2024-05-09 00:24:07 +02:00
43d62fa7d6
webnsupdate: Init at version 0.1.0
2024-05-08 21:37:19 +02:00