Skip to content

Conversation

Ishirui
Copy link
Contributor

@Ishirui Ishirui commented Sep 9, 2025

No description provided.

@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-git-related-commands-classes branch 3 times, most recently from 6456bbc to 5d62a2e Compare September 11, 2025 09:53
@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-build-infra branch from 1422caf to 18538c1 Compare September 11, 2025 10:02
@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-git-related-commands-classes branch from 5d62a2e to 73a49be Compare September 11, 2025 16:23
@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-build-infra branch 3 times, most recently from f13089c to bb0d5ba Compare September 15, 2025 12:48
@Ishirui Ishirui changed the title [ACIX-1035] Create BuildMetadata class for keeping track of build artifact's metadata [ACIX-1061] Create BuildMetadata class for keeping track of build artifact's metadata Sep 15, 2025
@Ishirui Ishirui marked this pull request as ready for review September 16, 2025 16:43
@Ishirui Ishirui requested a review from a team as a code owner September 16, 2025 16:43
@Ishirui Ishirui requested a review from ofek September 16, 2025 16:43
@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-build-infra branch from 6f62ef3 to 33e0775 Compare September 17, 2025 11:11
@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-git-related-commands-classes branch from 528e48d to 2100703 Compare September 23, 2025 13:20
Base automatically changed from pierrelouis.veyrenc/ACIX-1035-git-related-commands-classes to main September 26, 2025 08:44
@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-build-infra branch 4 times, most recently from 403ba8a to 9b7c2cc Compare September 29, 2025 13:32
@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-build-infra branch from 9b7c2cc to 1075e38 Compare October 13, 2025 11:55
Copy link
Contributor

@ofek ofek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

CFG = auto() # Configuration files tarball
DOCKER = auto() # Docker container image

def validate_for_type(self, artifact_type: ArtifactType) -> None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes me think that we should rely more on type checking and have something like the concept of variants for each of the high-level types rather than a separate format enumeration.

raise ValueError(msg)

@classmethod
def this(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's pass everything required to the constructor instead.

…ilename`

This makes the "mostly static" part of the filename as long as possible (ordering fields by how likely they are to change)
@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-build-infra branch from 2cdc866 to 67227fa Compare October 20, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants