Commit graph

26 commits

Author SHA1 Message Date
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
All checks were successful
/ 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
All checks were successful
/ 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
All checks were successful
/ 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
All checks were successful
/ 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
All checks were successful
/ 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
All checks were successful
/ 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
All checks were successful
/ 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
All checks were successful
/ 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
All checks were successful
/ 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
All checks were successful
/ 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