MantisBT - Doomseeker |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0003310 | Doomseeker | [All Projects] Cleanup | public | 2017-10-22 23:05 | 2020-06-05 07:41 |
|
Reporter | WubTheCaptain | |
Assigned To | | |
Priority | low | Severity | tweak | Reproducibility | N/A |
Status | closed | Resolution | suspended | |
Platform | | OS | | OS Version | |
Product Version | 1.1 | |
Target Version | | Fixed in Version | | |
|
Summary | 0003310: qt-json dependency is duplicated to different files, deduplicate it |
Description | qt-json (aka Eeli Reilin's JSON library) has code duplication in the Doomseeker source distribution: Once for Doomseeker, and another time for Wadseeker.
I suggest this to be convenience copy to be deduplicated under dependencies directory. |
Steps To Reproduce | $ diff -s src/core/json.cpp src/wadseeker/protocols/json.cpp
Files src/core/json.cpp and src/wadseeker/protocols/json.cpp are identical
$ diff -s src/core/json.h src/wadseeker/protocols/json.h
Files src/core/json.h and src/wadseeker/protocols/json.h are identical |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | 0003238 | closed | | Split Doomseeker's build dependencies off source archive distribution, distribute seperately | related to | 0003796 | closed | WubTheCaptain | qt-json dependency is duplicated to different files (2nd report) | child of | 0003246 | acknowledged | | Debian packaging |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-10-22 23:05 | WubTheCaptain | New Issue | |
2017-10-22 23:05 | WubTheCaptain | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=11185#r11185 |
2017-10-22 23:05 | WubTheCaptain | Relationship added | child of 0003246 |
2017-10-22 23:13 | WubTheCaptain | Note Added: 0018614 | |
2017-10-22 23:21 | WubTheCaptain | Summary | qt-json dependency is duplicated to different files => qt-json dependency is duplicated to different files, deduplicate it |
2017-10-25 00:32 | WubTheCaptain | Relationship added | related to 0003238 |
2017-11-04 09:21 | Zalewa | Note Added: 0018762 | |
2017-11-04 15:54 | WubTheCaptain | Note Added: 0018770 | |
2017-11-04 15:54 | WubTheCaptain | Status | new => closed |
2017-11-04 15:54 | WubTheCaptain | Assigned To | => WubTheCaptain |
2017-11-04 15:54 | WubTheCaptain | Resolution | open => suspended |
2017-11-04 15:56 | WubTheCaptain | Assigned To | WubTheCaptain => |
2020-06-05 07:34 | WubTheCaptain | Category | Suggestion => Cleanup |
2020-06-05 07:41 | WubTheCaptain | Relationship added | related to 0003796 |
Notes |
|
|
I gave this a little bit of more thought, and it may be harder to do. Ideally, it'd be a system library to package. |
|
|
(0018762)
|
Zalewa
|
2017-11-04 09:21
|
|
These files are never touched because the standard they implement is complete and finite. These files are necessary to build Wadseeker and Doomseeker. If these files were to be moved out of Wadseeker source directory, building a valid Wadseeker source tarball would be that much harder. I also don't want to expose this as WADSEEKER_API because providing JSON features is not the goal of Wadseeker. For this reasons I'm inclined against making any changes. |
|
|
|
I thought so too. Ideally it'd be a dependency to install and build seperately, choosing to use system library when available.
I'll close this now and think later how to better handle this specific issue for Debian packaging. |
|