summaryrefslogtreecommitdiff
path: root/src/buildtool/common
AgeCommit message (Collapse)Author
2023-01-20Add gc subcommandSascha Roloff
2023-01-20Cleanup local CAS dependency for repository configSascha Roloff
2023-01-18authentication: add TLS and mTLS supportAlberto Sartori
2022-12-22Add option --dump-export-targetsKlaus Aehlig
... dumping only the configured targets that are export targets. Those targets are of particular interest as those are the targets, as they are the high-level caching points and also often serve as interface between projects.
2022-12-07just: Allow multiple log filesPaul Cristian Sarbu
2022-12-07just: Fix typos in command descriptions (--help)Paul Cristian Sarbu
2022-11-21Use the newly-added concept of private-depsKlaus Aehlig
While there, also add all direct dependencies explicitly; using directly dependencies that are pulled in only indireclty causes problems from a maintainability point of view.
2022-11-11Support dumping variables of the analysed targetKlaus Aehlig
Add an option --dump-vars showing the variables of the configuration used (including the use of them being unset). This information can be used, e.g., to export a given target in a maximally flexible way.
2022-10-14Remove default value of ArtifactDigest::Create template parameterSascha Roloff
This enforces the explicit specification, which object type, either file or tree, should be used to create an artifact digest. This also avoids subtile errors at locations as in the previous commit, where files as well as trees are supposed to be handled, but digest creation mistakenly defaults to file object type.
2022-10-12Add copyright and license notice to all source and header filesKlaus Aehlig
Signed-off-by: Goetz Brasche <goetz.brasche@huawei.com>
2022-09-12Removed ArtifactDigest is_tree() predicateSascha Roloff
2022-09-12Fixed tree handling in compatible mode and added regression testSascha Roloff
2022-08-31Also track the the dependencies on configured targetsKlaus Aehlig
... to be able to report the respective graph for later analysis by other tools.
2022-08-23Track tree references that have to be expandedKlaus Aehlig
... as this is relevant for performance of analysis. We log the total numer of trees at performance level and the individual directories at debug level, if requested.
2022-08-05Make ANSI escape sequences optionalKlaus Aehlig
2022-08-05InstallCas: Moved install-cas code to separate libraryOliver Reiche
2022-08-05CLI: Add flag for dumping raw tree objectsOliver Reiche
2022-08-05ObjectInfo: Support stringify with unknown sizeOliver Reiche
2022-08-05Allow to read git trees from global CAS as well as local workspace rootSascha Roloff
2022-08-05Modified artifact digest to provide wire digest on demandSascha Roloff
2022-07-27describe: Support serializing to JSONOliver Reiche
2022-07-27describe: Support describing by rule nameOliver Reiche
2022-07-27install-cas now accepts --log-limit and --log-fileAlberto Sartori
2022-07-08In install-cas be more liberal in parsing artifact identifiersKlaus Aehlig
2022-07-05Make remote endpoint specification part of analysisKlaus Aehlig
The remote execution endpoint shards the target-level cache; still, for analysis, we want to specify a particular target-level cache, e.g., to analyse the inputs of a particular action that failed remotely. Note that the action identifier depends on the target-level cache in question, due to the extensional projection implicit in target-level caching.
2022-07-05Remove option --persistentKlaus Aehlig
... as the --request-action-input option provides a clean way of restoring the inputs to a specific action, without the need of interacting with the internal directory structure of the tool. In particular, the new option also works for remote builds.
2022-07-05Implement staging of action inputsKlaus Aehlig
Add an option to change the requested result to be (as artifacts) the input stage of a specified action. In this way, the inputs to individual actions can conveniently be inspected, e.g., for local debugging of why an action failed.
2022-06-28Support more verbose error reportingKlaus Aehlig
2022-06-24action deserialisation: accept null for "may_fail"Klaus Aehlig
In that way, we are consistent with all other values in that there is a way to positively state that the default value should be taken. While there, fix a wrong error message.
2022-06-20Repository representation: also use string as name in bindingsKlaus Aehlig
In this way, we keep the repsitory description more close to a normal multi-repository configuration. The only difference remaining is the absence of repository locations for git-tree roots.
2022-06-20Crypto: Add and use set of globally used hash functionsOliver Reiche
2022-06-13Statistics: Add counters for export targetsOliver Reiche
2022-06-13TargetResult: Add support for JSON (de)serializationOliver Reiche
2022-06-13ArtifactDescription: Add ref getter for id and C++ hashOliver Reiche
2022-06-13RemoteExecutionConfig: Keep global platform propertiesOliver Reiche
... and cache endpoint address for rebuilding.
2022-06-13RepoConfig: Compute repository keyOliver Reiche
2022-06-09Change wording of -D to emphasize that it is an overlayKlaus Aehlig
While there, also document the option (in more detail) in the man page.
2022-06-02CLI: New option -D/--defines for in-line configurationOliver Reiche
2022-06-02Add missing direct dependenciesKlaus Aehlig
2022-05-09CLI: Fix use of multiple RE property optionsOliver Reiche
... which were all ignored except the last. CLI11 usually only calls the option function once all options have been parsed. This change ensures that the option function is called everytime the option is parsed.
2022-04-27use kebab-case for all cmd line argsAlberto Sartori
2022-04-21add compatibility with original remote build protocolAlberto Sartori
2022-04-04statistics: also count completed uncached actionsKlaus Aehlig
2022-04-04Add a new log level for progress updatesKlaus Aehlig
2022-04-04cli: hint on orientation of --log-limit argumentKlaus Aehlig
2022-03-21Drop unnecessary declaration of indirect dependenciesKlaus Aehlig
If we do not use a target directly, we also should not include it. It's be build tool's job to track indirect dependencies.
2022-03-16Format: Apply compact JSON formattingOliver Reiche
2022-03-01Pass actions and trees in analysis result as shared pointerKlaus Aehlig
... to avoid unnecessary copying and moving of larger objects.
2022-02-28CLI: Add option to set action timeoutOliver Reiche
2022-02-25Format: Apply alphabetical include orderOliver Reiche