You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is highly desired for a SLATE customer to always use the latest and greatest SLATE client when performing actions against the API server.
Many other software clients out there in the world include an update message like gcloud for example:
$ gcloud <some comand>Updates are available for some Google Cloud CLI components. To install them,please run: $ gcloud components update<command output>
I considered this when originally designing the update mechanism, but rejected it, as it would require an extra network round-trip on every program startup/interactive command, and at the time it seemed like the extra delay would be a poor trade-off for the rare case of the client needing to be updated. It also seemed that it would be annoying to the user to see such a message repeatedly if they do not immediately want to drop what they are doing and install an update, but keeping track of the last time a check was performed would require extra config data, etc. (like the proposed client.conf).
In general, it seems to me that it would make more sense to detect actual errors (e.g. ingress manifest does not apply cleanly), and perhaps recommend upgrading if these occur, rather than constantly pester the user about updates which may have no relevance.
Background
We've had a few customers run an old SLATE client against their infrastructure and the API server that resulted in breakage.
The suggestion
It is highly desired for a SLATE customer to always use the latest and greatest SLATE client when performing actions against the API server.
Many other software clients out there in the world include an update message like
gcloud
for example:Can we do something similar with the
slate
client? Maybe have it check for updates from https://github.com/slateci/slate-client-server/releases/latest.and let the customer know they should update before performing any operations?
~/.slate/client.conf
file. Something like:The text was updated successfully, but these errors were encountered: