Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-16 | just-mr fetch: fix internal archive description | Klaus Aehlig | |
The absent value for an optional string is std::nullopt, not the empty string. | |||
2023-01-16 | just-mr fetch: drop redundant directory creation | Klaus Aehlig | |
just-mr fetch is supposed to fetch to the first (in search order) distdir that is an existing directory (and error out if no such directory exists). So, once a directory is found, there is no need to create it---we already verified it is an existing directory. | |||
2023-01-16 | just-mr: fix quoting | Klaus Aehlig | |
... in error message reporting the lack of present distdirs. | |||
2023-01-16 | CurlEasyHandle: Fix empty fetches due to unfollowed URLs | Paul Cristian Sarbu | |
For libcurl we need to set the CURL_FOLLOWLOCATION flag (disbaled by default) to enable 3xx redirects. Libcurl has sane defaults for related settings in order to handle redirects when enabled, though for fetches there should be limited risks, as content (and SHA hashes, if provided) is checked to ensure the intended archives are fetched. | |||
2023-01-16 | fpath_git_map: Fix wrong log message | Paul Cristian Sarbu | |
2023-01-12 | source map: quote file names in error message | Klaus Aehlig | |
... to ensure unique readability even with file names containing spaces or other special symbols; those kind of fancy file names typically occur when a string intended as named target is implicitly taken as a file (e.g., due to a spelling error). While there, also include directory and repository in the error message. | |||
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 | 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 | 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-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 | Utils: Add wrapper class for libarchive operations | Paul Cristian Sarbu | |
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 | 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 | 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 | |
2022-12-21 | Just: Move constants from main into own header file | Paul Cristian Sarbu | |
2022-12-21 | Utils: Add class handling tmp directories | Paul Cristian Sarbu | |
2022-12-21 | Git: Wrap libgit2 raw pointers | Paul Cristian Sarbu | |
2022-12-21 | Test: Add tests for critical git ops | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add non-critical git ops logic to git repo class | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add critical git op map | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add logic for critical git ops | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add types definitions for critical Git ops | Paul Cristian Sarbu | |
2022-12-21 | Just-MR: Add critical ops logic to git repo class | Paul Cristian Sarbu | |
2022-12-21 | Git CAS: Move Git tree ops to fake repo wrapper class | Paul Cristian Sarbu | |
2022-12-20 | Git CAS: Add fake repository wrapper for git odb | Paul Cristian Sarbu | |
2022-12-20 | Git CAS: Clean includes | Paul Cristian Sarbu | |
Removed unused file_system_manager dependency | |||
2022-12-20 | Git CAS: Add a Git context class to maintain the libgit2 state | Paul Cristian Sarbu | |
2022-12-12 | Start 1.1 development cycle | Klaus Aehlig | |