Open AbdealiLoKo opened 8 years ago
@jayvdb @drtrigon As mentioned earlier the wikibot
module is messy. What are your suggestions on how to handle this ?
Should scripts be in file-metadata ? Should we make another repo in this github org ? Should it be in phabricator ?
Also, how do we write it better ? I believe we need a INI like config file to tune the values used by the bot. Does that sound good ? It would have configs like min_threshold_black_white_mse
, min_threshold_face_dlib
and so on.
I think to remember that we concluded to create a repo in our github org - don't remember name proposals right now need to check wm-bot logs.
INI should be a python script to import or run IMO. Despite that sound like a plan. Pywikibot does the same, right?
Definitely another repo for the script, so that this repo is agnostic to how it is being used.
The script should use ordinary Python config file and command line libraries (or improved wrappers). Those components of Pywikibot can be disabled, e.g. by setting PYWIKIBOT2_NO_USER_CONFIG
, or wrapped with saner standardised implementation.
Name it e.g. pywikibot-catfiles/bot-file-metadata
.
file-metadata.integrations.pywikibot
sort of package