Wikipedia:Bots/Requests for approval/APersonBot 6


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Symbol keep vote.svg Approved

APersonBot 6
Operator:

Time filed: 22:10, Saturday, March 5, 2016 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Python

Source code available: https://github.com/APerson241/APersonBot/blob/master/wp-go-archiver/wp-go-archiver.py

Function overview: The bot archives WP:GO to a subpage and clears it out for a new week.

Links to relevant discussions (where appropriate):

Edit period(s): Weekly

Estimated number of pages affected: 1

Exclusion compliant (Yes/No): n/a

Already has a bot flag (Yes/No): Yes

Function details: The bot follows the directions at Template:Editnotices/Page/Wikipedia:Goings-on to archive WP:GO.

Discussion
Very straight forward, report back after running if there were any issues or complaints. — xaosflux  Talk 00:24, 6 March 2016 (UTC)

It would be nice if the bot would check whether the page is already archived (on a certain week) or not, so it could avoid double archiving. (like there) Also if the bot follows Template:Editnotices/Page/Wikipedia:Goings-on, than it should archive at 00:00:01 and not more than 2&1/2 hours later. Armbrust The Homunculus 13:28, 13 March 2016 (UTC)
 * Most recent run has completed without errors; the bot was 3 minutes late due to some MediaWiki-enforced timeouts that I only saw later in the logs. APerson (talk!) 00:07, 20 March 2016 (UTC)
 * Marking as -- slakr  \ talk / 03:33, 24 March 2016 (UTC)
 * I take it the two moves on the 13th issue has been sorted? -- slakr \ talk / 02:52, 29 March 2016 (UTC)
 * , yes, I fixed it. The cron configuration was a bit screwy, which resulted in the task being run quite late. As you can see from the last two runs, it's been doing quite fine. APerson (talk!) 02:59, 29 March 2016 (UTC)

Juuust in case. I think 14 days (on something that gets archived only twice during that period) was probably a little short. This should hopefully give a better sample, though I don't foresee any major issues if everything's fixed. =) -- slakr \ talk / 03:24, 29 March 2016 (UTC)
 * I guess I should post an explanation on here about why the most recent run was a bit late: everything went well (the cron job successfully found the file, which is an improvement over last time) except I forgot to chmod +x the actual shell file (which we're using for the first time this week). Anyway, everything should be working perfectly next time. APerson (talk!) 03:31, 3 April 2016 (UTC)
 * For some reason the bot didn't archive the page today at all. Any idea, why? Armbrust The Homunculus 22:59, 17 April 2016 (UTC)
 * Considering that the bot worked perfectly last week, I have no idea. I haven't looked at the logs yet, because I'm away from a computer that can SSH at the moment. I'll be back with an answer tomorrow. I suspect there was something funny going on with login sessions on tools, but I have no idea. APerson (talk!) 03:24, 18 April 2016 (UTC)
 * , I just confirmed that the fault was with the login session, not with the bot's code. I've logged it in again; it should be working fine for next week. Interestingly enough, task 5 also encountered some screwiness with login sessions, but there it was confirmed that login sessions were an entirely one-time issue. I hope that's also the case here. APerson (talk!) 02:01, 19 April 2016 (UTC)
 * Unfortunately, the same thing happened again. Armbrust The Homunculus 07:59, 25 April 2016 (UTC)
 * And this week again. D Armbrust The Homunculus 13:36, 2 May 2016 (UTC)
 * , I haven't fixed the login problem yet, but I'll start manually logging in until I can see why my session is disappearing. APerson (talk!) 15:15, 2 May 2016 (UTC)
 * OperatorAssistanceNeeded Did you happen to resolve the issues related to the login/session stuff? -- slakr \ talk / 02:46, 8 June 2016 (UTC)
 * , I think they have been addressed. For the most part, whenever there's been a problem with login sessions, I can point to some sort of maintenance work on the servers. Needless to say, the bot's code doesn't contain any login-related bugs. Enterprisey (talk!) (formerly APerson) 02:52, 8 June 2016 (UTC)
 * The bot made the same mistake the last two time when in "re-started" the page. It added the FPs from the previous week back to the page. (1 & 2.) Regards, Armbrust The Homunculus 09:20, 12 June 2016 (UTC)
 * Figured out why. In the past, the format was always DD MMM, but now that you're using 4 letters for the month, the bot isn't happy. I just fixed it. Enterprisey (talk!) (formerly APerson) 15:08, 12 June 2016 (UTC)
 * Seems like most of the important bugs have been fixed; any comments? Enterprisey (talk!) (formerly APerson) 03:58, 20 June 2016 (UTC)
 * Did you fix the month bug for all lengths, or just set it to assume 4? sneaky 3 letters months will stealthily hide out for a year :D — xaosflux  Talk 11:21, 25 June 2016 (UTC)
 * I fixed it for all lengths. Enterprisey (talk!) (formerly APerson) 19:30, 25 June 2016 (UTC)
 * D I think this is good to go, as this is a low volume task just wanted to check in with you if there are any other outstanding issues or feedback we've missed? — xaosflux  Talk 15:15, 26 June 2016 (UTC)
 * Nope, everything seems good. Enterprisey (talk!) (formerly APerson) 16:20, 26 June 2016 (UTC)


 * Task approved. — xaosflux  Talk 04:28, 27 June 2016 (UTC)


 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.