112654f448
add flake checks and formatter, run some formatters
2025-05-11 00:56:15 -04:00
ce0e70f95a
add option to disable cache.nixos.org
2025-05-11 00:21:58 -04:00
68df59ad25
use & instead of as_slice()
2025-05-11 00:02:38 -04:00
76e6c6c537
add license
2025-05-11 00:02:38 -04:00
d9ca033a14
add additional case in closure test and run nix-store against the
...
derivation
2025-05-04 13:04:38 -04:00
6cfe67af0e
improve closure test
...
We now compare against the output of `nix-store --query --requisites
--include-outputs`. Our closure should include everything this command
would output.
2025-05-04 12:03:01 -04:00
96ae0ca647
disable closure test
...
Size of the closure is not deterministic at all. I guess it's because if
the package was sourced from a cache, some dependencies may or may not
exist in the local nix store.
2025-05-04 03:39:40 -04:00
688fcd8706
add test workflow
2025-05-04 03:39:40 -04:00
d03058d125
add build workflow
2025-05-04 03:23:35 -04:00
3c40776981
update readme
2025-05-04 03:06:55 -04:00
9b0c6aece6
add .editorconfig
2025-05-04 02:37:54 -04:00
14d6e9d29e
path_info: check for and resolve symlink
2025-05-04 02:36:59 -04:00
0e97d11745
skip integration tests in nix package
...
These tests need a connection to the nix store and we can't have that in
the nix build environment.
2025-05-04 01:49:35 -04:00
a0794b0356
fix closure test check; rm RUST_LOG envar in devshell
2025-05-04 01:17:12 -04:00
05589641cf
move "nix build" to tests/common
2025-05-04 01:13:02 -04:00
76cbc85032
use hashset for closure
2025-05-04 01:13:02 -04:00
09181ae785
add nar tests
2025-05-04 01:13:02 -04:00
54d4c714af
rename from_path to from_derivation
2025-04-28 21:29:52 -04:00
878e096494
add path_info tests
2025-04-28 13:35:49 -04:00
7285c29e88
use io::Error::other
2025-04-28 13:30:48 -04:00
9d2e9e38bd
split lib.rs and main.rs
2025-04-28 03:01:24 -04:00
01443d0d99
use 10 permits but skip nars bigger than 15mb
2025-04-28 02:46:11 -04:00
b49be95d09
simplify here since the problem was somewhere else
2025-04-27 02:33:19 -04:00
e5336d304d
improve concurrency control; use nar_size from cpathinfo
2025-04-27 01:23:45 -04:00
ca97aebd7a
limit directories even more
2025-04-26 23:07:56 -04:00
85fefe9e77
use cpp bindings to make nar
2025-04-26 21:08:01 -04:00
0fedae9334
try to fix fd issues
2025-04-26 18:21:49 -04:00
0fae7ac3b0
fix build with tokio unstable
2025-04-26 18:21:27 -04:00
7dec14fc1a
set path to nar in narinfo
2025-04-26 15:46:23 -04:00
d524222a86
make tokio console optional and make it actually work
2025-04-26 15:37:54 -04:00
5a3e6089b4
don't clean cpp files
2025-04-26 14:40:38 -04:00
fc304df35e
refactor flake
2025-04-26 14:21:18 -04:00
b8877f33a3
enable lto
2025-04-26 14:10:20 -04:00
846c465ea0
fix flake
2025-04-26 13:11:54 -04:00
81ce855dae
refactor and bunch more improvements; use object_store for s3
2025-04-26 12:37:07 -04:00
b1e59d0a6c
use nix path-info cmd for derivation; console_subscriber
2025-04-18 00:50:11 -04:00
6806b96892
limit uploads with semaphore
2025-04-16 15:49:01 -04:00
84bbe5dcb4
fix build
2025-04-16 12:42:44 -04:00
a771785352
use libstore cxx bindings
2025-04-16 03:47:42 -04:00
8ac9253ea3
change stuff to our way
2025-04-16 03:46:56 -04:00
c956d6741a
bring code from attic
2025-04-15 23:50:43 -04:00
39792cdd40
cargo update
2025-04-15 20:09:09 -04:00
55a097d45c
Merge branch '2025-04-12'
2025-04-15 20:07:08 -04:00
20c13a86be
use experimental-features flag when executing nix run
2025-04-15 20:06:46 -04:00
4895720831
fix upload count
2025-04-15 20:00:55 -04:00
03530a2afa
don't limit stuff with semaphore and use println for uploading output
2025-04-15 18:53:45 -04:00
2f7ae745f5
Merge branch '2025-04-12'
2025-04-15 18:17:50 -04:00
d4cac65247
use lix
2025-04-15 16:52:26 -04:00
c37a05ba9f
make signatures optional when deserializing
2025-04-15 14:40:18 -04:00
307109d9f1
we don't ever serialize pathinfo
2025-04-15 14:13:15 -04:00