[patchmanager.cpp] Fix-up release 3.2.10 ⇒ 3.2.11#451
Conversation
This was introduced by e30292b#diff-df38830cae3d3051528c63a2740fe3b0b4ec2c6b59aadab35dce5a1b6e995dd4R1016-R1035 I still do not understand the purpose of this addition, specifically in the light of the comment(s) stating *"probably dead code, need to investigate"*: It sure is, as these two newly introduced classes do not contain any code at all. Likely this is a combination of my lack of understanding with these comments lacking information needed to understand the purpose.
|
Sorry about that, I probably lapsed in a conflict merge or so. |
|
Nah, so what happens is that qdoc warns about undocumented classes and methods. But one can only document in .cpp files, not header files. So I tried what happens if I add a stub/empty implementation. Apparently a stupid move - (although it does work wrt. generating documentation). |
|
It's probably best to remove everything including the doc comment and live with the qdoc complaints for now. |
O.K., thank you for explaining the reason for these two empty method stubs.
… we can settle on a proper way to make the compiler and By the help of your explanation, I also also see now, that creating these two dummy methods must follow the corresponding object definitions in
With an strong emphasis on "for now", I do concur, so I can prepare a release now. But in general I do not think it was "apparently a stupid move", it just lacked a introductory comment line stating: After having written this, I start to see your point: Why not let Furthermore, your commit db2e8f8 contradicts the little C++ know-how I (believe to) have: Why would that need a semicolon, specifically at this location? And if it is really required, why only for the second stub, but not also the first one? P.S.: Note that it compiled fine after each commit in this PR, even though I cannot believe the code was correct in all these intermediate states, which brings me back to …
|
- public slots: void activation(const QString & patch, const QString & version); - signals: void easterReceived(const QString & easterText);
|
@nephros, are you O.K. with these three, little changes in comments: https://github.com/sailfishos-patches/patchmanager/pull/451/files#diff-a43ca147b12960521ec92e86439aecdb612da40b4573a5f65f62dc4430e70d22 Edit: Arrgh, this is not correct:
I should not try to seriously review C++ code: with so little know-how, the process and its result is hell for me and the readers of my "analyses": Convoluted, insecure etc. I will not try to decide how to proceed tonight, after all this back and forth: Do you have a reasonable suggestion at hand (take your time, quick shots may backfire, as we have seen here)? Less important side notes:
|
|
About qdoc warnings failing a CI run: no it doesn't. The |
|
About the semicolon: The failing snippet is: which is a syntax error or at least worth a warning. db2e8f8 removes the semicolon. |
Reverts most of 054a5bc Reference: #451 (comment)
Olf0
left a comment
There was a problem hiding this comment.
Luckily I thought twice before merging: The release version increase was missing!
|
This release is dreaded: Now the CI run failed with an "out of disk space" error for the first time. I will have to split the steps, which use different docker images, into multiple jobs. 😦 Luckily the first rounds of compilation went fine, so tested compiling PM 3.2.11 in my PM-testing repo at the SFOS-OBS and ultimately in @b100dian and @nephros, I would appreciate a little testing of Patchmanager 3.2.11 from |
After a few days have passed, I dared to submit Patchmanager 3.2.11 to the SailfishOS:Chum repository proper. AFAICS, no complaints, yet. |
…452) * [patchmanager.cpp] Reintroduce two dummy methods for documentation purposes only Reference: The core aspect of the whole back and forth in PR #451: #451 * [patchmanager.cpp] Be concise documenting options / switches / output * [patchmanager.cpp] Rectify indention and trailing spaces * [patchmanager.cpp] Document the consequence "which breaks the CI runs" --------- Co-authored-by: Peter G <sailfish@nephros.org>


This was introduced by e30292b#diff-df38830cae3d3051528c63a2740fe3b0b4ec2c6b59aadab35dce5a1b6e995dd4R1016-R1030. I still do not understand the purpose of this addition, specifically in the light of the comment(s) stating "probably dead code, need to investigate": It sure is dead code, as these two newly added classes here do not contain any code at all. Likely this is a combination of my lack of understanding and these comments lacking information needed for me to understand the purpose of this addition.
Another point to investigate: Why did earlier CI runs not show this compile failure?