Commit graph

75 commits

Author SHA1 Message Date
Maximilian Marx
19a75d99f8
feat: increase NOFILES runtime limit
Before actually getting rate limited, we simply run out of free
sockets with the default limit of just 1024. Bumping this to 16384
helps considerably with derivations that have many
prerequisites (e.g., nixpkgs#texliveFull).

Signed-off-by: Maximilian Marx <mmarx@wh2.tu-dresden.de>
2024-10-27 17:21:42 +01:00
Maximilian Marx
d553e81512
feat(http): respect Retry-After headers on HTTP 429 responses
Fixes: #6

Signed-off-by: Maximilian Marx <mmarx@wh2.tu-dresden.de>
2024-10-27 17:21:31 +01:00
Christina Sørensen
4324ee17e8
merge: 'issue-14' from email
All checks were successful
conventional commits / conventional commits (push) Successful in 6s
build / run (push) Successful in 4m39s
check / run (push) Successful in 49s
2024-10-27 15:36:05 +01:00
Christina Sørensen
43e0d69757
build(deps): reqwest 0.11 -> 0.12
Updating crates.io index
 Locking 27 packages to latest compatible versions
  Adding atomic-waker v1.1.2
  Adding base64 v0.22.1
  Adding h2 v0.4.6
  Adding http v1.1.0
  Adding http-body v1.0.1
  Adding http-body-util v0.1.2
  Adding hyper v1.5.0
  Adding hyper-rustls v0.27.3
Updating hyper-tls v0.5.0 -> v0.6.0
  Adding hyper-util v0.1.9
Updating reqwest v0.11.27 -> v0.12.8
  Adding ring v0.17.8
  Adding rustls v0.23.15
Updating rustls-pemfile v1.0.4 -> v2.2.0
  Adding rustls-pki-types v1.10.0
  Adding rustls-webpki v0.102.8
  Adding spin v0.9.8
  Adding subtle v2.6.1
  Adding sync_wrapper v1.0.1
Updating system-configuration v0.5.1 -> v0.6.1
Updating system-configuration-sys v0.5.0 -> v0.6.0
  Adding tokio-rustls v0.26.0
  Adding untrusted v0.9.0
  Adding windows-registry v0.2.0 (latest: v0.3.0)
  Adding windows-result v0.2.0
  Adding windows-strings v0.1.0 (latest: v0.2.0)
  Adding zeroize v1.8.1

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-10-27 15:31:55 +01:00
Maximilian Marx
d7d4935d2e
feat(args): ipv4 and ipv6 flags
Allow forcing use of either IPv6 or IPv4 via -4/-6 CLI flags.

Fixes: #14.
Signed-off-by: Maximilian Marx <mmarx@wh2.tu-dresden.de>
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-10-27 15:19:52 +01:00
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
b60bbc162f
chore(release): cargo v0.0.4
All checks were successful
conventional commits / conventional commits (push) Successful in 9s
build / run (push) Successful in 8m14s
check / run (push) Successful in 1m40s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-13 07:19:58 +02: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
Jalil David Salamé Messina
6efdad5e66
fix: the small things
All checks were successful
conventional commits / conventional commits (push) Successful in 13s
build / run (push) Successful in 21s
check / run (push) Successful in 1m15s
* small typo on the flake description
* crane went full lib mode so it doesn't have any inputs to override
* `treefmt` warns on `nixfmt-rfc-style` as its `nixfmt` module is also
  `nixfmt-rfc-style`, switch to the `nixfmt` module.
* `pre-commit-hooks` uses `nixfmt-classic` when requesting `nixfmt` so
  we need to filter out `nixfmt` and enable `nixfmt-rfc-style` manually.
* there was an unneeded with statement warning from `nixd`

Signed-off-by: Jalil David Salame Messina <jalil.salame@gmail.com>
2024-09-11 09:29:02 +02:00
Christina Sørensen
19fa28545f
merge: fix-darwin from #27 into main
All checks were successful
conventional commits / conventional commits (push) Successful in 5s
build / run (push) Successful in 11s
check / run (push) Successful in 36s
2024-09-09 07:57:40 +02:00
Christina Sørensen
0a7cf9f016
fix: use our own forgejo actions repo
All checks were successful
conventional commits / conventional commits (pull_request) Successful in 9s
build / run (pull_request) Successful in 12s
check / run (pull_request) Successful in 46s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-09 07:50:42 +02:00
Christina Sørensen
bef974eda7
build(darwin): add nescesarry apple_sdk packages
Some checks failed
conventional commits / conventional commits (pull_request) Failing after 3s
check / run (pull_request) Failing after 4s
build / run (pull_request) Failing after 1s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-08 22:21:22 +02:00
Christina Sørensen
f68cbc2f5a
chore(release): cargo v0.0.3
All checks were successful
conventional commits / conventional commits (push) Successful in 9s
build / run (push) Successful in 7m43s
check / run (push) Successful in 1m28s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-08 15:21:48 +02:00
Christina Sørensen
4be508a330
merge: downgrade-rustc from #26 into main
All checks were successful
conventional commits / conventional commits (push) Successful in 9s
build / run (push) Successful in 14s
check / run (push) Successful in 48s
2024-09-08 15:17:42 +02:00
Christina Sørensen
c7da345cf4
build: use nixpkgs compatible rustc
All checks were successful
conventional commits / conventional commits (pull_request) Successful in 9s
build / run (pull_request) Successful in 7m48s
check / run (pull_request) Successful in 1m24s
Keep this on anything that isn't EOL, we'll be nice to nixpkgs as long
as they don't literally actually unironically lock all our deps for us
or go on EOL rustc >_>

...also if we wanna play with bench we can probably cfg gate that :p

Closes: #25
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-08 15:04:35 +02:00
Christina Sørensen
701c86d650
merge: fix-eval-cache from #24 into main
All checks were successful
conventional commits / conventional commits (push) Successful in 9s
build / run (push) Successful in 13s
check / run (push) Successful in 58s
2024-09-08 14:52:49 +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
5922220498
merge: tabwidth from #23 into main
All checks were successful
conventional commits / conventional commits (push) Successful in 6s
build / run (push) Successful in 11s
check / run (push) Successful in 38s
2024-09-07 12:12:48 +02:00
Christina Sørensen
149d353019
ci: change names
All checks were successful
conventional commits / conventional commits (pull_request) Successful in 6s
build / run (pull_request) Successful in 11s
check / run (pull_request) Successful in 47s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-07 12:07:44 +02:00
Christina Sørensen
b69542d9a6
ci: add nix build step
All checks were successful
Conventional Commits / conventional commits (pull_request) Successful in 6s
build flake / security_audit (pull_request) Successful in 11s
check flake / security_audit (pull_request) Successful in 41s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-07 12:04:15 +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
0863eae4b4
ci: check flake
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-07 11:44:01 +02:00
Christina Sørensen
133584c1e6
ci: allow own license
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-07 11:43:47 +02:00
Christina Sørensen
747e481bcb
style: nixfmt-rfc-style
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-07 11:43:13 +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
c7f6b2c256
build: change rust tabwidth
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-06 11:24:30 +02:00
Christina Sørensen
6f7348c9ae
chore(release): create v0.0.2
All checks were successful
Conventional Commits / Conventional Commits (push) Successful in 10s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-06 06:39:45 +02:00
Christina Sørensen
79700e4a13
merge: release-engineering from #21 into main
All checks were successful
Conventional Commits / Conventional Commits (push) Successful in 11s
2024-09-06 06:12:31 +02:00
Christina Sørensen
6ec1ba74a8
ci(audit): fix multiple audit.yml flows spawning on same commit
Some checks failed
Security audit / security_audit (pull_request) Has been cancelled
Conventional Commits / Conventional Commits (pull_request) Successful in 11s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-06 05:26:14 +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
e40b83733d
build(deps): bump flake.lock
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-06 05:10:38 +02:00
Christina Sørensen
3f2526e06f
build: add basic changelog gen
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-06 05:08:33 +02:00
Christina Sørensen
7e99a9755b
merge: basic-ci from #18 to main
All checks were successful
Security audit / security_audit (push) Successful in 1m31s
Conventional Commits / Conventional Commits (push) Successful in 11s
2024-09-05 21:04:52 +02:00
Christina Sørensen
8dc6f4305c
ci: removed unused cheks, add funding for github
All checks were successful
Security audit / security_audit (pull_request) Successful in 1m34s
Conventional Commits / Conventional Commits (pull_request) Successful in 10s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 21:02:09 +02:00
Christina Sørensen
86938a9ec7
ci: fix license allowance
Some checks failed
Security audit / security_audit (push) Successful in 1m29s
/ test (push) Successful in 0s
Security audit / security_audit (pull_request) Successful in 1m26s
Conventional Commits / Conventional Commits (pull_request) Successful in 10s
/ Build Nix package (pull_request) Failing after 3s
/ Flake Checker (pull_request) Failing after 3s
/ Check Nix Flake (pull_request) Failing after 4s
Unit tests / unit-tests (native, 1.70.0) (pull_request) Has been cancelled
Unit tests / unit-tests (native, beta) (pull_request) Has been cancelled
Unit tests / unit-tests (native, nightly) (pull_request) Has been cancelled
Unit tests / unit-tests (native, stable) (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 19:06:54 +02:00
Christina Sørensen
330656f01e
ci: trigger audit on push to pr
Some checks failed
/ test (push) Successful in 1s
Security audit / security_audit (pull_request) Failing after 1m51s
Conventional Commits / Conventional Commits (pull_request) Successful in 11s
/ Flake Checker (pull_request) Failing after 3s
/ Build Nix package (pull_request) Failing after 3s
/ Check Nix Flake (pull_request) Failing after 2s
Unit tests / unit-tests (native, 1.70.0) (pull_request) Has been cancelled
Unit tests / unit-tests (native, beta) (pull_request) Has been cancelled
Unit tests / unit-tests (native, nightly) (pull_request) Has been cancelled
Unit tests / unit-tests (native, stable) (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 18:59:54 +02:00
Christina Sørensen
332fddde94
ci: attempt to fix conventional-commits.yml
Some checks failed
/ test (push) Successful in 0s
Conventional Commits / Conventional Commits (pull_request) Successful in 13s
/ Check Nix Flake (pull_request) Failing after 4s
/ Flake Checker (pull_request) Failing after 3s
/ Build Nix package (pull_request) Failing after 3s
Unit tests / unit-tests (native, 1.70.0) (pull_request) Has been cancelled
Unit tests / unit-tests (native, beta) (pull_request) Has been cancelled
Unit tests / unit-tests (native, nightly) (pull_request) Has been cancelled
Unit tests / unit-tests (native, stable) (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 18:44:44 +02:00
Christina Sørensen
f2e1a4761e
ci: attempt to fix audit.yml
Some checks failed
/ test (push) Successful in 0s
Conventional Commits / Conventional Commits (pull_request) Failing after 3s
/ Flake Checker (pull_request) Failing after 2s
/ Check Nix Flake (pull_request) Failing after 3s
/ Build Nix package (pull_request) Failing after 2s
Unit tests / unit-tests (native, 1.70.0) (pull_request) Has been cancelled
Unit tests / unit-tests (native, beta) (pull_request) Has been cancelled
Unit tests / unit-tests (native, nightly) (pull_request) Has been cancelled
Unit tests / unit-tests (native, stable) (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 18:43:13 +02:00
Christina Sørensen
8fb36ace8e
ci: port github runners to forgejo
Some checks failed
Conventional Commits / Conventional Commits (pull_request) Failing after 3s
/ test (push) Successful in 1s
/ Build Nix package (pull_request) Failing after 3s
/ Flake Checker (pull_request) Failing after 3s
/ Check Nix Flake (pull_request) Failing after 2s
Security audit / security_audit (push) Failing after 3s
Unit tests / unit-tests (native, 1.70.0) (pull_request) Has been cancelled
Unit tests / unit-tests (native, beta) (pull_request) Has been cancelled
Unit tests / unit-tests (native, nightly) (pull_request) Has been cancelled
Unit tests / unit-tests (native, stable) (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 18:40:34 +02:00
Christina Sørensen
4a0ab0da6c
ci: add demo forgejo workflow
All checks were successful
/ test (push) Successful in 1s
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 18:28:05 +02:00
Christina Sørensen
57aba33f1e
merge: basic-documentation from #16 into main
Some checks failed
Conventional Commits / Conventional Commits (push) Waiting to run
/ Flake Checker (push) Has been cancelled
/ Check Nix Flake (push) Has been cancelled
/ Build Nix package (push) Has been cancelled
2024-09-05 10:30:17 +02:00
Christina Sørensen
67c183177e
build: add convco config with merge type
Some checks failed
Conventional Commits / Conventional Commits (pull_request) Has been cancelled
/ Flake Checker (pull_request) Has been cancelled
/ Check Nix Flake (pull_request) Has been cancelled
/ Build Nix package (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 10:26:56 +02:00
Christina Sørensen
756eb7ae13
docs: correct readme h1
Some checks failed
Conventional Commits / Conventional Commits (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 10:11:53 +02:00
Christina Sørensen
c6823129e6
docs: add CONTRIBUTING.md
Some checks failed
Conventional Commits / Conventional Commits (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 10:07:11 +02:00
Christina Sørensen
92b96dbc47
docs: more padding
Some checks failed
Conventional Commits / Conventional Commits (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 09:48:27 +02:00
Christina Sørensen
8496bbfa7f
docs: add padding to readme
Some checks failed
Conventional Commits / Conventional Commits (pull_request) Has been cancelled
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-05 09:46:06 +02:00