Skip to content
This repository has been archived by the owner on Sep 10, 2018. It is now read-only.

Inefficient use of downloading entire pivnet product #2

Closed
aegershman opened this issue May 7, 2018 · 5 comments
Closed

Inefficient use of downloading entire pivnet product #2

aegershman opened this issue May 7, 2018 · 5 comments
Projects

Comments

@aegershman
Copy link
Owner

In order to extract the product name (and get the corresponding product GUID from the opsman), we're downloading the entire product from pivnet & looking at the metadata. Do we have to do this? Considering all we need is the product name?

@aegershman
Copy link
Owner Author

Somewhat related: when uploading a stemcell, if opsman detects the version is already uploaded, it won't upload the stemcell again. Unless you pass in a "--force" flag.

https://github.com/pivotal-cf/om/blob/16d387b8beb661f20fc5cd5d8af5ff878b597282/commands/upload_stemcell.go#L19

@aegershman
Copy link
Owner Author

Can we just pass around the metadata.yml file as input/output so we don't have to re-download the pivot product? That way we don't have to pass down the entire pivot product? Because all I need is the exact product_version.

@aegershman
Copy link
Owner Author

Can we use some external store to save the tile metadata? Like a git resource? This might help #4 ...?

@aegershman aegershman added this to Backlog in R&D May 11, 2018
@aegershman
Copy link
Owner Author

@aegershman
Copy link
Owner Author

How can we best use the metadata of a product? https://github.com/pivotal-cf/pivnet-resource/tree/master/metadata

R&D automation moved this from Backlog to Done Jul 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
R&D
  
Done
Development

No branches or pull requests

1 participant