Page MenuHomePhabricator

Add python3 support for ElectionBot
Closed, DeclinedPublic

Event Timeline

MarcoAurelio added subscribers: Rxy, MarcoAurelio.

@Rxy said this needs to be done by the end of this year or earlier.

I see one php script only. This requests seems invalid.

The source code for this bot is yet not public. We need to make sure no private data is in the python files before publishing it.

The source code for this bot is yet not public. We need to make sure no private data is in the python files before publishing it.

I see. Can you move the private part as constants at the top of the python file and use them inside the script. Then publish the scripts without these parts to be converted. You can add the hidden parts after that.

Or move these parts into a config file and use ConfigParser to read the data. The config file can be kept private.

I'd love if @Rxy could help me. My Python coding is horrible, and the tools.stewardbots project is a total and absolute mess of files and processes. It looks even gerrit patches reviewed and merged must be manually copied to some hidden folders where the working code is hosted. Madness.

Legoktm changed the task status from Open to Stalled.Jan 17 2020, 10:34 AM
Legoktm subscribed.

Stalled until the source code can be made public

ElectionBot functionality is being replaced by wm-bot.