-
Notifications
You must be signed in to change notification settings - Fork 1
Rename both new methods to backupWorkingPatchList and restorePatchList
#6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename both new methods to backupWorkingPatchList and restorePatchList
#6
Conversation
… to `backupWorkingPatchList` and `restorePatchList` Reference: sailfishos-patches#437 (comment)
¿Is the masking of the **"** with **\** correct in C++?
Better, but still not really good, IMO. Issue is, it must be terse enough to fit in a single line in portrait orientation on a Jolla 1 (i.e., 540 pixels width)!
Sorry, I became carried away: Originally I only adjusted the original lines 307 & 310, then started fixing a few typos, enhanced a few phrases etc. etc. and ended up in going over the whole file. Open points: - Line 110: "\uicontrol" Is this correct markup? Does the sentence make sense this way? - Line 161: "\badcode" Is this correct markup? - Line 225: "In this state, all enabled services are disabled, and PM must be reactivated via the GUI." "Patches" instead of "services"? - Line 289: "\warning" Not "Warning"? I.e., is it a markup term?
Questions: - Was capitalising "\c Patches" in line 372 O.K.? - Is the "\sa" in line 373 correct?
Please review thoroughly! It became obvious, that some copy&paste flaws existed, but I am not sure, if I rectified them correctly. I simply assumed that the code is correct, but maybe (unlikely) the documentation mismatch was the other way around.
Notes / questions: - Line 587: "()"? Function name missing? - Line 1103: "on the bus" -> "on D-Bus"? - Line 1198: Ambiguous, especially the second "all". - Line 1705: Not better "/sa" instead of "See also"? - Line 2121: Is that an accidentally deleted comment: Check `git blame`
|
Notes:
HTH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks! See comment below for detailed answer.
|
Thanks a lot for digging through this. I have another branch here,
I believe so. Ref: https://doc.qt.io/qt-6/27-qdoc-commands-alphabetical.html
You're right, it must be "patches", although I believe the daemon will also not really start in this mode (it is then started gain by the mysterious "Resolve Failure" pulley menu option).
That is very possible, documentation is in a best-effort kind of quality state right now.
Typo, should be deleted.
yup.
"Returns all versions contained in the metadata of all patches, indexed by patch name."
The problem with
Indeed it does, it's ancient: https://github.com/nephros/patchmanager/blame/b7c911798a87638508c59b4d77d45acbd8ddb238/src/bin/patchmanager-daemon/patchmanagerobject.cpp#L2118 Can be deleted.
Oh yes it does, thank you. |
See #6 (comment) Co-authored-by: olf <[email protected]>
To be precise, the I have reworded the section in |
See #6 (comment) Co-authored-by: olf <[email protected]>
In fact I have started this. I also have pushed that branch to the main repo so you can push to it without doing a PR here: https://github.com/sailfishos-patches/patchmanager/tree/more-docs (... AND you can use a manual trigger of the building action to see what the results look like.) |
You are welcome. Though the documentation enhancements were more or less accidentally, due to becoming carried away when carrying out the name changes.
Oh, I could have. I already considered splitting the name changes and the documentation enhancements, but without being aware of the
I do not mind which branch to pose a PR against: It is Git, it does not really matter. But this …
… allows to perform quality assurance on the output, not only the input, which enables to perceive and address many additional aspects. P.S.: Nitpick
Thanks you! With this reference at hand, I looked up as the 100% appropriate reference (for us, here, AFAIU) https://doc.qt.io/qt-5/03-qdoc-commands-markup.html |
@nephros, I wanted to carry on enhancing the documentation, but now it is the time to consolidate the work first, IMO, because I would like to continue based upon the changes in Patchmanager PR #437 (i.e, the |
…List` (#6) * [org.SfietKonstantin.patchmanager.xml] Rename both new methods … to `backupWorkingPatchList` and `restorePatchList` Reference: sailfishos-patches#437 (comment) * [patchmanagerobject.cpp] First round of name changes * [patchmanagerobject.h] Carry out all name changes * [patchmanager.cpp] Carry out all name changes * [patchmanager.h] Carry out all name changes * [org.SfietKonstantin.patchmanager.xml] Fix accidentally swapped names * [PatchManagerPage.qml] Carry out all name changes * [patchmanager-tool] Carry out all name changes * [main.cpp] Carry out all name changes ¿Is the masking of the **"** with **\** correct in C++? * [PatchManagerPage.qml] Enhance wording of menu entry Better, but still not really good, IMO. Issue is, it must be terse enough to fit in a single line in portrait orientation on a Jolla 1 (i.e., 540 pixels width)! * [index.qdoc] Overhaul Sorry, I became carried away: Originally I only adjusted the original lines 307 & 310, then started fixing a few typos, enhanced a few phrases etc. etc. and ended up in going over the whole file. Open points: - Line 110: "\uicontrol" Is this correct markup? Does the sentence make sense this way? - Line 161: "\badcode" Is this correct markup? - Line 225: "In this state, all enabled services are disabled, and PM must be reactivated via the GUI." "Patches" instead of "services"? - Line 289: "\warning" Not "Warning"? I.e., is it a markup term? * [patchmanagerobject.cpp] Complete name changes Questions: - Was capitalising "\c Patches" in line 372 O.K.? - Is the "\sa" in line 373 correct? * [patchmanagerobject.cpp] Try to rectify comments lines 344 - 387 Please review thoroughly! It became obvious, that some copy&paste flaws existed, but I am not sure, if I rectified them correctly. I simply assumed that the code is correct, but maybe (unlikely) the documentation mismatch was the other way around. * [patchmanagerobject.cpp] Complete name changes & overhaul Notes / questions: - Line 587: "()"? Function name missing? - Line 1103: "on the bus" -> "on D-Bus"? - Line 1198: Ambiguous, especially the second "all". - Line 1705: Not better "/sa" instead of "See also"? - Line 2121: Is that an accidentally deleted comment: Check `git blame` * [patchmanagerobject.cpp] Revert over-eagerly applied capitalisation * [index.qdoc] Two minor rectifications of yesterday's work * [index.qdoc] Fix ambiguosity and missing "that" in line 120 * [index.qdoc] Enhance lines 124 and 135 a little bit * [index.qdoc] More minor fixes * [index.qdoc] Even moere small fixes * [index.qdoc] More nitpicks * [index.qdoc] Rectify broken sentence, detected and forgotten multiple times
Reference: sailfishos-patches#437 (comment)