Page MenuHomePhabricator

daemonize module not migrated from compat
Closed, ResolvedPublic

Description

bot.py imports daemonize , which was a custom module in compat.

In core, its use was migrated in December 2008, but the module wasnt included.
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/6136

I incorrectly added package 'daemonize' https://pypi.python.org/pypi/daemonize as a dependency in September 2014 https://gerrit.wikimedia.org/r/#/c/159269/

Event Timeline

jayvdb claimed this task.
jayvdb raised the priority of this task from to Needs Triage.
jayvdb updated the task description. (Show Details)
jayvdb subscribed.
gerritbot subscribed.

Change 190696 had a related patch set uploaded (by John Vandenberg):
Import daemonize from compat

https://gerrit.wikimedia.org/r/190696

Patch-For-Review

Change 190697 had a related patch set uploaded (by John Vandenberg):
Use pywikibot.daemonize instead of external package

https://gerrit.wikimedia.org/r/190697

Patch-For-Review

jayvdb triaged this task as High priority.Apr 9 2015, 6:09 AM

setup.py and requirements.txt currently install an unused package. As a result, fixing this is a way to speed up 3 travis jobs per builds, even if it is only a marginal improvement.

Restricted Application added a subscriber: Unknown Object (MLST). · View Herald TranscriptApr 9 2015, 6:09 AM

Change 190696 merged by jenkins-bot:
Import daemonize from compat

https://gerrit.wikimedia.org/r/190696

Change 190697 merged by jenkins-bot:
Use pywikibot.daemonize instead of external package

https://gerrit.wikimedia.org/r/190697

Ladsgroup removed a project: Patch-For-Review.
Ladsgroup set Security to None.