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

Scheduled Downtime #37

Open
benortiz opened this issue Apr 7, 2016 · 7 comments
Open

Scheduled Downtime #37

benortiz opened this issue Apr 7, 2016 · 7 comments

Comments

@benortiz
Copy link

benortiz commented Apr 7, 2016

I'd like to be able to specify a time in the future for when scheduled maintenance to occur. I'd want it to automatically switch to a status message at a given time. Perhaps this would work best with the upcoming version based on the github API.

@jayfk jayfk added the feature label Jul 8, 2016
@jayfk jayfk added the approved label Aug 26, 2016
@jayfk
Copy link
Owner

jayfk commented Aug 26, 2016

Wouldn't you want an extra box informing a visitor that a maintenance is about to happen at X?

screen shot 2016-08-26 at 20 41 58

@caleuanhopkins
Copy link

has this been added in already?

@jayfk
Copy link
Owner

jayfk commented Oct 14, 2016

has this been added in already?

No.

@caleuanhopkins
Copy link

ah cool, sorry your screenshot looks like it may have already been implemented. +1 from me for this feature 👍

@treed593
Copy link

treed593 commented Nov 8, 2016

+1

@Hackzzila
Copy link

Is there any ETA on this?

@mrrsm
Copy link
Contributor

mrrsm commented Jul 16, 2020

I'm taking a crack at this right now and have a POC done on a branch right now.

Maintenance windows are different then how other types are handled as you usually need a start time and end time rather then just using an open issue as the start time and the time of the updates as time markers.

I handled this by using the title formatted as "Start Date/Time - End Date/Time" with the labels to mark service and that is was a maintenance window. You should be able to use any time format that is parseable by python-dateutil. This adds the blue notification box as @jayfk had shown in his mockup. You will need to run an update once you are in the time window of the maintenance window and the status will change to "Maintenance". I still need to do a bit more testing before I feel comfortable with these changes and PR them.

If anyone has any feedback or ideas on how to make it better before I add a PR feel free to post them.

Example of maintenance window
Example of multiple maintenance window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants