Bug 220966 - [NEW PORT] databases/py-mysql-replication: Pure Python Implementation of MySQL replication protocol
Summary: [NEW PORT] databases/py-mysql-replication: Pure Python Implementation of MySQ...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: feature, needs-qa
Depends on:
Blocks:
 
Reported: 2017-07-24 12:39 UTC by Jov
Modified: 2018-08-09 12:41 UTC (History)
1 user (show)

See Also:


Attachments
py-mysql-replication.shar (2.08 KB, text/plain)
2017-07-24 12:39 UTC, Jov
no flags Details
py-mysql-replication.shar (1.95 KB, text/plain)
2017-07-25 06:16 UTC, Jov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jov 2017-07-24 12:39:07 UTC
Created attachment 184664 [details]
py-mysql-replication.shar

Pure Python Implementation of MySQL replication protocol build on top of
PyMYSQL. This allow you to receive event like insert, update, delete with
their datas and raw SQL queries. Use cases:
  - MySQL to NoSQL database replication
  - MySQL to search engine replication
  - Invalidate cache when something change in database
  - Audit
  - Real time analytics

WWW: https://github.com/noplay/python-mysql-replication

QA:
portlint -AC
looks fine.

poudriere testport: 11.0R-amd64
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-07-25 04:08:11 UTC
Thank you Jov. Is there a reason this package needs to use GitHub sources over the PyPI provided source distribution? Example: are important files missing like test files?

Also, if you could implement TEST_DEPENDS and a test command/target that invokes nosetests [1] (via python-{CMD} -m nose) that would be appreciated.

[1] https://github.com/noplay/python-mysql-replication/blob/master/.travis.yml#L30
Comment 2 Jov 2017-07-25 05:59:04 UTC
(In reply to Kubilay Kocak from comment #1)
I did not find the page on pypi yesterday. I will check again.

For test, it needs setup mysql server and changes the myseql config for every supported MySQL version, so it needs a lot of work. If it is not a must, I am not going to do it right now.
Comment 3 Jov 2017-07-25 06:16:00 UTC
Created attachment 184690 [details]
py-mysql-replication.shar

changes:
1.use MASTER_SITES=CHEESESHOP instead of github
2.change WWW to pypi page
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2017-07-25 09:54:07 UTC
Not compulsory, but it would be worth adding the TEST_DEPENDS and test target so that users can invoke them easily if they'd like to. Just add a comment above do-test: saying:

# Requires mysql to be installed/configured/running
Comment 5 Tobias Kortkamp freebsd_committer freebsd_triage 2018-08-09 12:41:38 UTC
Overcome by events due to ports r473019