Commit graph

58 commits

Author SHA1 Message Date
Luc Perkins
a8b68ff5ba
Fix HTTP response stringify issue 2024-05-20 09:25:51 -03:00
Luc Perkins
edc61c4d5a
Fix HTTP status code logic 2024-05-20 09:20:03 -03:00
Luc Perkins
39876685c8
Print JSON 2024-05-20 08:36:04 -03:00
Luc Perkins
c930804757
Move info statement 2024-05-20 08:33:19 -03:00
Luc Perkins
643c369303
Add info statement about HTTP response 2024-05-20 08:29:33 -03:00
Luc Perkins
aa46387b46
Fail when workflow finish hook fails 2024-05-20 07:57:19 -03:00
Luc Perkins
d828acb704
Add strict mode 2024-05-17 17:55:54 -03:00
Graham Christensen
b57e263ed1 Behave well when MNCA isn't trusted 2024-05-10 16:48:06 -04:00
Graham Christensen
ae50b12a7d Set saved state later 2024-05-08 11:28:36 -04:00
Graham Christensen
5a8a0e7f2c Don't mark the daemon started until after we successfully import the closure 2024-05-07 22:19:04 -04:00
Graham Christensen
c4a0b3111a Move noop check to main 2024-05-07 10:06:07 -04:00
Graham Christensen
f6084a76d3 Dedupe text 2024-05-07 09:58:34 -04:00
Graham Christensen
9f35ea0aec Don't be weird if the daemon is already running 2024-05-07 09:58:34 -04:00
Graham Christensen
7a12393ae8 Save the daemon dir into its own state var, not an env var 2024-05-07 09:58:34 -04:00
Graham Christensen
cddf736ff4 Move the started state to a statevar not an env var 2024-05-07 09:58:34 -04:00
Graham Christensen
3426c8fc62 Don't use the daemonDir as a started hint 2024-05-06 13:13:38 -04:00
Graham Christensen
3b0ad43946 Staple the magic-nix-cache daemon log in error conditions 2024-05-06 11:35:14 -04:00
Graham Christensen
4ae13c51d8 Extract out the daemonDir into a class member 2024-05-06 11:33:36 -04:00
Luc Perkins
a943771501
Revamp logic into central class 2024-04-26 11:37:43 -03:00
Luc Perkins
79316a7a03
Add prettier config 2024-04-21 14:17:24 -03:00
Graham Christensen
2a126830d5 require nix: warn, don't fail 2024-04-18 14:14:44 -04:00
Graham Christensen
04fbd5502b test: fail if nix isn't installed 2024-04-18 14:09:07 -04:00
Graham Christensen
40128c21ab Preflight nix, or don't fail 2024-04-18 13:08:15 -04:00
Graham Christensen
604b4f9ad2 Update fetch location 2024-04-11 19:25:26 -04:00
Graham Christensen
a87d983438 Rebase on detsys-ts and get rid of bun 2024-04-11 19:21:15 -04:00
Luc Perkins
7ec43f883b
Better Boolean handling and debug statement 2024-03-25 17:42:40 -03:00
Graham Christensen
455b918565 Use -closure ids 2024-03-06 11:33:18 -05:00
Graham Christensen
1b7becab50 Merge remote-tracking branch 'origin/main' into flakehub-cache 2024-03-06 11:32:22 -05:00
Graham Christensen
79f590d9a2 /latest/ -> /stable/ 2024-03-06 11:00:09 -05:00
Cole Helbling
ead5afc337 fixups 2024-02-27 09:42:14 -08:00
Cole Helbling
e4bda5a74b Merge remote-tracking branch 'upstream/main' into merge-against-upstream 2024-02-27 09:32:36 -08:00
Cole Helbling
22cdf3ac39 add flakehub-flake-name input 2024-02-27 09:25:46 -08:00
Eelco Dolstra
b59b2f450f Comment 2024-02-23 19:51:28 +01:00
Eelco Dolstra
32e1a339b5 Receive startup notification from magic-nix-cache via HTTP 2024-02-23 16:31:35 +01:00
Ana Hobden
04d5b7e811 Don't care about extra-conf 2024-02-13 11:45:21 -08:00
Ana Hobden
232a98572b Improve logging 2024-02-13 11:40:27 -08:00
Ana Hobden
b1e40f81bd Try logging into FlakeHub if nix-installer didn't do that for us 2024-02-12 14:13:43 -08:00
Graham Christensen
24f6adfb73 le sigh 2024-01-18 12:23:19 -05:00
Graham Christensen
0157564bb2 Drop the binary prefix 2024-01-18 11:58:07 -05:00
Graham Christensen
5d44dc35d8 go back to ids 2024-01-18 11:36:58 -05:00
Cole Helbling
095d24c180 fixup: uploaded binary name 2024-01-18 07:53:14 -08:00
Eelco Dolstra
8ee9ed5891 Cleanup 2024-01-15 14:15:24 +01:00
Eelco Dolstra
124dc2196d Show daemon log output in setup 2024-01-11 17:51:06 +01:00
Eelco Dolstra
e86987a1e9 Remove debug line 2024-01-09 19:02:02 +01:00
Eelco Dolstra
5e8c8cee1b Comment 2024-01-09 18:53:51 +01:00
Eelco Dolstra
3931213b43 Fetch the magic-nix-cache closure from S3 2024-01-09 15:01:39 +01:00
Eelco Dolstra
9d7fb1fb0e Use a constant for the notification file descriptor 2023-12-15 17:17:10 +01:00
Eelco Dolstra
4a3e8b7ce3 magic-nix-cache no longer forks into the background 2023-12-15 17:08:26 +01:00
Eelco Dolstra
efc9e3b1dd Download magic-nix-cache binary from S3 2023-12-11 16:06:20 +01:00
Eelco Dolstra
7a39db2ab3 attic-server -> flakehub-cache-server 2023-12-11 13:46:39 +01:00