MantisBT - Doomseeker |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0003537 | Doomseeker | IP2C | public | 2018-10-06 11:26 | 2018-12-17 03:34 |
|
Reporter | WubTheCaptain | |
Assigned To | Zalewa | |
Priority | normal | Severity | tweak | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 1.1 | |
Target Version | 1.2 | Fixed in Version | 1.2 | |
|
Summary | 0003537: Unbake IpToCountry.dat from executable (resources.qrc), make it optional |
Description | With IpToCountry.dat being CC BY-SA 4.0 licensed (MaxMind GeoLite2), this has only one-way compatibility of binary distribution under terms of GPLv3-only. Apparently this is undesirable for Zalewa and/or Blzut3 (the maintainers), but seemingly not a blocking issue.
Additionally, an older CC BY-SA 3.0 IP2C dataset in the binary would create a license violation due to having no compatibility at all with LGPLv2.1+/GPLv2+.
Some ideas were proposed in ticket 0003512 of making this (IP2C) optional, so that binaries could be possibly distributed under LGPLv2.1+. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | 0003512 | closed | Zalewa | MaxMind GeoLite2: Update from CC BY-SA 3.0 licensed dataset to newer CC BY-SA 4.0 licensed work | related to | 0003237 | closed | WubTheCaptain | Non-free files and copyright issues in source archive | parent of | 0003543 | closed | WubTheCaptain | "This program uses GeoLite2 database..." is displayed in the About dialog regardless if the database is loaded or not | parent of | 0003548 | closed | Blzut3 | Release scripts don't bundle IP2C | related to | 0003538 | closed | Zalewa | The preferred form of IP2C database for modifications (CSV) is not currently distributed |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-10-06 11:26 | WubTheCaptain | New Issue | |
2018-10-06 11:26 | WubTheCaptain | Status | new => assigned |
2018-10-06 11:26 | WubTheCaptain | Assigned To | => Zalewa |
2018-10-06 11:27 | WubTheCaptain | Note Added: 0019934 | |
2018-10-06 11:28 | WubTheCaptain | Note Edited: 0019934 | bug_revision_view_page.php?bugnote_id=19934#r12114 |
2018-10-06 11:28 | WubTheCaptain | Relationship added | related to 0003512 |
2018-10-06 11:29 | WubTheCaptain | Status | assigned => needs testing |
2018-10-06 11:32 | WubTheCaptain | Note Edited: 0019934 | bug_revision_view_page.php?bugnote_id=19934#r12116 |
2018-10-06 11:34 | WubTheCaptain | Description Updated | bug_revision_view_page.php?rev_id=12118#r12118 |
2018-10-06 11:43 | WubTheCaptain | Relationship added | child of 0003237 |
2018-10-06 11:45 | WubTheCaptain | Description Updated | bug_revision_view_page.php?rev_id=12122#r12122 |
2018-10-06 12:00 | WubTheCaptain | Relationship added | related to 0003538 |
2018-10-06 12:03 | WubTheCaptain | Severity | feature => tweak |
2018-10-07 09:15 | Zalewa | Note Added: 0019982 | |
2018-10-07 09:26 | Zalewa | Note Added: 0019983 | |
2018-10-07 09:27 | Zalewa | Assigned To | Zalewa => Blzut3 |
2018-10-07 09:27 | Zalewa | Status | needs testing => assigned |
2018-10-07 10:52 | WubTheCaptain | Relationship added | parent of 0003543 |
2018-10-09 11:16 | WubTheCaptain | Relationship added | parent of 0003548 |
2018-10-09 11:17 | WubTheCaptain | Assigned To | Blzut3 => Zalewa |
2018-10-09 11:17 | WubTheCaptain | Status | assigned => needs testing |
2018-10-09 11:27 | WubTheCaptain | Note Added: 0020055 | |
2018-10-09 11:28 | WubTheCaptain | Note Edited: 0020055 | bug_revision_view_page.php?bugnote_id=20055#r12213 |
2018-10-09 11:33 | WubTheCaptain | Note Added: 0020056 | |
2018-10-09 11:34 | WubTheCaptain | Note Deleted: 0020056 | |
2018-10-09 11:41 | WubTheCaptain | Note Added: 0020057 | |
2018-10-09 11:41 | WubTheCaptain | Note Edited: 0020057 | bug_revision_view_page.php?bugnote_id=20057#r12215 |
2018-10-09 11:43 | WubTheCaptain | Note Edited: 0020057 | bug_revision_view_page.php?bugnote_id=20057#r12216 |
2018-10-09 11:43 | WubTheCaptain | Note Edited: 0020057 | bug_revision_view_page.php?bugnote_id=20057#r12217 |
2018-10-09 19:27 | Zalewa | Note Added: 0020066 | |
2018-10-09 19:27 | Zalewa | Status | needs testing => assigned |
2018-10-11 19:12 | Zalewa | Note Added: 0020081 | |
2018-10-11 19:12 | Zalewa | Status | assigned => needs testing |
2018-10-11 19:12 | Zalewa | Note Edited: 0020081 | bug_revision_view_page.php?bugnote_id=20081#r12244 |
2018-10-12 20:57 | WubTheCaptain | Note Added: 0020087 | |
2018-10-12 20:57 | WubTheCaptain | Status | needs testing => resolved |
2018-10-12 20:57 | WubTheCaptain | Fixed in Version | => 1.2 |
2018-10-12 20:57 | WubTheCaptain | Resolution | open => fixed |
2018-10-12 20:57 | WubTheCaptain | Relationship replaced | child of 0003548 |
2018-10-13 16:35 | WubTheCaptain | Relationship replaced | parent of 0003548 |
2018-10-13 17:26 | WubTheCaptain | Relationship replaced | related to 0003237 |
2018-10-27 22:53 | WubTheCaptain | Status | resolved => closed |
2018-12-17 03:34 | WubTheCaptain | Category | Suggestion => IP2C |
Notes |
|
(0019934)
|
WubTheCaptain
|
2018-10-06 11:27
(edited on: 2018-10-06 11:32) |
|
0003512:0019932:
Quote from Zalewa
Quote from Zalewa
6. Remove IpToCountry.dat from resources.qrc
7. Get Doomseeker into state where it can run without the IP2C database altogether. The '?' flags shouldn't be displayed. Instead no flags should be displayed apart the icons for LAN and localhost servers.
8. Ensure Doomseeker is capable of reading the personally downloaded IP2C database from the "IP2C update" feature without having any other copy of the database lying around. The country flags should reappear.
9. Add IpToCountry.dat from the repo to Doomseeker's distribution/installation as a separate file
10. Ensure Doomseeker will read this file if there's no personally downloaded IP2C database.
11. Ensure Doomseeker will read the personally downloaded IP2C database instead of the preinstalled file if such downloaded IP2C database is ready.
This part should be covered by this commit:'https://bitbucket.org/Doomseeker/doomseeker/commits/c0cce7ea738d5570e12a0d4adfd26ffe672cb7c0 [^]'
|
|
|
(0019982)
|
Zalewa
|
2018-10-07 09:15
|
|
|
|
(0019983)
|
Zalewa
|
2018-10-07 09:26
|
|
|
|
(0020055)
|
WubTheCaptain
|
2018-10-09 11:27
(edited on: 2018-10-09 11:28) |
|
[11:26:07] Please wait. IP2C database is being read. This may take some time.
[11:26:07] Parsing IP2C database: data:IpToCountry.dat
[11:26:07] Unable to open IP2C file.
[11:26:08] Init finished.
================================
[11:26:08] IP2C parsing thread has finished.
[11:26:08] Failed to read IP2C database. Reverting...
[11:26:08] IP2C revert attempt failed. Nothing to go back to.
[11:26:08] Trying to use preinstalled IP2C database.
[11:26:08] Parsing IP2C database: data:IpToCountry.dat
[11:26:08] Unable to open IP2C file.
[11:26:08] Total refresh initialized!
[11:26:08] IP2C parsing thread has finished.
[11:26:08] Failed to read IP2C fallback. Stopping.
Probably as intended? Although, the paths are not obvious.
|
|
|
(0020057)
|
WubTheCaptain
|
2018-10-09 11:41
(edited on: 2018-10-09 11:43) |
|
There's a caveat to know here:
- Qt4 uses `$HOME/.local/share/data/doomseeker`.
- Qt5 uses `$HOME/.local/share/doomseeker`.
Migrating from Qt4 to Qt5 will not find the IpToCountry.dat file again. Unlike demos directory, no symlink is created for the transition. This might be acceptable, though.
|
|
|
(0020066)
|
Zalewa
|
2018-10-09 19:27
|
|
Quote from WubTheCaptain
[11:26:07] Parsing IP2C database: data:IpToCountry.dat
I think it would be preferable to print the actual path from which the database is loaded. I'll amend that.
Quote from WubTheCaptain
Migrating from Qt4 to Qt5 will not find the IpToCountry.dat file again. Unlike demos directory, no symlink is created for the transition. This might be acceptable, though.
We trust Qt with this one. I don't think we have code that migrates from Qt4 to Qt5. We only have code that migrates from pre-1.2 our own paths schema to 1.2 paths that come from QStandardPaths (Qt5) / QDesktopServices (Qt4).
This discrepancy may be a problem, though. Perhaps it deserves a separate ticket as it may cause people to lose data when they migrate from Qt4 version to Qt5. |
|
|
(0020081)
|
Zalewa
|
2018-10-11 19:12
|
|
|
|
|
[20:53:05] Initializing IP2C database.
[20:53:05] Initializing passwords configuration file.
[20:53:05] Initializing configuration for plugins.
[20:53:05] Initializing IRC configuration file.
[20:53:05] Setting IRC INI file: /home/wub/.config/doomseeker/doomseeker-irc.ini
[20:53:05] Starting refreshing thread.
[20:53:05] Preparing GUI.
[20:53:05] Did not find any IP2C database. IP2C functionality will be disabled.
[20:53:05] You may install an IP2C database from the "File" menu.
[20:53:05] Init finished.
================================
[20:53:05] Total refresh initialized!
[20:53:08] Finished refreshing. Servers on the list: 480 (+1 custom, +0 LAN). Players: 124. |
|