Alex Auvolat
4f0b923c4f
admin api: small fixes
2025-01-29 19:26:16 +01:00
Alex Auvolat
420bbc162d
admin api: clearer syntax for AddBucketAlias and RemoveBucketAlias
2025-01-29 19:26:16 +01:00
Alex Auvolat
12ea4cda5f
admin api: merge calls to manage global/local aliases
2025-01-29 19:26:16 +01:00
Alex Auvolat
5fefbd94e9
admin api: rename allow/deny api calls in api v2
2025-01-29 19:26:16 +01:00
Alex Auvolat
ba810b2e81
admin api: rename bucket aliasing operations
2025-01-29 19:26:16 +01:00
Alex Auvolat
f8ed3fdbc4
fix test_website_check_domain
2025-01-29 19:26:16 +01:00
Alex Auvolat
2daeb89834
admin api: fixes to openapi v2 spec
2025-01-29 19:26:16 +01:00
Alex Auvolat
4cb45bd398
admin api: fix CORS to work in browser
2025-01-29 19:26:16 +01:00
Alex Auvolat
d5ad797ad7
admin api: update v2 openapi spec
2025-01-29 19:26:16 +01:00
Alex Auvolat
a99925e0ed
admin api: initialize v2 openapi spec from v1
2025-01-29 19:26:16 +01:00
Alex Auvolat
f538dc34d3
admin api: make all requests and responses (de)serializable
2025-01-29 19:26:16 +01:00
Alex Auvolat
ed58f8b0fe
admin api: update semantics of some endpoints, and update doc
2025-01-29 19:26:16 +01:00
Alex Auvolat
5037b97dd4
admin api: add compatibility from v1/ to v2/
2025-01-29 19:26:16 +01:00
Alex Auvolat
af1a530834
admin api: refactor using macro
2025-01-29 19:26:16 +01:00
Alex Auvolat
c99bfe69ea
admin api: new router_v2 with unified path syntax
2025-01-29 19:26:16 +01:00
Alex Auvolat
831f2b0207
admin api: make all handlers impls of a single trait
2025-01-29 19:26:16 +01:00
Alex Auvolat
c1eb1610ba
admin api: create structs for all requests/responess in src/api/admin/api.rs
2025-01-29 19:26:16 +01:00
Quentin Dufour
5560a963e0
decrease write quorum
2025-01-29 19:25:58 +01:00
Alex
ab71544499
Merge pull request 'api: better handling of helper errors to distinguish error codes' ( #942 ) from fix-getkeyinfo-404 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/942
2025-01-29 18:25:44 +00:00
Alex
991edbe02c
Merge pull request 'Update doc/book/connect/repositories.md' ( #941 ) from yatesco/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/941
2025-01-29 18:18:59 +00:00
Alex Auvolat
9f3c7c3720
api: better handling of helper errors to distinguish error codes
2025-01-29 19:14:34 +01:00
yatesco
bfde9152b8
Update doc/book/operations/multi-hdd.md
...
trivial spelling mistake
2025-01-29 13:40:41 +00:00
yatesco
7bb042f0b7
Update doc/book/connect/repositories.md
...
trivial spelling mistake
2025-01-29 13:34:35 +00:00
Alex
a1d081ee84
Merge pull request 's3 api: make x-amz-meta-* headers lowercase ( fix #844 )' ( #938 ) from fix-844 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/938
2025-01-27 19:32:19 +00:00
Alex Auvolat
e8fa89e834
s3 api: make x-amz-meta-* headers lowercase ( fix #844 )
2025-01-27 19:58:06 +01:00
Alex
beedc9fd11
Merge pull request 'snapshot: sqlite: use a subdirectory for consistency with LMDB' ( #932 ) from baptiste/garage:snapshot_consistency_sqlite into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/932
2025-01-27 18:50:11 +00:00
Alex
d4e3e60920
Merge pull request 'update nix crate to 0.29 and libc to 0.2.169' ( #931 ) from neuschaefer/garage:nix into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/931
2025-01-27 18:09:51 +00:00
Baptiste Jonglez
43402c9619
snapshot: sqlite: use a subdirectory for consistency with LMDB
...
Currently, taking a snapshot of the metadata database with sqlite creates
a sqlite file without extension with the following format:
snapshots/2025-01-26T15:29:17Z
This makes it hard to understand what kind of data this is, and is not
consistent with LMDB:
snapshots/2025-01-26T15:29:17Z/data.mdb
With this change, we now get a directory with a single db.sqlite file:
snapshots/2025-01-26T15:29:17Z/db.sqlite
2025-01-27 19:06:52 +01:00
Alex
efa6f3d85e
Merge pull request 'db-snapshot: allow to set directory where snapshots are stored' ( #933 ) from baptiste/garage:configure_metadata_snapshots_dir into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/933
2025-01-27 18:04:05 +00:00
Alex Auvolat
74a1b49b13
Update Cargo.nix
2025-01-27 18:37:05 +01:00
J. Neuschäfer
23d57b89dc
update nix crate to 0.29 and libc to 0.2.169
2025-01-27 18:37:05 +01:00
Alex
5e3e1f4453
Merge pull request 'fix problems with CI doing work multiple times' ( #936 ) from woodpecker-simplify into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/936
2025-01-27 17:36:27 +00:00
Baptiste Jonglez
59c153d280
db-snapshot: allow to set directory where snapshots are stored
...
Fix #926
2025-01-27 18:33:55 +01:00
Alex Auvolat
bb3e0f7d22
nix CI: reduce redundant work
2025-01-27 18:09:51 +01:00
Alex
0156e40c9d
Merge pull request 'ci: fix woodpecker definitions to comply with woodpecker 3' ( #935 ) from woodpecker3 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/935
Reviewed-by: maximilien <me@mricher.fr>
2025-01-27 12:03:46 +00:00
Alex Auvolat
f6f88065ad
ci: fix woodpecker definitions to comply with woodpecker 3
2025-01-27 12:06:31 +01:00
Alex
591bd808ec
Merge pull request 'doc: Fix Nix devenv setup' ( #927 ) from fix_devenv into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/927
2025-01-23 10:20:04 +00:00
maximilien
294cb99409
Merge pull request 'Fix all typos' ( #928 ) from majst01/garage:fix-typos into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/928
Reviewed-by: maximilien <me@mricher.fr>
2025-01-17 06:06:14 +00:00
Stefan Majer
2eb9fcae20
Fix all typos
2025-01-16 13:22:00 +01:00
Baptiste Jonglez
58b9eb46fc
doc: Fix Nix devenv setup
...
This is a hotfix to fix the doc for the current setup, see #868 for
possible future directions.
2025-01-16 10:00:12 +01:00
maximilien
255b01b626
Merge pull request 'Helm chart: Add garage.existingConfigmap and replace garage.garage.toml with garage.garageTomlString' ( #923 ) from jessebot/garage:allow-existing-configmap into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/923
Reviewed-by: maximilien <me@mricher.fr>
2025-01-15 23:53:25 +00:00
Maximilien R.
58a765c51f
Minor rewording, add some more hints
2025-01-15 23:51:07 +00:00
jessebot
1c431b8457
Add garage.existingConfigmap and replace garage.garage.toml with garage.garageTomlString
...
also moves all gotemplating back to configmap
and adds autogenerated docs via helm-docs
Signed-off-by: jessebot <jessebot@linux.com>
2025-01-15 23:51:07 +00:00
Alex
39ac034de5
Merge pull request 'update toolchain' ( #924 ) from nix-update into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/924
2025-01-13 10:19:53 +00:00
Alex Auvolat
8ddb0dd485
nix build: switch to upstream cargo2nix (branch release-0.11.0)
2025-01-12 18:16:23 +01:00
Alex Auvolat
83887a8519
nix build: remove clippy build env that doesn't work
2025-01-12 17:51:33 +01:00
Alex Auvolat
0a15db6960
nix build: update rustc to v1.78
2025-01-12 17:37:36 +01:00
Alex Auvolat
295237476e
fix formatting to comply with latest rustfmt
2025-01-12 17:36:25 +01:00
Alex Auvolat
9d83605736
flake: update versions of nixpkgs and rust-overlay
2025-01-12 17:34:04 +01:00
maximilien
4b1a7fb5e3
Merge pull request 'The version flag is required when applying a layout' ( #921 ) from update-quickstart-docs-layout-apply into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/921
2025-01-09 00:41:35 +00:00