Commit graph

18 commits

Author SHA1 Message Date
Maximilian Marx
36b8842986
build(cargo): get editon from workspace
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-10-27 15:17:33 +01:00
Christina Sørensen
85a6d6cc9a
refactor: handle clippy lints
All checks were successful
conventional commits / conventional commits (push) Successful in 13s
build / run (push) Successful in 1m1s
check / run (push) Successful in 1m50s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-13 07:16:34 +02:00
Christina Sørensen
cb34302e17
refactor(nix): tidy things into separate functions (this should be typestate but I'm eepy)
Some checks failed
conventional commits / conventional commits (push) Successful in 9s
build / run (push) Successful in 41s
check / run (push) Failing after 1m26s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-12 19:15:11 +02:00
Christina Sørensen
8c271f669a
fix: relative dir installables
Some checks failed
conventional commits / conventional commits (push) Successful in 6s
build / run (push) Successful in 36s
check / run (push) Failing after 56s
A leftover `current_dir` in the command builder for installables
resulted in `nix-weather ./#` invocations, and others relying on
relative filesystem paths failing.

Resolves: #20
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-12 13:09:18 +02:00
Christina Sørensen
e949478754
feat: parse installables
Some checks failed
conventional commits / conventional commits (push) Successful in 10s
build / run (push) Successful in 54s
check / run (push) Failing after 1m4s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-12 11:56:04 +02:00
Christina Sørensen
419976d275
feat(args): add -L/--print-build-logs flag, to feel more like nix3
All checks were successful
conventional commits / conventional commits (push) Successful in 12s
build / run (push) Successful in 1m3s
check / run (push) Successful in 1m38s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-12 11:21:10 +02:00
Christina Sørensen
beef106b41
fix: actually cache evals
All checks were successful
conventional commits / conventional commits (pull_request) Successful in 10s
build / run (pull_request) Successful in 52s
check / run (pull_request) Successful in 1m33s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-08 14:36:18 +02:00
Christina Sørensen
b05095ff35
refactor: various clippy lints
Some checks failed
Security audit / security_audit (pull_request) Has been cancelled
Conventional Commits / Conventional Commits (pull_request) Successful in 6s
Check Flake / security_audit (pull_request) Successful in 7m2s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-07 11:44:24 +02:00
Christina Sørensen
7db9d3a2e1
style(rust): format to tabwidth-2
Fix: #22
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-06 11:26:56 +02:00
Christina Sørensen
c125b77683
refactor: deduplicate nix-weather cargo manifest
Some checks failed
Security audit / security_audit (push) Has been cancelled
Conventional Commits / Conventional Commits (pull_request) Has been cancelled
Security audit / security_audit (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-06 05:11:57 +02:00
Christina Sørensen
473986588d
fix: use native async recursion
Some checks failed
Security audit / security_audit (push) Waiting to run
Conventional Commits / Conventional Commits (push) Waiting to run
/ Flake Checker (push) Waiting to run
/ Check Nix Flake (push) Waiting to run
/ Build Nix package (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, beta) (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, nightly) (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, stable) (push) Waiting to run
Unit tests / unit-tests (windows-latest, 1.70.0) (push) Waiting to run
Unit tests / unit-tests (windows-latest, beta) (push) Waiting to run
Unit tests / unit-tests (windows-latest, nightly) (push) Waiting to run
Unit tests / unit-tests (windows-latest, stable) (push) Waiting to run
Unit tests (BSD) / unit-tests-freebsd (push) Has been cancelled
Unit tests (BSD) / unit-tests-netbsd (push) Has been cancelled
Unit tests (BSD) / unit-tests-openbsd (push) Has been cancelled
Unit tests / unit-tests (macos-latest, 1.70.0) (push) Has been cancelled
Unit tests / unit-tests (macos-latest, beta) (push) Has been cancelled
Unit tests / unit-tests (macos-latest, nightly) (push) Has been cancelled
Unit tests / unit-tests (macos-latest, stable) (push) Has been cancelled
Unit tests / unit-tests (ubuntu-latest, 1.70.0) (push) Has been cancelled
Rust 1.77.0 added async recursion, we use that instead of the crate.
This requires a slight rewrite to heap pin the return value of the
closure so the function state doesn't grow.

Fix: #9
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 08:31:33 +02:00
Christina Sørensen
3f632969a9
fix: warn of unused loglevel
Some checks are pending
Conventional Commits / Conventional Commits (push) Waiting to run
Fix: #15
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 08:23:40 +02:00
Christina Sørensen
6e479e7ad2
fix: remove unnecessary println!
Some checks are pending
Conventional Commits / Conventional Commits (push) Waiting to run
Fix: #11
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 08:21:35 +02:00
Christina Sørensen
eade90b797
fix: don't use NIX_ALLOW_INSECURE=1
Some checks are pending
Conventional Commits / Conventional Commits (push) Waiting to run
Fix: #12
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 07:56:31 +02:00
Christina Sørensen
11e92f0e6b
fix: refactor log usage
Some checks are pending
Conventional Commits / Conventional Commits (push) Waiting to run
Fixes: #10
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 07:53:05 +02:00
Christina Sørensen
c6fd77bc01
fix: don't output empty lines without loglevel'
Some checks are pending
Conventional Commits / Conventional Commits (push) Waiting to run
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 07:48:21 +02:00
Christina Sørensen
e56333a708
feat: reuse compliance EUPL-1.2
Some checks are pending
Security audit / security_audit (push) Waiting to run
Conventional Commits / Conventional Commits (push) Waiting to run
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 07:43:17 +02:00
Christina Sørensen
2256d38a68
feat: flake + lix
Some checks are pending
Security audit / security_audit (push) Waiting to run
Conventional Commits / Conventional Commits (push) Waiting to run
/ Flake Checker (push) Waiting to run
/ Check Nix Flake (push) Waiting to run
/ Build Nix package (push) Waiting to run
Unit tests (BSD) / unit-tests-freebsd (push) Waiting to run
Unit tests (BSD) / unit-tests-netbsd (push) Waiting to run
Unit tests / unit-tests (macos-latest, 1.70.0) (push) Waiting to run
Unit tests / unit-tests (macos-latest, beta) (push) Waiting to run
Unit tests / unit-tests (macos-latest, nightly) (push) Waiting to run
Unit tests / unit-tests (macos-latest, stable) (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, 1.70.0) (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, beta) (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, nightly) (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, stable) (push) Waiting to run
Unit tests / unit-tests (windows-latest, 1.70.0) (push) Waiting to run
Unit tests / unit-tests (windows-latest, beta) (push) Waiting to run
Unit tests / unit-tests (windows-latest, nightly) (push) Waiting to run
Unit tests / unit-tests (windows-latest, stable) (push) Waiting to run
Unit tests (BSD) / unit-tests-openbsd (push) Waiting to run
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 07:32:31 +02:00