Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Python mine #753

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open

Python mine #753

wants to merge 22 commits into from

Conversation

hroberts
Copy link
Contributor

This is the migration of the topics-mine and topics-mine-public workers from perl to python. This is almost entirely just a line by line migration, with only a few small fixes / refactors as I went. The big change is adding unit tests for all non-trivial code in mine.py. I also migrated the existing big integration test that was in test_tm_mine.t to test_mine.py.

I think test_mine.py passed at the first try once I got the test itself working, which I take as a good sign that the unit test coverage is good. I'm still nervous about plugging this directly into public topics, so I plan on turning off the worker pools and running a few production topics from the command line before turning the pools back on.

@jtotoole
Copy link
Contributor

Still knowing very little about how topics work, I don't feel qualified to opine on this at great length, but it looks well-organized and well-tested. Nice work! Looking forward to hearing how the test topics from the CLI turn out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants