Lin Yinfeng
2568e6df7a
crane.nix: Suppress warning of missing version attribute in Cargo.toml ( #53 )
2023-06-12 18:20:11 -06:00
Zhaofeng Li
b1fb790b5f
integration-tests: Strip tokens return from atticadm
2023-05-28 15:23:45 -06:00
Zhaofeng Li
a71582a952
client/watch_store: Ignore sources when watching
...
They will still be pushed as part of other paths' closures.
2023-05-28 15:23:45 -06:00
Zhaofeng Li
2d0aeefd2f
Trivial semver-incompatible upgrades
2023-05-28 15:23:45 -06:00
Zhaofeng Li
1b980a9640
server: Upgrade async-compression
2023-05-28 15:23:45 -06:00
Zhaofeng Li
1a0116fee8
server: Upgrade aws-sdk-rust
2023-05-28 15:23:45 -06:00
Zhaofeng Li
6489d775ae
Update deps
2023-05-28 15:23:45 -06:00
Zhaofeng Li
b0fd84299c
Update nixpkgs
2023-05-28 15:23:45 -06:00
Zhaofeng Li
7115778c8c
Cargo.lock: Update
2023-05-28 15:23:45 -06:00
Andrey Snow
5f85e35a25
feat: Build & Push images as part of CI ( #44 )
2023-05-06 22:25:01 -06:00
Zhaofeng Li
171c89fbe0
flake.nix: Add /etc/passwd to attic-server-image
...
It's now required by the sshd embedded in fly.io's init.
2023-04-12 15:39:38 -06:00
Zhaofeng Li
6a064f904e
client/watch_store: Refactor main loop
2023-04-12 15:39:27 -06:00
Zhaofeng Li
d918f68c29
Merge pull request #42 from DarkKirb/increase-nar-info-size-limit
...
Increase narinfo size limit to 1MiB
2023-04-12 15:39:11 -06:00
Charlotte 🦝 Delenk
c686b2c1ea
Increase narinfo size limit to 1MiB
...
I was still encountering failures due to narinfo files being too large,
even with the increased 64kiB limit. This commit increases it to 1MiB
which is hopefully larger than any “reasonable” derivation, while also
not being too large for the server to keep in memory at once.
2023-04-06 10:03:00 +01:00
Zhaofeng Li
efa15b9788
Merge pull request #40 from Shawn8901/main
...
add sleep to keep alive loop of watch-store
2023-04-04 16:09:06 -06:00
Shawn8901
d48e920f12
add sleep to keep alive loop of watch-store
2023-04-04 21:32:04 +02:00
Zhaofeng Li
4d92e69fc1
.github/install-attic-ci.sh: Update
...
Built against f658c7e1fe
.
2023-03-21 18:45:45 -06:00
Zhaofeng Li
f658c7e1fe
flake.nix: Minimize the closure size of attic-static
2023-03-21 18:45:34 -06:00
Zhaofeng Li
3c58b2d2ce
ci-installer.nix: Only install the client
2023-03-21 18:45:34 -06:00
Zhaofeng Li
a8a30288fa
flake.nix: Add attic-client-static package
2023-03-21 18:45:34 -06:00
Zhaofeng Li
cb493f2982
crane.nix: Make attic-client actually contain the client only
2023-03-21 18:45:34 -06:00
Zhaofeng Li
94a1d44a10
server: Only read PUT payload up to the claimed size
2023-03-21 18:45:34 -06:00
Zhaofeng Li
ba8bd5d66c
Thanks clippy
2023-03-21 18:45:34 -06:00
Zhaofeng Li
2e68228fee
token: Enforce the same lint configs
2023-03-21 18:45:34 -06:00
Zhaofeng Li
63f64ee8c4
Revert bindgenHook workarounds
...
Fixed in https://github.com/NixOS/nixpkgs/pull/215060 .
This reverts commit 365d739bca
.
This reverts commit db443f1932
.
This reverts commit 9869ab4a85
.
2023-03-21 18:45:34 -06:00
Zhaofeng Li
1a3b6513b0
Merge pull request #32 from poscat0x04/nixos-module-user-group-name
...
nixos: Make the group and user name under which attic runs configurable
2023-03-05 11:37:47 -07:00
Zhaofeng Li
fb1db7511c
Merge pull request #33 from poscat0x04/suppress-systemd-run
...
nixos: Suppress systemd-run's output in atticadm wrapper
2023-03-05 11:37:10 -07:00
Zhaofeng Li
944b14abdd
.github/install-attic-ci.sh: Update
...
Built against f36f01d431
.
2023-03-05 11:35:04 -07:00
Zhaofeng Li
f36f01d431
.github: Bump DetSys installer
2023-03-05 11:05:11 -07:00
Zhaofeng Li
63019bb208
client: rustfmt
2023-03-05 11:05:11 -07:00
Zhaofeng Li
f0e9199817
client/watch_store: Hide --no-closure in help
...
It's there for testing.
2023-03-05 11:05:11 -07:00
Zhaofeng Li
0ee4f4901b
nixos: Start atticd after nss-lookup for Postgres peer auth
2023-03-05 11:05:11 -07:00
Zhaofeng Li
22626efd35
Trivial semver-incompatible upgrades
2023-03-05 11:05:11 -07:00
Zhaofeng Li
c3c7c10c05
Upgrade toml
2023-03-05 11:05:11 -07:00
Zhaofeng Li
97285de54f
Upgrade base64
2023-03-05 11:05:11 -07:00
Zhaofeng Li
7f62e92d71
server: Upgrade fastcdc
2023-03-05 11:05:11 -07:00
Zhaofeng Li
b6002b413c
server: Upgrade aws-sdk-rust
2023-03-05 11:05:11 -07:00
Zhaofeng Li
18ca2cf29a
Update deps
2023-03-05 11:05:11 -07:00
Zhaofeng Li
dbcf98b4e4
flake.nix: Bump dependencies
2023-03-05 11:05:11 -07:00
poscat
2f5b2a56cf
nixos: Suppress systemd-run's output in atticadm wrapper
2023-03-02 20:27:43 +08:00
poscat
96824109c0
nixos: Allow configuring user and group names
2023-03-02 17:54:07 +08:00
Zhaofeng Li
0bb3d00136
nixos: Don't fail if PWD cannot be changed into
...
Fixes #26 .
2023-02-16 14:01:27 -07:00
Zhaofeng Li
5a23cda073
client: Document CacheRef syntax in help
...
Ref: #25
2023-02-16 14:01:27 -07:00
Zhaofeng Li
863f8dcca3
Revert "server: Allow configuring max database connections"
...
Causes issues with SQLite. To be investigated further.
This reverts commit 9fdec3397d
.
2023-02-11 01:42:14 -07:00
Zhaofeng Li
1710a33eca
.github/install-attic-ci.sh: Update
...
Built against a0a29b01cf
.
2023-02-11 01:16:55 -07:00
Zhaofeng Li
a0a29b01cf
flake.nix: Revert nixpkgs pin to December 2022
...
nixos-unstable has been so bumpy this year and it's getting
frustrating :(
2023-02-11 01:16:55 -07:00
Zhaofeng Li
9fdec3397d
server: Allow configuring max database connections
...
We set it to 20 by default. The SQLx default is 10.
2023-02-11 01:16:55 -07:00
Zhaofeng Li
fce89f4c95
attic/nix_store: Only initialize Nix once
2023-02-06 19:39:10 -07:00
Zhaofeng Li
365d739bca
flake.nix: Add bindgenHook workaround to devShell
2023-02-06 19:39:10 -07:00
Zhaofeng Li
db443f1932
crane.nix: Also apply workaround to tests as well
2023-02-06 14:31:47 -07:00