Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-10 | Add basic test for git-import | Klaus Aehlig | |
2023-01-10 | just-import-git: accept config from stdin | Klaus Aehlig | |
... to allow simple chaining of imports. | |||
2023-01-10 | just-import-git: carry out the temporary clone in a shallow way | Klaus Aehlig | |
2023-01-10 | just-import-git: fix check for main name | Klaus Aehlig | |
The main repository to be imported should be treated special, whenever given. This has to be verified as the parameter not being None, rather than being true, as the empty string (a traditional name for the main repository) is also a false value in python. | |||
2023-01-10 | Tests: Add TEST_BOOTSTRAP_JUST_MR config var to decide which just-mr is used ↵ | Paul Cristian Sarbu | |
in the end-to-end tests | |||
2023-01-10 | Targets: Create top-level just-mr install target | Paul Cristian Sarbu | |
This target uses the just-mr binary and will replace the Python script in all non-bootstrap-related scenarios. | |||
2023-01-10 | repos_to_setup_map: Remove unnecessary logger capture in lambda calls | Paul Cristian Sarbu | |
2023-01-10 | Just-MR: Fix distdir computation in internal just-mr | Paul Cristian Sarbu | |
This provides the fix already performed for the just-mr script in the internal just-mr as well. In short, this fix makes sure that the computation of the content key for distdir repositories is independent of the presence of the respective archives in CAS. | |||
2022-12-23 | Just-MR: Fix wrong commit_git_map key | Paul Cristian Sarbu | |
The subdir is required alongside the commit hash for a valid map key when importing a Git repository into our Git cache. | |||
2022-12-23 | Just-MR: Remove wrong pass-by-reference when wrapping loggers | Paul Cristian Sarbu | |
Passing the logger by reference would require the caller to be kept alive. Also, being a shared_ptr, the logger can be passed by value at almost no cost. | |||
2022-12-23 | Just-MR: Fix bloated reachable repos | Paul Cristian Sarbu | |
Use intermediary unordered sets to store the repos to_setup and to_include to avoid unnecessary duplicates. It is purely a performance benefit. | |||
2022-12-23 | Just-MR: Fix mrrc config handling | Paul Cristian Sarbu | |
The parser was exiting early when the user gave no rc file, before having the chance to look for the config file in the default locations. | |||
2022-12-23 | Test that just-mr does not rely on CAS | Klaus Aehlig | |
... and, instead, stores all needed information in git and CAS-independent index files. | |||
2022-12-23 | end-to-end tests: go through a single target for just-mr | Klaus Aehlig | |
... so that we can switch in one go and have all tests use a new just-mr tool, e.g., once we consider the C++ implementation fully ready. This single point of switch will be relevant as the next commit will add the first end-to-end test for just-mr itself. | |||
2022-12-23 | just-mr: fix distdir computation | Klaus Aehlig | |
just-mr is designed to store everything that can be reported as git tree entirely in git only. To avoid recomputation, just-mr keeps index files mapping the description of a repository to the corresponding git trees. For these index files to be useful, the computation of the key has to be independent of the presence of the respective archives in CAS. This will become even more important once garbage collection will be added. Fix this for distdir repositories. | |||
2022-12-23 | imports: Fix missing link dependency for crypto-lib | Oliver Reiche | |
... which privately depends on pthreads. | |||
2022-12-23 | just-mr: fix exec log message | Klaus Aehlig | |
... to show the argument vector properly serialized as json. In this way, the vector can be read unambigiously even if arguments contain white space. | |||
2022-12-22 | import of boringssl: fix export structure | Klaus Aehlig | |
Both ["", "ssl"] and ["", "crypto"] are targets of "boringssl" that are intended for use outside this repository. Both depend on the ["CC", "library"]-target ["", "crytpo-lib"], in fact even visibly, as ssl has a library-dependency on the crypto library. Therefore, we have to follow the standard export pattern that all uses of this library go through the same (closest) export target. Fix this! | |||
2022-12-22 | Add option --dump-export-targets | Klaus 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-22 | export targets: identify as such in result_map | Klaus Aehlig | |
Make export targets identify themselves in the result_map, so that we have accurate knowledge of the export targets seen. | |||
2022-12-22 | result_map: also keep track of export targets | Klaus Aehlig | |
Allow in the addition of a target to the result map to indicate that it was an export target; in this way, the information is available as a result of the analysis. | |||
2022-12-22 | CHANGELOG: also mention the new just-mr binary | Klaus Aehlig | |
2022-12-21 | Bootstrap: Exclude other_tools folder from source files gathering | Paul Cristian Sarbu | |
2022-12-21 | Test: Add basic test for just-mr | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add main logic for just calls sub-commands | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add main logic for setup and setup-env sub-commands | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add main logic for update sub-command | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add main logic for fetch sub-command | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add main with CL args handling | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add repos-to-setup map | Paul Cristian Sarbu | |
Contains the logic for the checkout of all supported repositories. | |||
2022-12-21 | Just-MR: Add archive content to WS root git map | Paul Cristian Sarbu | |
Uses libarchive to unarchive the archives from CAS. | |||
2022-12-21 | Test: Upd libarchive tests with wrapper class | Paul Cristian Sarbu | |
2022-12-21 | Utils: Add wrapper class for libarchive operations | Paul Cristian Sarbu | |
2022-12-21 | Test: Add basic tests for libarchive | Oliver Reiche | |
2022-12-21 | External: Add libarchive dependency | Paul Cristian Sarbu | |
2022-12-21 | External: Add bzip2 dependency | Oliver Reiche | |
2022-12-21 | Just-MR: Add archive fetch map | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add archive content-in-CAS map | Paul Cristian Sarbu | |
Calls libcurl to fetch the archives from the internet. | |||
2022-12-21 | Test: Add tests for libcurl | Paul Cristian Sarbu | |
2022-12-21 | Utils: Add curl easy handle utility class | Paul Cristian Sarbu | |
2022-12-21 | Utils: Add curl context utility class | Paul Cristian Sarbu | |
2022-12-21 | External: Add libcurl dependency | Paul Cristian Sarbu | |
2022-12-21 | Crypto: Add SHA512 hasher | Paul Cristian Sarbu | |
Needed by the content-in-CAS git map to check fetched archives' checksums. SHA1 and SHA256 hashers are already implemented. | |||
2022-12-21 | Just-MR: Add file path to WS root git map | Paul Cristian Sarbu | |
2022-12-21 | FS Manager: Add CopyDirectoryImpl method | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add commit to WS root git map | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add git commit update map | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add distdir to WS root git map | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add import-to-git map | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add utilities library for just-mr | Paul Cristian Sarbu | |