cloudLogOffline icon indicating copy to clipboard operation
cloudLogOffline copied to clipboard

Draft: Repeater DB changes

Open dg0yt opened this issue 1 year ago • 6 comments
trafficstars

For feedback. (The whole C++ file. I didn't optimize for a minimal diff but for a better structure.) In particular: caching. The download is app. 5 MB, and the server is taken several seconds to respond.

The class (or file) still has many responsibilities.

  • Model for QML view
  • Importer for repeater list
  • Network access
  • Positioning access and locator conversion

Positioning and locator conversion is used in the settings view, independent of the repeater list. I would suggest ot break it up a little bit. Individual concerns could also be tested in CI (locator conversion, JSON import).

dg0yt avatar Apr 21 '24 15:04 dg0yt

With the current qmake project structure, it is not possible to add any tests: Each target must be in a separate directory, but the main target is already at the top level. I know how to move things around at the plain text file level, but I don't know the impact on future interactive project changes in Qt Creator.

dg0yt avatar May 08 '24 05:05 dg0yt

Best would be if we move the project to cmake ...

myzinsky avatar May 11 '24 09:05 myzinsky

Best would be if we move the project to cmake ...

Okay, I'm using CMake already since Qt5. It has some implications for generating bundle-style installations (ios and android app packages), and for IDE support (but I edit the cmake files directly).

dg0yt avatar May 13 '24 06:05 dg0yt

Best would be if we move the project to cmake ...

Started in https://github.com/myzinsky/cloudLogOffline/pull/120.

dg0yt avatar Aug 17 '24 09:08 dg0yt

Just tell me when I should merge it :-)

myzinsky avatar Aug 18 '24 17:08 myzinsky

I'm about to bring it in mergeable state. It fixes #119 which really deserves somes priority.

dg0yt avatar Aug 18 '24 17:08 dg0yt