Maintenance Issue creator #444
Unanswered
modem7
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@AnandChowdhary - Hopefully this will help people to create scheduled maintenance issues like: #267
An easy way to generate the start/end string in bash for the ISO datetime is:
date +"%Y-%m-%dT%H:%M:%S%z"
Output:
2021-09-14T11:02:48+0100
This will also append the appropriate timezone.
Have tested this successfully here: modem7/Status#31
Alternatively, if you don't have a terminal to hand:
I've created a (probably poorly written) script that has everything required w/ appropriate TZ and some Github text formatting to create a maintenance issue.
https://rextester.com/WAEULK24722
Just edit the required parts:
![image](https://user-images.githubusercontent.com/4349962/133317458-3763f8cc-5a95-4afd-84cb-d2498c30904b.png)
And the template will be created for a straight copy and paste into github issue. All you need to do is change the tag to "maintenance".
![image](https://user-images.githubusercontent.com/4349962/133327654-518e26bd-e696-4c04-aef5-974cb32f1823.png)
Example in issues:
![image](https://user-images.githubusercontent.com/4349962/133320427-18ea9b81-6e32-42f8-8654-70f882af5348.png)
Example in status page:
![image](https://user-images.githubusercontent.com/4349962/133321779-b6c61ea0-f2f5-44df-990b-18a4039d6725.png)
If you want to host the script yourself:
Beta Was this translation helpful? Give feedback.
All reactions