aboutsummaryrefslogtreecommitdiff
path: root/zen/cmds/run.cpp
Commit message (Collapse)AuthorAgeFilesLines
* removed HttpLaunchService and related codeStefan Boberg2023-01-241-189/+0
| | | | this was used for testing but is no longer wanted in this form
* zen command line tool improvements (#212)Dan Engelbrecht2023-01-131-0/+4
| | | | | | | | | | | | - Feature: zen command line tool `cache-info` to show cache, namespace or bucket info - Feature: zen command line tool `project-info` to show store, project or oplog info - Feature: zen command line tool `project-drop` to drop project or oplog - Feature: zen command line tool `gc` to trigger a GC run - Feature: zen command line tool `gc-info` to check status of GC - Improvement: zen command line tool now fails on any unrecognized arguments - Improvement: zen command line tool now displays extra help for all sub-commands - Improvement: host address can now be configured for zen command line tool `drop` command changelog
* Zen cmd fixes (#201)Dan Engelbrecht2022-12-071-1/+1
| | | | | | | * updated drop command to support namespaces * fixed hash command error message * fix output of status (and top) command * Use ZEN_CONSOLE for output in zen commands * changelog
* Make cas storage an hidden implementation detail of CidStore (#130)v0.1.4-pre6v0.1.4-pre5Dan Engelbrecht2022-06-171-19/+23
| | | | | | | | | | | | | | | | | | - Bumped ZEN_SCHEMA_VERSION - CasStore no longer a public API, it is hidden behind CidStore - Moved cas.h from public header folder - CidStore no longer maps from Cid -> Cas, we store entries in Cas under RawHash - CasStore now decompresses data to validate content (matching against RawHash) - CasChunkSet renames to HashKeySet and put in separate header/cpp file - Disabled "Chunk" command for now as it relied on CAS being exposed as a service - Changed CAS http service to Cid http server - Moved "Run" command completely inside ZEN_WITH_EXEC_SERVICES define - Removed "cas.basic" test - Uncommented ".exec.basic" test and added return-skip at start of test - Moved ScrubContext to separate header file - Renamed CasGC to GcManager - Cleaned up configuration passing in cas store classes - Removed CAS stuff from GcContext and clarified naming in class - Remove migration code
* Use zen::PathToUtf8() instead of WideToUtf8()Martin Ridgers2021-12-021-1/+1
|
* Updated RunCommand's file traversal to use platform-agnostic stringsMartin Ridgers2021-12-021-4/+4
|
* Fixed unused parameter warningMartin Ridgers2021-12-011-0/+1
|
* Merged mainMartin Ridgers2021-10-161-9/+2
|\
| * zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-151-9/+2
| | | | | | | | | | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above
* | Use std::fs::path for IoBuffer::MakeFromFile().Martin Ridgers2021-10-141-1/+1
|/ | | | | This is more consistent with MakeFromTempFile() and almost all arguments are path objects anyway.
* filesystem: Added FileContents::Flatten() and ensured it's possible to ↵Stefan Boberg2021-10-011-0/+1
| | | | #include filesystem.h standalone
* Removed MemoryOutStream, MemoryInStreamStefan Boberg2021-09-281-3/+2
| | | | | | | | BinaryWriter/BinaryReader now implements memory buffer functionality which previously needed two chained instances of a Buffer/Reader. This was originally expected to be an abstraction for file and other stream access but this is not going to be useful so may as well collapse the functionality. This also eliminates the need for stack-aware ref-counting which is the real reason for wanting to get rid of this code. This was a very old experimental feature which turned out to be a bad idea. This also removes the /cas/batch endpoint
* Merged main into linux-macMartin Ridgers2021-09-211-1/+5
|\
| * clang-formatStefan Boberg2021-09-171-1/+1
| |
| * Added namespace scopes to more includes for better consistencyStefan Boberg2021-09-171-0/+4
| |
| * Moved zenserverprocess into zenutil/zenserverprocess.hStefan Boberg2021-09-171-1/+1
| |
* | Use std::fd::path's character type for FileSysTraveral::Visitor APIMartin Ridgers2021-09-161-1/+1
|/
* Changed logging implementationStefan Boberg2021-09-151-5/+5
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-1/+1
| | | | easier to tweak implementation
* Removed #pragma once from cpp files (copy pasta fail)Stefan Boberg2021-09-031-2/+0
|
* Added some new management commandsStefan Boberg2021-08-071-2/+2
|
* Adding zenservice codeStefan Boberg2021-05-111-0/+185