Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a utility function to the tile package for reading metadata from a remote tile file #434

Conversation

crhntr
Copy link
Member

@crhntr crhntr commented Aug 17, 2023

This will be helpful for making kiln test tile revisions against recently released tiles.

I intend to use this on a few upcoming features but am adding it now because this function is a helpful utility that TAS Operability may get value from.

I intentionally did not use the pivnet package because we use various versions of that module in this package. Once #318 is merged, we may want to re-evaluate this API. As it is, this implementation might work with Artifactory.

this refactor is in reponse to the Slack comment "this resilient enough to lots of things that might go wrong?"
reffering to the previous GitMetadataSHA implementation

I agree it was not simple. I hope this is better.
this was required to make the builder.ReleaseManifestReader.Read method not require an billy.FS
also allows upload of compiled releases
this reduces the responsibility of the builder package
it is no longer used in the local release source both rely on the tarball loading from the cargo package
…p.Request

this is so the server can be something other than TanzuNet, maybe artifactory?
…oductFile

this new name better aligns with the generality of this utility
@cf-gitbot
Copy link
Member

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@crhntr
Copy link
Member Author

crhntr commented Aug 17, 2023

I accidentally used the wrong base branch.

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