skylines
skylines copied to clipboard
Add ogn integration [WIP]
Work in progress, not finished. The old back-end code is ogn-skylines-gateway, it forwards fixes from OGN to SkyLines via the SkyLines-protocol.
edit: ogn-skylines-gateway was integrated in this patch at skylines/tracking/ogn_gateway.py. Instead of forwarding the fixes, it writes them directly to the database.
This code is broken because SkyLines is written in python 2.x but python-ogn-client is a python3-only library. @Turbo87 Do you have an idea how to access the SkyLines-database from a program written in python3? Otherwise I would have to port python-ogn-client to python2.
Do you have an idea how to access the SkyLines-database from a program written in python3?
I'm assuming the same way it works in python2 via SQLAlchemy.
Otherwise I would have to port python-ogn-client to python2.
I'm not familiar with that codebase of that project. How much of a burden would that be? I guess we should eventually port SkyLines to python3, but I'd like to finish the Ember port before attempting anything like that. Last time I looked there were a few dependencies that were not ported to python3 yet.
If backporting the dependency is too much then maybe consider not doing this at all. This PR has been now open for more than 4 years.