-
Notifications
You must be signed in to change notification settings - Fork 34
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
PackageStatus message should define a downloading state and include additional metadata #204
Comments
I think
I would like to understand this part better. Is there a reason we keep it an arbitrary open map of attributes instead of standardizing? |
My thought is that a generic map will make it easier for a client to add information about any stage of managing package lifecycles, not just downloading. |
PackageStatus messages should include an optional
DOWNLOADING
status that may be used by a client to signal that it is downloading the package.Additionally we allow for an optional metadata attribute (
map[string]string
) to allow additional details related to the state to be included, such as a message, download_rate, download_percent, etc.metadata should also be optional for the existing states (
INSTALLED
,INSTALLING
,INSTALL_FAILED
) and may include relevant information.This will allow users to determine if the install is taking a long time due to a network issue instead of only having the
INSTALLING
state appear.The text was updated successfully, but these errors were encountered: