SuLab / GeneWikiCentral

GeneWiki Organization
MIT License
5 stars 2 forks source link

repair and automate the User:ProteinBoxBot/Bot_Status page #124

Open andrewsu opened 4 years ago

andrewsu commented 4 years ago

It appears that this code https://github.com/SuLab/scheduled-bots/blob/master/scheduled_bots/talk_jenkins/run.py is designed to update this WD talk page https://www.wikidata.org/wiki/User:ProteinBoxBot/Bot_Status. But it looks like it hasn't been run in quite some time. And I can already see at least one minor change in the code that would need to be made:

jobs = server.get_jobs(view_name="Running")

changed to

jobs = server.get_jobs(view_name="PRODUCTION").

But this code needs to be properly debugged and tested, and then put on a schedule (in jenkins itself?)