summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-05Implement uplinking logic in a separate class.Maksim Denisov
2024-07-05Use StorageConfig with generation for initialization of Storage's generationsMaksim Denisov
...instead of std::filesystem::path. StorageConfig is extended to return paths of Storage's parts.
2024-07-05Pass StorageConfig and Storage to just-mr mapsMaksim Denisov
2024-07-05Pass Storage to add-to-casMaksim Denisov
2024-07-05Pass Storage to RepositoryConfigMaksim Denisov
...and adjust AnalyseContext.
2024-07-05Pass StorageConfig and Storage to LocalApiMaksim Denisov
2024-07-05Pass StorageConfig and Storage to ServerImplMaksim Denisov
2024-07-05Pass StorageConfig and Storage to ServeMaksim Denisov
2024-07-05Pass StorageConfig to git_repo and git_repo_remoteMaksim Denisov
2024-07-05Pass Storage and StorageConfig to StorageUtils by referenceMaksim Denisov
2024-07-05Pass StorageConfig to GarbageCollectionMaksim Denisov
2024-07-05Pass StorageConfig to GarbageCollector::SharedLockMaksim Denisov
2024-07-05Use StorageConfig functionality via Instance()Maksim Denisov
...to track changes during refactoring easier.
2024-07-05Move functionality from StorageConfig to related classes.Maksim Denisov
2024-07-05Remove ConfigData from StorageConfigMaksim Denisov
...since it is an extra class that overcomplicates the config class.
2024-07-05Use a separate constructor for sharded TargetCacheMaksim Denisov
2024-07-04Remove default arguments that are always passed anyway.Maksim Denisov
2024-07-04Replace the Auth and Auth::TLS singletonsPaul Cristian Sarbu
Use a builder pattern for creation and validation, in a manner that allows also other authentication methods to be added in the future besides the current TLS/SSL. The main Auth instances are built early and then passed by not_null const pointers, to avoid passing temporaries, replacing the previous Auth::TLS instances passed by simple nullable const pointers. Where needed, these passed Auth instances are also stored, by const ref. Tests also build Auth instances as needed, either with the default 'no certification' or from the test environment arguments.
2024-07-04Pass Auth::TLS instance to serve and execute clientsPaul Cristian Sarbu
2024-07-04Use ApiBundle's Auth::TLS instance in serve and execute serversPaul Cristian Sarbu
2024-07-04Pass Auth::TLS instance to BazelApi and ServeApiPaul Cristian Sarbu
2024-07-04Use Auth and TLS configurations via Instance()Paul Cristian Sarbu
...to more easily keep track of changes during refactoring.
2024-07-04Mark more constructors 'explicit'Paul Cristian Sarbu
Since c++17 the 'explicit' keyword has use also for constructors with more than one argument and it is recommended to use it by default whereever implicit conversions are not expected bahaviour.
2024-07-04test_serve_config: Small fixPaul Cristian Sarbu
2024-07-03Add a design document on how to handle the hard-link limitKlaus Aehlig
2024-07-01["patch", "file"]: honor shell bin dirsKlaus Aehlig
... as we need to copy a file, as not all versions of patch accept the file to patch as argument.
2024-07-01["CC/auto", "config"]: honor bin dirs of shell defaultsKlaus Aehlig
2024-07-01["shell", "defaults"]: support "bin dirs"Klaus Aehlig
2024-07-01Reorder compatibility commands in CompactificationMaksim Denisov
2024-07-01Ensure unique paths are used in compactificationMaksim Denisov
2024-06-28Use (un)expected for serve APIOliver Reiche
2024-06-28Use (un)expected for serve serviceOliver Reiche
2024-06-28Use (un)expected for Git repoOliver Reiche
2024-06-28Use (un)expected for CAS utilsOliver Reiche
2024-06-28Use (un)expected for CAS accessOliver Reiche
2024-06-28Use (un)expected for reading location objectsOliver Reiche
2024-06-28Use (un)expected for parsing dispatch infoOliver Reiche
2024-06-28Use (un)expected for network fetchOliver Reiche
2024-06-28Add C++ utility classes (un)expectedOliver Reiche
... mimicking C++23's std::(un)expected, so we can more easily adapt to newer C++ standards once we decide to upgrade.
2024-06-27Pass RemoteServeConfig by pointer for capturingMaksim Denisov
2024-06-27Pass ServeApi to just-mr maps by raw pointerMaksim Denisov
...since it is used for capturing in lambdas for AsyncMaps and mustn't be temporary.
2024-06-27Capture ServeApi by pointer in AnalyseContextMaksim Denisov
2024-06-27Capture TargetCache by pointer in AnalyseContextMaksim Denisov
2024-06-27Use a raw pointer for passing optional RepositoryConfigMaksim Denisov
...instead of std::optional<gsl::not_null<RepositoryConfig const*>>.
2024-06-27Use a raw pointer for passing optional IExecutionApiMaksim Denisov
...instead of std::optional<gsl::not_null<IExecutionApi const*>>
2024-06-26just: shorten repeated mentioning of the top-level targetKlaus Aehlig
The build tool prints status messages at the end of each of the major stages that sequentially follow each other. This allows, in particular when using log files (that contain time stamps) to quickly identify which phase was the resource consuming one. All these message mention the (same!) configured target that is process by this invocation of the build tool. In the presence of toolchains, the configuration can, however, get quite large (containing lots of paths to various tools). Therefore, shorted the configuration in the repeated menions if it is very long (currenlty 320 characters); as we do not change the first mentinoing ("Requested target is ..."), even with that shortening the log contains the same information.
2024-06-26proto tutorial: Add section on debuggingPaul Cristian Sarbu
This showcases that also generated proto headers will be staged for debugging.
2024-06-26Add tutorial to showcase debuggingPaul Cristian Sarbu
2024-06-263rd-party tutorial: Add DEBUG flag for fmtlib export targetPaul Cristian Sarbu
This is good practice and it makes it easier to later demonstrate debugging, as the flag value is honored. Also renames the final repos.json example, in order to ensure that any chapters depending on the output of this chapter receives the correct repository description.
2024-06-26tutorials: Fix small typosPaul Cristian Sarbu