summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-27Tests: Fix stderr printout bug in just-mr usagePaul Cristian Sarbu
All desired outputs of just-mr (e.g., the config file after a setup call) are printed to stdout, while all logging messages are printed to stderr. Therefore, one should avoid explicitly piping stderr to stdout, as this can break the intended use of just-mr.
2023-02-27Logging: Add --log-append clarg to just-mr and enable log forwarding to justPaul Cristian Sarbu
When calling just from just-mr, all logging arguments are forwarded as early arguments. If any log files are provided, an unconditional --log-append is also prepended to ensure the contents of the log files are not overwritten.
2023-02-27Logging: Add --log-append clarg to justPaul Cristian Sarbu
2023-02-27libcurl: Update to latest v7.88.1Paul Cristian Sarbu
Main updates to build description: - remove unused defines of type "HAVE_<lib>_H" - add new variables that allow users to set explicitly the presence of some lib symbols - replace most defines of type "HAVE_<lib>" with "USE_<lib>" (to match the flag names) - added GLOBs (where it made sense) for increased maintainability
2023-02-24Add design document on computed rootsKlaus Aehlig
2023-02-24libarchive: Update to latest v3.6.2Paul Cristian Sarbu
Changes in build description: - fix capitalization of ENABLE_LIBGCC flag. - add new HIDE_SYMBOLS flag to allow hiding of export symbols; used similar logic as for libcurl to circumvent the original CHECK_C_SOURCE_COMPILES macro use.
2023-02-24test: Remove unnecessary taintedness for archive_usage targetPaul Cristian Sarbu
2023-02-24libgit2: Update to v1.5.0Paul Cristian Sarbu
Changes to build description: - new USE_SHA256 flag - removed "Generic" option for USE_SHA1 - updated to the new source code structure (split "src/git2" into "src/libgit2" and "src/util")
2023-02-23Add a version command for just-mr itselfKlaus Aehlig
Both, just and the launcher just-mr are developped and released together and hence share version numbers. Nevertheless, the tools are used independently. In fact, just-mr has an option to specify the just binary to be used. Hence it is useful that each tool is aware of its own version number. As a launcher, just-mr is supposed to forward all subcommands known to just, hence the just-mr command to show the version information cannot be called "version"; we use "mrversion" instead.
2023-02-22just-mr/cli.hpp: remove unused constantKlaus Aehlig
2023-02-22targets: Fix typos in just config_docPaul Cristian Sarbu
2023-02-22cleanup: Fix typos in code line comments and logging messagesPaul Cristian Sarbu
2023-02-22test: Remove unnecessary line of code in run_test_server.pyPaul Cristian Sarbu
2023-02-22docs: Fix typos in general documentationPaul Cristian Sarbu
2023-02-22test: Check CAS directory directly for artifacts sync testOliver Reiche
... instead of only using the "install-cas" subcommand, which considers the file and executable CAS as one single logical instance. Rather also check the CAS directories directly to verify that files and executables are actually downloaded to the correct CAS. Furthermore, added "main" as an export target to produce an executable file for running the test.
2023-02-22ExecutionApi: Retrieve to correct CAS directlyOliver Reiche
... by keeping track of each blob being a file or executable and storing it to the correct local physical CAS directory. The new flag is merely a hint and only used by the local execution API. Leaving it out will still correctly transfer the blob but may cause unnecessary duplicates in file CAS.
2023-02-20Print libcurl debug output in just-mr only in case of an error or in case of ↵Sascha Roloff
tracing
2023-02-20Add logging command-line arguments to just-mrSascha Roloff
2023-02-20Style fixes in just-mrSascha Roloff
2023-02-20Forward --local-build-root argument from just-mr to just only if setSascha Roloff
2023-02-20Add logging command-line arguments to gc subcommandSascha Roloff
2023-02-20Add a design describing target-level caching as a serviceKlaus Aehlig
2023-02-17tests: Add tests for extended Git repo class with remote operationsPaul Cristian Sarbu
Only tests pertaining to methods not covered in the tests of the inherited class were added.
2023-02-17structure cleanup: move remote operations of GitRepo to other_tools...Paul Cristian Sarbu
...in order to not include unwanted dependencies in just proper. The new class extends the GitRepo class used for just's Git tree operations and gets used in all of just-mr's async maps.
2023-02-17structure cleanup: move libcurl utilities to other_tools...Paul Cristian Sarbu
...in order to not include unwanted dependencies in just proper. As the whole other_tools folder is meant to be excluded from bootstrapping, also remove the bootstrap guards.
2023-02-17structure cleanup: move libarchive utilities to other_tools...Paul Cristian Sarbu
...in order to not include unwanted dependencies in just proper. As the whole other_tools folder is meant to be excluded from bootstrapping, also remove the bootstrap guards.
2023-02-17tests: Add proper quoting when system calling the shellPaul Cristian Sarbu
2023-02-17bugfix: export CXX related config_vars on pure C libs that depend onAlberto Sartori
CXX libs
2023-02-16Prune bootstrap sourcesKlaus Aehlig
The build tool should not depend on other tools, so do not even pass that part of the source tree to the bootstrap tests. This also improves incrementality of these rather large tests.
2023-02-15CLI: enforce maximal number of positional argumentsKlaus Aehlig
..., i.e., the requirement that the positional arguments form a syntactically valid target name. An explicit error message (created by the target-name parsing) is preferrable over tacitly dropping all but the last up to two arguments (which is the meaning of CLI11's expected(2)). While there, drop duplicate full stop in error message.
2023-02-15Fix wrong assembly of just args in just-mrSascha Roloff
The actual error fixed in this commit was the usage of the std::vector resize method instead of the reserve method. The resize method increases the size of the vector by appending new default-allocated elements (empty strings in this case), whereas the reserve method just increases the underlying capacity of the vector without appending elements. In addition to this fix, the remaining just-args assembly code was refactored to drop the lambda-function usage in favor of a plain sequence of statements.
2023-02-15execution service: use alias namespaceAlberto Sartori
2023-02-15just-execute: report un-tagged hashesAlberto Sartori
2023-02-15ExecutionServiceImpl: refactor ExecuteAlberto Sartori
2023-02-15just execute: add more logs during executionAlberto Sartori
2023-02-15just execute: add action's stdout and stderr to cas...Alberto Sartori
so that they can also be reported on the client side
2023-02-14Test bootstrapping in the presence of symbolic linksKlaus Aehlig
2023-02-14Package bootstrapping: support copying the needed partsKlaus Aehlig
... while following symbolic links. In this way, bootstrapping is possible against preinstalled dependencies that symbolic links or special files in their directories.
2023-02-14Targets: Make ares library an export target...Paul Cristian Sarbu
...as it is consumed by both grpc and libcurl. This makes sure that both those libraries see the same ares target.
2023-02-14targets: fix missing staging of individual testsPaul Cristian Sarbu
2023-02-14targets: fix deps structurePaul Cristian Sarbu
2023-02-10Simplify target for prebuilt CLI11Klaus Aehlig
... by using an explicit tree reference.
2023-02-10Add a design on handling of symbolic linksKlaus Aehlig
... describing the background as well as proposing a possible way to treat symbolic links in our build system.
2023-02-10Start a directory for design documentsKlaus Aehlig
2023-02-10just execute: bugfix: honor do_not_cache booleanAlberto Sartori
2023-02-09INSTALL.md: document the new NON_LOCAL_DEPS variableKlaus Aehlig
... in PACKAGE=YES builds.
2023-02-09Add test for mixed boot strappingKlaus Aehlig
2023-02-09bootstrap.py: Add env variable NON_LOCAL_DEPSMichael Thies
... to indicate, in case of a package build, which dependencies should not be taken from the local environment. As those need a different target root (and potentially other roots), we keep a copy of file roots modified when transitioning to local builds and rewrite the changed file roots in the NON_LOCAL_DEPS accordingly. Co-authored-by: Klaus Aehlig <aehlig@linta.de>
2023-02-08bash autocompletion: update completion for gc and executeAlberto Sartori
2023-02-02changelog: add just execute subcommandAlberto Sartori