This is maintainer.py and it's dependencies:
censure.py
maintcont.py
rciw.py
I think this should be moved to a seperate package, which depends on pywikibot.
Version: core-(2.0)
Severity: enhancement
This is maintainer.py and it's dependencies:
censure.py
maintcont.py
rciw.py
I think this should be moved to a seperate package, which depends on pywikibot.
Version: core-(2.0)
Severity: enhancement
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Porting maintainer.py et al to pywikibot-core from compat. | pywikibot/core | master | +470 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T72936 Important tasks to be solved (tracking) | |||
Open | Feature | None | T57880 Functionality existing in compat but missing from core (tracking) | ||
Declined | None | T66839 Port maintainer.py et al to core and move to separate package |
Change 198546 had a related patch set uploaded (by Prianka):
Porting maintainer.py et al to pywikibot-core from compat.
How do we use/test this?
After installing the irclib package, the bot starts up with
$ python pwb.py scripts/maintainer/maintcont.py WARNING: Type of 'console_encoding' changed Was: <type 'str'> Now: <type 'unicode'> worker list: --------------------
I can then see that 'maintcont' has joined irc.freenode.net
/msg maintcont active /msg maintcont workerjoin foo 07:05 <maintcont> accepted 07:05 <maintcont> tasklist rciw|censure
and on the console
worker list: -------------------- ('worker got, name:', 'jayvdb', 'job:', 'foo') worker list: ('*', 'jayvdb', 'has been removed') --------------------
how do we get it to do anything more than that?
As with T66848, I think this should not go into the main repository but an external one which has pywikibot as dependency.
Change 198546 abandoned by Xqt:
Porting maintainer.py et al to pywikibot-core from compat.
Reason:
No idea for what tis package is good for. Please reopen if you need or maintain it.