Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-11-14 | common: Implement IWYU suggestions | Paul Cristian Sarbu | |
2024-10-25 | ArtifactDigest: Add getter for hash function type | Paul Cristian Sarbu | |
2024-10-07 | Enable readability-redundant-member-init check. | Maksim Denisov | |
2024-09-11 | Store HashInfo as a field in ArtifactDigest | Maksim Denisov | |
...and adjust ArtifactDigestFactory accordingly. | |||
2024-09-11 | Remove the plain data constructor from ArtifactDigest | Maksim Denisov | |
2024-09-09 | Remove bazel_re::Digest from ArtifactDigest | Maksim Denisov | |
2024-09-09 | Replace ArtifactDigest::Create | Maksim Denisov | |
...with ArtifactDigestFactory::HashDataAs | |||
2024-09-09 | Replace ArtifactDigest::CreateFromFile | Maksim Denisov | |
...with ArtifactDigestFactory::HashFileAs | |||
2024-09-09 | Implement ArtifactDigestFactory class | Maksim Denisov | |
...that provides ways to create valid ArtifactDigests. | |||
2024-09-09 | Remove redundant operator less | Maksim Denisov | |
...from ObjectInfo and ArtifactDigest | |||
2024-08-30 | Cast ArtifactDigest to bazel_re::Digest explicitly | Maksim Denisov | |
...to simplify further refactoring. | |||
2024-08-30 | Return the IsTree flag from ArtifactDigest | Maksim Denisov | |
...and replace obvious redundant conversions to bazel_re::Digest, which were done to ensure that the digest represents a tree. | |||
2024-07-22 | Rename HashFunction methods and enums | Maksim Denisov | |
2024-07-22 | Unify tagging logic in HashFunction | Maksim Denisov | |
2024-07-22 | Pass HashFunction to ArtifactDigest::Create | Maksim Denisov | |
2024-07-22 | Use HashFunction functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
2024-07-22 | Move ObjectCAS::CreateDigest to the private space | Maksim Denisov | |
2024-07-10 | ArtifactDigest: add order | Klaus Aehlig | |
2024-03-26 | Add missing system includes | Paul Cristian Sarbu | |
Main culprits: - std::size_t, std::nullptr_t, and NULL require <cstddef> - std::move and std::forward require <utility> - unordered maps and sets require respective includes - std::for_each and std::all_of require <algorithm> | |||
2024-02-16 | ArtifactDigest: Hashing the object should not take size into account | Paul Cristian Sarbu | |
As it is common to use ArtifactDigest objects with a default value of 0, the std::hash implementation should not take the size into account. The is_tree member however should be kept in as it always needs to have a value and has no sensible default. | |||
2023-04-26 | imports: Switch to Microsoft GSL implementation | Oliver Reiche | |
... with two minor code base changes compared to previous use of gsl-lite: - dag.hpp: ActionNode::Ptr and ArtifactNode::Ptr are not wrapped in gsl::not_null<> anymore, due to lack of support for wrapping std::unique_ptr<>. More specifically, the move constructor is missing, rendering it impossible to use std::vector<>::emplace_back(). - utils/cpp/gsl.hpp: New header file added to implement the macros ExpectsAudit() and EnsureAudit(), asserts running only in debug builds, which were available in gsl-lite but are missing in MS GSL. | |||
2023-02-22 | cleanup: Fix typos in code line comments and logging messages | Paul Cristian Sarbu | |
2022-10-14 | Remove default value of ArtifactDigest::Create template parameter | Sascha 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-12 | Add copyright and license notice to all source and header files | Klaus Aehlig | |
Signed-off-by: Goetz Brasche <goetz.brasche@huawei.com> | |||
2022-09-12 | Removed ArtifactDigest is_tree() predicate | Sascha Roloff | |
2022-09-12 | Fixed tree handling in compatible mode and added regression test | Sascha Roloff | |
2022-08-05 | Modified artifact digest to provide wire digest on demand | Sascha Roloff | |
2022-06-20 | Crypto: Add and use set of globally used hash functions | Oliver Reiche | |
2022-02-22 | Initial self-hosting commit | Klaus Aehlig | |
This is the initial version of our tool that is able to build itself. In can be bootstrapped by ./bin/bootstrap.py Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> Co-authored-by: Victor Moreno <victor.moreno1@huawei.com> |