summaryrefslogtreecommitdiff
path: root/src/buildtool/common/artifact.hpp
AgeCommit message (Collapse)Author
2025-02-28Artifact: Use ArtifactDigestFactoryMaksim Denisov
...to remove code duplication.
2024-11-14common: Implement IWYU suggestionsPaul Cristian Sarbu
2024-10-25ObjectInfo: Fix digest creation in FromStringPaul Cristian Sarbu
The digest tree check should take into account the protocol. Also add a TODO to point out the currently needed code duplication.
2024-10-07Enable cppcoreguidelines-* checks.Maksim Denisov
2024-10-07Enable readability-redundant-member-init check.Maksim Denisov
2024-10-07Enable bugprone-exception-escape checkMaksim Denisov
2024-09-11Use ArtifactDigest to create Known ArtifactMaksim Denisov
...skipping intermediate conversions.
2024-09-11Use HashInfo to create ObjectInfo FromStringMaksim Denisov
2024-09-09Remove redundant operator lessMaksim Denisov
...from ObjectInfo and ArtifactDigest
2024-08-07Remove unused code from Artifact::ObjectInfoMaksim Denisov
Deserialization from json is used in a single test only
2024-07-10Artifact::ObjectInfo: add orderKlaus Aehlig
2024-03-26Add missing system includesPaul 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-03-15Clean up more includes and targetsPaul Cristian Sarbu
Some of the more specific issues addressed: - missing log_level target/include - header-only libs wrongly marking deps as private - missing/misplaced gsl includes
2023-11-15artifact.hpp: make ToJson and FromJson consistentAlberto Sartori
The function ToJson used `file_type` key to express the type of the artifact, on the other hand, FromJson was expecting `type`. This patch makes the two functions consistent, prefering `file_type` for historical reasons.
2023-06-06style: Use designated initializersPaul Cristian Sarbu
This feature has been introduced with C++20.
2023-03-13Artifact: No user error on object info parse failOliver Reiche
2022-10-12Add copyright and license notice to all source and header filesKlaus Aehlig
Signed-off-by: Goetz Brasche <goetz.brasche@huawei.com>
2022-08-05InstallCas: Moved install-cas code to separate libraryOliver Reiche
2022-08-05ObjectInfo: Support stringify with unknown sizeOliver Reiche
2022-08-05Modified artifact digest to provide wire digest on demandSascha Roloff
2022-07-08In install-cas be more liberal in parsing artifact identifiersKlaus Aehlig
2022-02-22Initial self-hosting commitKlaus 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>