aboutsummaryrefslogtreecommitdiff
path: root/src/zen/cmds/projectstore.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Collect all zen admin-related commands into admin.h/.cpp (#418)Dan Engelbrecht2023-09-221-1558/+0
| | | | | | | | | | | | | | | | | | | * move commands in scrub.h/cpp to admin_cmd.h/cpp * move job command into admin_cmd.h/.cpp * admin -> admin_cmd * bench -> bench_cmd * cache -> cache_cmd * copy -> copy_cmd * dedup -> dedup_cmd * hash -> hash_cmd * print -> print_cmd * projectstore -> projectstore_cmd * rpcreplay -> rpcreplay_cmd * serve -> serve_cmd * status -> status_cmd * top -> top_cmd * trace -> trace_cmd * up -> up_cmd * version -> version_cmd
* job queue and async oplog-import/export (#395)Dan Engelbrecht2023-09-131-10/+146
| | | | | | | | | | | | | | | | - Feature: New http endpoint for background jobs `/admin/jobs/status` which will return a response listing the currently active background jobs and their status - Feature: New http endpoint for background jobs information `/admin/jobs/status/{jobid}` which will return a response detailing status, pending messages and progress status - GET will return a response detailing status, pending messages and progress status - DELETE will mark the job for cancelling and return without waiting for completion - If status returned is "Complete" or "Aborted" the jobid will be removed from the server and can not be queried again - Feature: New zen command `jobs` to list, get info about and cancel background jobs - If no options are given it will display a list of active background jobs - `--jobid` accepts an id (returned from for example `oplog-export` with `--async`) and will return a response detailing status, pending messages and progress status for that job - `--cancel` can be added when `--jobid` is given which will request zenserver to cancel the background job - Feature: oplog import and export http rpc requests are now async operations that will run in the background - Feature: `oplog-export` and `oplog-import` now reports progress to the console as work progress by default - Feature: `oplog-export` and `oplog-import` can now be cancelled using Ctrl+C - Feature: `oplog-export` and `oplog-import` has a new option `--async` which will only trigger the work and report a background job id back
* minor: log fixStefan Boberg2023-09-131-1/+1
|
* incremental oplog upload for block-based targets (#392)Dan Engelbrecht2023-09-121-2/+32
| | | | | | | * add option for base container for oplog export read base oplog and fetch known blocks * reuse blocks if a known block has 80+ % usage * changelog * better logging and added base to remotestore descriptions
* multithread file realization in oplog-mirror (#388)Dan Engelbrecht2023-09-081-457/+459
| | | | convert project store commands to use http client use MakeCbObjectPayload everywhere in project store commands
* Add `--embedloosefiles` option to `oplog-export` (#376)Dan Engelbrecht2023-08-241-0/+10
| | | | * Add `--embedloosefiles` option to `oplog-export` which adds loose files to the export, removing need to call `oplog-snapshot` * Retain `ServerPath` in oplog when performing `oplog-snapshot`. This is a short-term fix for current incompatability with the UE cooker.
* oplog mirror support (#367)Stefan Boberg2023-08-211-0/+131
| | | | feature: added oplog-mirror command. this can be invoked to export oplog contents to corresponding files
* add update/delete endpoint for project and oplog (#353)Dan Engelbrecht2023-08-181-6/+133
| | | | | | | | | | | | | * add update endpoint for project store project * add update endpoint for oplog * changelog * Zen command line tool `project-update` Zen command line tool `project-delete` Zen command line tool `oplog-update` Zen command line tool `oplog-delete` * add --force-update option to project/oplog create remove project/oplog update commnad
* Add `--assume-http2` option to cloud style import/export command to use a ↵Dan Engelbrecht2023-08-091-0/+20
| | | | HTTP/2 endpoint without without HTTP/1.1 upgrade (#347)
* Bugfix: `oplog-import` with `--file` source now sends the oplog folder ↵Dan Engelbrecht2023-08-091-1/+1
| | | | correctly to zenserver (#346)
* try to resolve access token via env variable local first (#337)Dan Engelbrecht2023-08-011-2/+21
| | | * try to resolve access token via env variable local first, on zenserver side second
* add requested item in oplog remote op (#340)Dan Engelbrecht2023-08-011-6/+6
| | | * add more context for oplog import/export errors
* add oplog snapshot command (#331)Dan Engelbrecht2023-06-121-0/+73
| | | | * add zen oplog-snapshot command line tool * changelog
* oplog snapshot (#317)Stefan Boberg2023-05-251-11/+23
| | | | | Added "snapshot" oplog RPC this may be used to bring referenced files into the local store instead of referencing them by filename, thus making the project/oplog transportable
* Sb/oplog export fixes (#315)Stefan Boberg2023-05-171-16/+28
| | | | | * fixed a bug in oplog-export file target RPC message * updated some option validation code
* Better defaults for zen cli (#302)Stefan Boberg2023-05-151-8/+64
| | | | | added ZenCmdBase::ResolveTargetHostSpec - this is a helper which provides better default behaviour for commands which interact with a local zen server instance. more specifically it picks a default based on which processes are actually running on the local machine this change also wires up the Scrub command along with some required HttpClient improvements
* replace use of cxxopts::OptionParseException in our codeStefan Boberg2023-05-081-1/+1
| | | | later versions of cxxopts changed the signatures of exceptions. This change adds zen::OptionParseException to replace it
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+930
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees