aboutsummaryrefslogtreecommitdiff
path: root/src/zen/cmds/builds_cmd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* zen print fixes/improvements (#469)Dan Engelbrecht2025-08-191-2/+2
| | | | | - Improvement: `zen print` now allows output of compact binary content even if they are in non-optimal format (Unifom vs Non-Uniform arrays and objects) - Feature: `zen print` now has a `--show-type-info` option to add type information to output of compact binary content - Bugfix: Stats information for Build Store (Zen Store Cache) no longer throws exception and outputs invalid state information
* use new builds api for oplogs (#464)Dan Engelbrecht2025-08-121-3/+6
| | | | - Improvement: Refactored jupiter oplog export code to reuse builds jupiter wrapper classes - Improvement: If `zen builds`, `zen oplog-import` or `zen oplog-import` command fails due to a http error, the return code for the program will be set to the error/status code
* add filtering to builds download (#463)Dan Engelbrecht2025-08-111-54/+210
| | | | | | - Feature: Added wildcard options for `zen build download` - `--wildcard` windows style wildcard (using * and ?) to match file paths to include - `--exclude-wildcard` windows style wildcard (using * and ?) to match file paths to exclude. Applied after --wildcard include filter - Improvement: Remove early wipe of target folder for `zen download` to allow for scavenging useful data
* list build part content (#462)Dan Engelbrecht2025-08-111-291/+666
| | | | | | | | | | | - Feature: Added `zen build ls` option to list the content of a build part(s) - Build source is specified using one of the following options - `--cloud-url` cloud artifact URL to build - `--host` or `--override-host`, `--namespace`, `--bucket` and `--buildid` - `--filestorage`, `--namespace`, `--bucket` and `--buildid` - `--build-part-name` to specify a particular build part(s) in the build - `--wildcard` windows style wildcard (using * and ?) to match file paths to include - `--exclude-wildcard` windows style wildcard (using * and ?) to match file paths to exclude. Applied after --wildcard include filter - Improvement: Added `--quiet` option to zen `builds` commands to suppress non-essential output
* skip query for metada if no blocks are referenced (#460)Dan Engelbrecht2025-08-071-1/+1
|
* retry finalize if we get a "needs" on a blob we did not create (#461)Dan Engelbrecht2025-08-061-2/+4
|
* add retry for failed block metadata upload (#445)Dan Engelbrecht2025-06-191-27/+49
| | | * add retry for failed block metadata upload
* accept Cloud urls without the api/v2/builds/ part (#439)Dan Engelbrecht2025-06-171-25/+45
|
* fix build store range check (#437)Dan Engelbrecht2025-06-161-2/+9
| | | | | * fix range check for blob store fetch * don't try to parse blockdesriptions if empty result is returned * add range to log when fetching blob range fails
* Don't require `--namespace` option when using `zen list-namespaces` command ↵Dan Engelbrecht2025-06-101-19/+44
| | | | (#429)
* restore legacy --url option for builds download (#428)Dan Engelbrecht2025-06-101-1/+7
|
* fix namespace picking up wrong argument (#425)Dan Engelbrecht2025-06-091-1/+1
|
* silence oom ood errors for sentry (#423)Dan Engelbrecht2025-06-051-0/+18
| | | - Improvement: Don't report OOD or OOM errors to Sentry when running `zen builds` commands
* pause, resume and abort running builds cmd (#421)Dan Engelbrecht2025-06-051-77/+360
| | | | | - Feature: `zen builds pause`, `zen builds resume` and `zen builds abort` commands to control a running `zen builds` command - `--process-id` the process id to control, if omitted it tries to find a running process using the same executable as itself - Improvement: Process report now indicates if it is pausing or aborting
* revert system temp dir for builds upload (#422)Dan Engelbrecht2025-06-051-29/+27
| | | | * revert temp upload folder to be inside source directory to avoid filling up system disk * use selected subcommand when displaying help for failed command line options in zen builds
* builds download url (#419)Dan Engelbrecht2025-06-041-57/+138
| | | | * RemoveQuotes helper * `--url` option for `zen builds` command has been reworked to accept a "Cloud Artifact URL", removing the need to specify "host", "namespace" and "bucket" separately
* new builds search (#418)Dan Engelbrecht2025-06-041-16/+28
| | | * don't require bucket for search operations to allow multi-bucket search
* faster scavenge (#417)Dan Engelbrecht2025-06-041-47/+165
| | | | - Improvement: Multithreaded scavenge pass for zen builds download - Improvement: Optimized check for modified files when verifying state of scavenged paths
* fixed size chunking for encrypted files (#410)Dan Engelbrecht2025-06-031-263/+286
| | | | | - Improvement: Use fixed size block chunking for know encrypted/compressed file types - Improvement: Skip trying to compress chunks that are sourced from files that are known to be encrypted/compressed - Improvement: Add global open file cache for written files increasing throughput during download by reducing overhead of open/close of file by 80%
* use system temp dir (#412)Dan Engelbrecht2025-06-021-21/+24
| | | * use system temp dir when uploading builds
* use explicit capture for lambdas (#404)Dan Engelbrecht2025-05-201-876/+1227
|
* replace copy file (#403)Dan Engelbrecht2025-05-201-6/+34
| | | Custom CopyFile in zen builds command increasing throughput by 50% on Windows and give better progress update
* handle exception with batch work (#401)Dan Engelbrecht2025-05-191-256/+286
| | | | | | | | | | | | | | | * use ParallelWork in rpc playback * use ParallelWork in projectstore * use ParallelWork in buildstore * use ParallelWork in cachedisklayer * use ParallelWork in compactcas * use ParallelWork in filecas * don't set abort flag in ParallelWork destructor * add PrepareFileForScatteredWrite for temp files in httpclient * Use PrepareFileForScatteredWrite when stream-decompressing files * be more relaxed when deleting temp files * allow explicit zen-cache when using direct host url without resolving * fix lambda capture when writing loose chunks * no delay when attempting to remove temp files
* parallel work handle dispatch exception (#400)Dan Engelbrecht2025-05-161-1219/+1142
| | | - Bugfix: Wait for async threads if dispatching of work using ParallellWork throws exception
* sparse win file write (#398)Dan Engelbrecht2025-05-161-1/+20
| | | * Added `--use-sparse-files` option to `zen builds` command improving write performance of large files. Enabled by default.
* builds allow redirect option (#379)Dan Engelbrecht2025-05-051-3/+14
| | | * add --allow-redirect to zen builds upload/download
* UE style formatted progress output (#380)Dan Engelbrecht2025-05-051-33/+173
| | | * add UE style @progress style progress
* Merge branch 'main' into zs/zencli-list-namespaces-bucketsZousar Shaker2025-04-241-405/+355
|\
| * limit retries on buildpart finalize (#374)Dan Engelbrecht2025-04-241-2/+8
| | | | | | * limit retries on buildpart finalize
| * use state file if available when doing builds diff command (#369)Dan Engelbrecht2025-04-241-81/+62
| | | | | | | | * use state file if available when doing builds diff command * remove dead code
| * zen wipe command (#366)Dan Engelbrecht2025-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | - Feature: New `zen wipe` command for fast cleaning of directories, it will not remove the directory itself, only the content - `--directory` - path to directory to wipe, if the directory does not exist or is empty, no action will be taken - `--keep-readonly` - skip removal of read-only files found in directory, defaults to `true`, set to `false` to remove read-only files - `--quiet` - reduce output to console, defaults to `false` - `--dryrun` - simulate the wipe without removing anything, defaults to `false` - `--yes` - skips prompt to confirm wipe of directory - `--plain-progress` - show progress using plain output - `--verbose` - enable verbose console output - `--boost-workers` - increase the number of worker threads, may cause computer to be less responsive, defaults to `false`
| * parse system dir for builds (#365)Dan Engelbrecht2025-04-231-1/+1
| | | | | | | | * make sure we always parse system options for zen builds command * make MakeSafeAbsolutePath nodiscard
| * make sure to call MakeSafeAbsolutePathÍnPlace where appropriate (#363)Dan Engelbrecht2025-04-231-15/+15
| |
| * add cxxopts overload for parsing file paths from command line (#362)Dan Engelbrecht2025-04-221-320/+283
| |
* | Use SubOption instead of Verb to control flowzousar2025-04-221-1/+1
| |
* | xmake precommitzousar2025-04-221-5/+5
| |
* | Replacing list-container with list-namespaceszousar2025-04-221-3/+3
| |
* | Replace container with namespaceszousar2025-04-221-11/+17
| |
* | Fix list-container positional args to remove query-pathzousar2025-04-151-2/+2
| |
* | Add a list-container subcommand to zen builds commandzousar2025-04-141-2/+69
|/
* fix race condition in multipart download (#358)Dan Engelbrecht2025-04-111-13/+13
|
* filesystem retry fixes (#354)Dan Engelbrecht2025-04-101-20/+31
| | | | | | | | | * add more forgiving retries with filesystem * fall back to FindFirstFile if access prevents us from using GetFileAttributes * only validate hash if we have a complete payload in http client * changelog
* multpart download crash (#353)Dan Engelbrecht2025-04-101-1/+2
| | | * fix lambda capture during multipart-download
* scavenge builds (#352)Dan Engelbrecht2025-04-081-185/+666
| | | | - Improvement: `zen builds` now scavenges previous download locations for data to reduce download size, enabled by default, disable with `--enable-scavenge=false` - Bugfix: Failing to rename a file during download sometimes reported an error when it succeeded when retrying
* tweaked verbose output (#351)Dan Engelbrecht2025-04-071-23/+18
|
* fixed host resolving if both host and and override-host (url) was given (#350)Dan Engelbrecht2025-04-071-17/+40
|
* save global download info file for scavenging (#349)Dan Engelbrecht2025-04-071-105/+189
| | | | * save global download info file for scavenging * don't let test code write to official state folder
* improved layout of end of run stats output (#348)Dan Engelbrecht2025-04-071-10/+15
|
* build store save access times (#341)v5.6.3-pre0Dan Engelbrecht2025-04-031-5/+5
| | | | | * save payload size in log for buildstore * read/write access times and manifest for buldstore * use retry when removing temporary files
* use oidctoken executable to generate auth (#336)Dan Engelbrecht2025-04-021-4/+32
| | | - Feature: `zen builds` auth option `--oidctoken-exe-path` to let zen run the OidcToken executable to get and refresh authentication token