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

Include expected download file size in update-center.json #500

Merged
merged 5 commits into from
Apr 27, 2021

Conversation

daniel-beck
Copy link
Contributor

@daniel-beck daniel-beck commented Mar 20, 2021

Add size to JsonFile and ArtifactMetadata, and getSize() to PluginUpdateCenterEntry, advertising download file size. This could be used to optimize download processes or show detailed download progress.

Additionally some cleanup that made sense to do while here:

  • Rename Digests to ArtifactMetadata to support expanded scope
  • Move timestamp from ArtifactCoordinates to ArtifactMetadata
  • Remove unused classifier field from ArtifactCoordinates

@daniel-beck daniel-beck added the enhancement This is an enhancement for the tool or wrapper scripts, typically adding features. label Mar 21, 2021
@jvz
Copy link
Contributor

jvz commented Apr 26, 2021

Ooh, this could enable some optimizations in https://github.com/jenkins-infra/usage-in-plugins to better plan downloads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement for the tool or wrapper scripts, typically adding features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants