aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cli_v2: implement LaunchRepairOperation and remove old stuffAlex Auvolat11 days18-283/+214
|
* cli_v2: implement Get{Node,Cluster}StatisticsAlex Auvolat11 days8-229/+259
|
* cli_v2: implement CreateMetadataSnapshotAlex Auvolat11 days9-68/+94
|
* admin api: reorder thingsAlex Auvolat13 days1-34/+32
|
* admin api: impl RequestHandler for MetricsRequestAlex Auvolat13 days4-73/+84
|
* cli_v2: implement RetryBlockResync and PurgeBlocksAlex Auvolat13 days6-165/+212
|
* cli_v2: implement ListBlockErrors and GetBlockInfoAlex Auvolat13 days14-210/+346
|
* cli_v2: add local_api_request with crazy type boundAlex Auvolat13 days3-33/+37
|
* cli_v2: implement ListWorkers and GetWorkerInfoAlex Auvolat13 days13-188/+324
|
* admin api: base infrastructure for local endpointsAlex Auvolat13 days17-236/+619
| | | | | | | | | | | | admin api: rename EndpointHandler into RequestHandler to avoid confusion with RPC wip: infrastructure for local api calls admin api: fix things admin api: first local endpoint to work with new scheme admin api: implement SetWorkerVariable
* cli_v2: migrate cleanupincompleteuploads to Admin APIAlex Auvolat13 days8-66/+134
| | | | admin api: add CleanupIncompleteUploads spec
* Merge branch 'main' into next-v2Alex Auvolat13 days15-7865/+1169
|\
| * Merge pull request 'upgrade Rust compiler and Cargo dependencies' (#951) ↵Alex13 days6-556/+898
| |\ | | | | | | | | | | | | | | | from nix-crane into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/951
| | * update all Cargo dependencies except AWS crates and their dependenciesnix-craneAlex Auvolat13 days1-546/+886
| | |
| | * build with rust 1.82.0Alex Auvolat13 days5-10/+12
| | |
| * | Merge pull request 'compile with crane' (#950) from nix-crane into mainAlex13 days16-7316/+280
| |\| | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/950
| | * nix, ci: build with CraneAlex Auvolat13 days16-7316/+280
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes our dependency on cargo2nix, which was causing us some issues. Whereas cargo2nix creates one Nix derivation per crate, Crane uses only two derivations: 1. Build dependencies only 2. Build the final binary This means that during the second step, no caching can be done. For instance, if we do a change in garage_model, we need to recompile all of the Garage crates including those that do not depend on garage_model. On the upside, this allows all of the Garage crates to be built at once using cargo build logic, which is optimized for high parallelism and better pipelining between all of the steps of the build. All in all, this makes most builds faster than cargo2nix. A few other changes have been made to the build scripts and CI: - Unit tests are now run within a Nix derivation. In fact, we have different derivations to run the tests using LMDB and Sqlite as metadata db engines. - For debug builds, most CI steps now run in parallel (with the notable exception of the smoke test that runs after the build, which is inevitable). - We no longer pass the GIT_VERSION argument when building debug builds and running the tests. This means that dev binaries and test binaries don't know the exact version of Garage they are from. That shouldn't be an issue in most cases. - The not-dynamic.sh scripts has been fixed to fail if the file does not exist.
* | Merge branch 'main' into next-v2Alex Auvolat2025-02-011-3/+3
|\|
| * Merge pull request 'woodpecker: use parallel nix-build in debug builds' ↵Alex2025-02-011-3/+3
| |\ | | | | | | | | | | | | | | | (#949) from nix-parallel into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/949
| | * woodpecker: use parallel nix-build in debug buildsAlex Auvolat2025-02-011-3/+3
| |/
* | Merge branch 'main' into next-v2Alex Auvolat2025-02-0177-845/+874
|\|
| * Merge pull request 'split garage_api in garage_api_{common,s3,k2v,admin}' ↵Alex2025-02-0167-819/+841
| |\ | | | | | | | | | | | | | | | (#947) from split-garage-api into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/947
| | * fix ci for more test cratessplit-garage-apiAlex Auvolat2025-01-311-1/+4
| | |
| | * fix testsAlex Auvolat2025-01-315-3/+7
| | |
| | * cargo defs: simplify and fix descriptionsAlex Auvolat2025-01-314-13/+10
| | |
| | * update cargo.nixAlex Auvolat2025-01-311-202/+138
| | |
| | * use cargo-shear to remove many unused dependencies between cratesAlex Auvolat2025-01-3115-356/+3
| | |
| | * split s3/cors.rs into also common/cors.rsAlex Auvolat2025-01-3111-186/+179
| | |
| | * fix things upAlex Auvolat2025-01-3134-102/+130
| | |
| | * wip: split garage_api into garage_api_{common,s3,k2v,admin}Alex Auvolat2025-01-3152-195/+609
| |/
| * Merge pull request 'table::insert_many: avoid failure with zero items (fix ↵Alex2025-01-311-0/+4
| |\ | | | | | | | | | | | | | | | #915)' (#946) from fix-915 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/946
| | * table::insert_many: avoid failure with zero items (fix #915)fix-915Alex Auvolat2025-01-301-0/+4
| |/
* | Merge pull request 'admin refactoring: refactor CLI to use Admin API ↵Alex2025-01-3019-1414/+1485
|\ \ | | | | | | | | | | | | | | | requests (step 2)' (#943) from refactor-admin into next-v2 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/943
| * | cli_v2: fix garage statusAlex Auvolat2025-01-302-56/+41
| | |
| * | cli_v2: merge util.rs into layout.rsAlex Auvolat2025-01-304-121/+116
| | |
| * | cli_v2: error messagesAlex Auvolat2025-01-301-6/+6
| | |
| * | convert cli key operations to admin rpcAlex Auvolat2025-01-307-307/+247
| | |
| * | fix garage status outputAlex Auvolat2025-01-301-1/+1
| | |
| * | admin api: convert most bucket operationsAlex Auvolat2025-01-3010-640/+581
| | |
| * | cli: migrate layout remove, apply, revertAlex Auvolat2025-01-303-102/+65
| | |
| * | wip: migrate garage status and garage layout assignAlex Auvolat2025-01-308-355/+486
| | |
| * | wip: proxy admin api requests through admin rpc, prepare new cliAlex Auvolat2025-01-306-78/+194
|/ /
* | Merge pull request 'admin API refactoring (step 1)' (#939) from ↵Alex2025-01-2922-1121/+3212
|\ \ | | | | | | | | | | | | | | | refactor-admin into next-v2 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/939
| * | admin api: remove log messageAlex Auvolat2025-01-291-2/+0
| | |
| * | admin api: fix panic on GetKeyInfo with no argsAlex Auvolat2025-01-291-9/+13
| | |
| * | admin api: small fixesAlex Auvolat2025-01-296-10/+41
| | |
| * | admin api: clearer syntax for AddBucketAlias and RemoveBucketAliasAlex Auvolat2025-01-297-67/+76
| | |
| * | admin api: merge calls to manage global/local aliasesAlex Auvolat2025-01-295-222/+86
| | |
| * | admin api: rename allow/deny api calls in api v2Alex Auvolat2025-01-295-28/+28
| | |
| * | admin api: rename bucket aliasing operationsAlex Auvolat2025-01-295-58/+58
| | |