Skip to content

Add inventory support for arm64 linux artifacts#230

Merged
runesoerensen merged 12 commits intomainfrom
refactor-utility-functions
Mar 14, 2024
Merged

Add inventory support for arm64 linux artifacts#230
runesoerensen merged 12 commits intomainfrom
refactor-utility-functions

Conversation

@runesoerensen
Copy link
Copy Markdown
Contributor

@runesoerensen runesoerensen commented Mar 8, 2024

This PR builds on #229, and updates the inventory utils to support artifacts for multiple architectures and operating systems.

  • Artifact now implements the Hash trait.
  • Artifact#hash is implemented to rely solely on the sha_checksum value. I think it's likely safe to assume the checksum values will be unique for each Artifact entry, but please share any concerns regarding that approach.
    • This should be considered carefully as this will of course be used extensively throughout both the inventory utils, and the buildpack itself, for cache invalidation, metadata etc.
  • The inventory.toml file includes quite a few additions as well. 3f83106 added aarch64 artifacts for all Go versions >= go1.8.5.

@runesoerensen runesoerensen changed the title Refactor utility functions Refactor inventory utility functions Mar 8, 2024
@runesoerensen runesoerensen changed the title Refactor inventory utility functions Support linux arm64 artifacts Mar 8, 2024
@runesoerensen runesoerensen self-assigned this Mar 8, 2024
@runesoerensen runesoerensen force-pushed the refactor-utility-functions branch from 065c546 to 3f83106 Compare March 9, 2024 06:52
@runesoerensen runesoerensen changed the title Support linux arm64 artifacts Add inventory support for arm64 linux artifacts Mar 9, 2024
@runesoerensen runesoerensen added enhancement New feature or request rust Pull requests that update Rust code labels Mar 9, 2024
@runesoerensen runesoerensen marked this pull request as ready for review March 9, 2024 11:21
@runesoerensen runesoerensen requested review from a team and joshwlewis as code owners March 9, 2024 11:21
@runesoerensen runesoerensen mentioned this pull request Mar 9, 2024
@edmorley edmorley removed the request for review from a team March 12, 2024 10:51
@runesoerensen runesoerensen force-pushed the refactor-artifact-architecture branch from 3005bc3 to e5dcf1d Compare March 12, 2024 15:53
@runesoerensen runesoerensen force-pushed the refactor-utility-functions branch from be656f8 to 30445f6 Compare March 12, 2024 15:54
@runesoerensen runesoerensen force-pushed the refactor-utility-functions branch 2 times, most recently from 6be76a9 to f04aeff Compare March 13, 2024 01:50
Base automatically changed from refactor-artifact-architecture to main March 13, 2024 13:57
@runesoerensen runesoerensen force-pushed the refactor-utility-functions branch from 51a976d to 31976eb Compare March 13, 2024 14:05
@runesoerensen runesoerensen mentioned this pull request Mar 13, 2024
@runesoerensen runesoerensen merged commit cda4d1e into main Mar 14, 2024
@runesoerensen runesoerensen deleted the refactor-utility-functions branch March 14, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants