summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-08-02rules: make ACTION expression support "cwd"Klaus Aehlig
2024-08-01Execution API: support cwdKlaus Aehlig
... following the remote-execution standard that all output paths (but none of the input paths) are relative to the working directory. Therefore, the executor has to do the path translation. For our implementation of the API interface - the local API now handles cwd correctly, - the remote API forwards cwd correctly, and - the git API continues to report actions as not implemented.
2024-08-01class Action: include field cwdKlaus Aehlig
... for the working directory inside the action directory.
2024-08-01Add a utility function to rewrite path strings relative to a subdirectoryKlaus Aehlig
2024-08-01expression: add kEmptyStringKlaus Aehlig
2024-07-30Pass ExecutionContext to GraphTraverser and Executor/RebuilderPaul Cristian Sarbu
Also update the classes documentation accordingly.
2024-07-30Add extensible struct to be passed to graph traverserPaul Cristian Sarbu
2024-07-30executor: Use ApiBundlePaul Cristian Sarbu
...instead of separate local and remote instances. For tests, where different implementations of the IExecutionApi interface are used, ApiBundle instances are created by explicitly setting the struct fields instead of using ApiBundle::Create.
2024-07-30ApiBundle: Use a creator method instead of constructorPaul Cristian Sarbu
This will allow for ApiBundle to be used together with the TestApi implementation of IExecutionApi in tests. Also rename CreateRemote method to MakeRemote in order to remove any semantical confusion.
2024-07-30ApiBundle: Remove deprecated fields now used via RemoteContextPaul Cristian Sarbu
2024-07-30Use RemoteContext in install_casPaul Cristian Sarbu
2024-07-30Pass RemoteContext to Executor/RebuilderPaul Cristian Sarbu
2024-07-30Pass RemoteContext to GraphTraverserPaul Cristian Sarbu
It is passed as a not_null const pointer, to avoid binding to temporaries, and stored as a const reference to be later passed also to Executor/Rebuilder.
2024-07-30Pass RemoteContext to execution serverPaul Cristian Sarbu
2024-07-30Pass LocalContext and RemoteContext to ServeApiPaul Cristian Sarbu
Also switch to using the fields from RemoteContext instances instead of those from ApiBundle.
2024-07-30Use RemoteContext in serve servicesPaul Cristian Sarbu
Also switch to using the fields from RemoteContext instances instead of those from ApiBundle.
2024-07-30Pass RemoteContext to ApiBundlePaul Cristian Sarbu
The CreateRemote method is also updated to receive all remote-related information as arguments, such that it does not have to rely on the ApiBundle internal fields which will eventually be removed.
2024-07-30target service: Properly set up the RemoteExecutionConfig instance...Paul Cristian Sarbu
...for orchestrated builds. As the dispatch list and execution properties need to be parsed, place them in a proper RemoteExecutionConfig, to be passed to the created ApiBundle instance.
2024-07-30Add extensible structure for remote execution-related entitiesPaul Cristian Sarbu
2024-07-30Use LocalContext in execution and serve servicesPaul Cristian Sarbu
The context is passed by not_null const pointer in order to avoid binding to temporaries, and it or parts of it get stored by const ref where needed.
2024-07-30Pass LocalContext to LocalApiPaul Cristian Sarbu
The context is passed by not_null const pointer to avoid binding to temporaries. The LocalApi also stores the context as const ref for further access and passing it to LocalAction.
2024-07-30Pass LocalContext to ApiBundlePaul Cristian Sarbu
2024-07-30Add extensible structure for local execution-related entitiesPaul Cristian Sarbu
2024-07-30analyse_context: Add missing documentationPaul Cristian Sarbu
2024-07-29commit_git_map: fix line breaking in error messagesKlaus Aehlig
2024-07-26Add quasiquote expressionKlaus Aehlig
2024-07-26expression language: add quotingKlaus Aehlig
2024-07-24Tree fetching: first look in older generationsKlaus Aehlig
2024-07-23content_cas_map: also look in older git generationsKlaus Aehlig
2024-07-23git_commit_map: avoid duplicate creation and fix usageKlaus Aehlig
... as CheckCommitExists returns an optional bool, not a plain one.
2024-07-23just-mr: Remove progress and statistics singletonsPaul Cristian Sarbu
...and instead use simple instances created in setup, fetch, and update, respectively. The various maps and the progress reporter get access to these instances via not_null pointers.
2024-07-23just-mr: Pass statistics instance in repos-to-setup mapPaul Cristian Sarbu
...instead of using the singleton.
2024-07-23just-mr: Use statistics and progress instances update mapPaul Cristian Sarbu
...instead of using the singletons.
2024-07-23just-mr: Use statistics instance in fetch mapPaul Cristian Sarbu
...instead of using the singleton.
2024-07-23just-mr: Use progress instance in setup mapsPaul Cristian Sarbu
...instead of using the singleton.
2024-07-23just-mr: Pass progress and statistics instances to reporterPaul Cristian Sarbu
2024-07-22Make ServerImpl a general class, not singletonPaul Cristian Sarbu
2024-07-22Mark ServeServerImpl as finalPaul Cristian Sarbu
2024-07-22cli: Make info_file type consistentPaul Cristian Sarbu
Both the serve and execution servers store the info_file and pid_file as strings, to be used for reading via std::ofstream. Read info_file then also as string, like pid_file is.
2024-07-22Use compile-time polymorphism in HasherMaksim Denisov
...since runtime polymorphism was there just to avoid including openssl as a public dependency. A combination of forward declarations, std::variant and std::unique_ptr is used instead.
2024-07-22Rename HashFunction methods and enumsMaksim Denisov
2024-07-22Create Hasher using a static functionMaksim Denisov
2024-07-22Unify tagging logic in HashFunctionMaksim Denisov
2024-07-22Convert HashFunction to a regular classMaksim Denisov
2024-07-22Use HashFunction from Storage in RepositoryConfigMaksim Denisov
2024-07-22Use HashFunction from Storage during analysisMaksim Denisov
2024-07-22Use HashFunction from CAS in CompactifierMaksim Denisov
2024-07-22Use HashFunction from StorageConfig in ApiBundleMaksim Denisov
2024-07-22Use HashFunction from StorageConfig in fs_utilsMaksim Denisov
2024-07-22Use HashFunction from Storage in LocalResponseMaksim Denisov