Open ferventcoder opened 9 years ago
This involves work with the server side as well.
One of the many reasons for this is to less confuse users like me figuring out the cause of problems, for instance when today figuring out the cause for the behaviour I will quote at the bottom of this comment.
I started the searches below to find out some mentioned https://status.chocolatey.org that had the maintenance Window then got a response when tweeting about it and getting directed to this issue.
I will link to this issue from some related issues during my search so it will be easier for others to find this issue and upvote it.
Since https://status.chocolatey.org/ knows about status, I guess that by now a bit of the server side work already is in place making it a tiny bit easier to add a feature like this (which likely is not easy to write test code for given there is client-server interaction involved).
Maybe split this into an approach of smaller steps like:
choco
suggest to look at https://status.chocolatey.orgchoco
interrogate server side of https://status.chocolatey.org and inform of a current maintenance window.The searches I used were for issues containing:
They were based on this choco
output:
C:\bin\bin>choco upgrade --yes WakeMeOnLan
Chocolatey v0.11.3
Upgrading the following packages:
WakeMeOnLan
By upgrading, you accept licenses for the packages.
WakeMeOnLan is not installed. Installing...
WakeMeOnLan not installed. An error occurred during installation:
The remote server returned an error: (503) Server Unavailable. Service Unavailable
WakeMeOnLan package files upgrade failed with exit code 1. Performing other installation steps.
The upgrade of WakeMeOnLan was NOT successful.
WakeMeOnLan not installed. An error occurred during installation:
The remote server returned an error: (503) Server Unavailable. Service Unavailable
Chocolatey upgraded 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- WakeMeOnLan (exited 1) - WakeMeOnLan not installed. An error occurred during installation:
The remote server returned an error: (503) Server Unavailable. Service Unavailable
C:\bin\bin>choco upgrade --yes WakeMeOnLan
Chocolatey v0.11.3
Upgrading the following packages:
WakeMeOnLan
By upgrading, you accept licenses for the packages.
WakeMeOnLan is not installed. Installing...
WakeMeOnLan not installed. An error occurred during installation:
The operation has timed out
WakeMeOnLan package files upgrade failed with exit code 1. Performing other installation steps.
The upgrade of WakeMeOnLan was NOT successful.
WakeMeOnLan not installed. An error occurred during installation:
The operation has timed out
Chocolatey upgraded 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- WakeMeOnLan (exited 1) - WakeMeOnLan not installed. An error occurred during installation:
The operation has timed out
--jeroen
And display them to user.