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!

…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
This is necessary in particular for container images, for which taking the sha256sum does not mean anything.
This allows for easier overriding of anything that is inferred context + makes it easier to test, which is always a good sign !
@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-build-infra branch 2 times, most recently from 1582f9c to 39ae83b Compare October 27, 2025 10:31
- Avoid using checked-in fixtures for `Path.hexdigest` tests
    git automatically converts Unix-style line endings to Windows-style endings when checking out on a Windows platform. This changes the hash of text-mode binary files we use for testing `Path.hexdigest`.

    To avoid this, we simply write some data on-the fly during the test instead of relying on checked-in fixtures.

- Close file handle in `temp_file` context manager
    `NamedTemporaryFile` actually opens the created file automatically. To be consistent with `temp_directory` and the rest of the Path class, we return a Path instead. This means we now have an inaccessible open file handle. Callers then usually re-open the file manually using the path, creating a second open file handle.
    This is not a problem on UNIX systems, as the same file can have multiple open handles from the same process - this is not the case on Windows however: https://docs.python.org/3.9/library/tempfile.html#tempfile.NamedTemporaryFile

- Avoid some permissions issues
@Ishirui Ishirui force-pushed the pierrelouis.veyrenc/ACIX-1035-build-infra branch from 39ae83b to 1ac971d Compare October 27, 2025 10:39
@Ishirui Ishirui requested a review from ofek October 27, 2025 10:39
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.

3 participants