-
Notifications
You must be signed in to change notification settings - Fork 22
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
Do not call ssu to determine OS Version #65
Conversation
nephros
commented
Sep 28, 2021
See issue sailfishos-patches#33 sailfishos-patches#33 Concept ported from @elros, ac0991b elros34@ac0991b
Even though you stated to "not speak Qt and C++", you seem to be able to write and express what you want very well. I can barely comprehend most of that, thus a big thank you for adapting elros34's code for PM2.
For a proper review, I kindly ask @b100dian to do this, because I can only provide uneducated statements (e.g., "The code is looking beautiful, like a dense forest of words; and with syntax hilightning it all becomes so colourful!" 😉). |
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.
Changes look good, I just didn't test them.
In case there are problems with reading directly that file we can always add a dbus method on patchmanager-object to make the query for the UI plugin.
Mmmh, I always reviewed changes by reviewing them. 😜 So I do / did not think that any kind of testing is required for approving a MR. Do our opinions on this differ (@b100dian sounds a bit like they do)? In this specific case (and many others, when there are non-trivial changes to QML or C++ code), I cannot seriously review due to my lack of knowledge and experience. And I sure will not just hit "Approved" to let things proceed. So @b100dian, it is either you or potentially nobody who approves this MR. |
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.
This could have been breaking things, that's why the test - I don't test all PRs, of course. The visual ones if I'm more curious:)
Just did a quick run on this and it's fine.
I wasn't able to trigger the original bug just by running ssu re 4.2.0.20
(e.g. change to an non-existant version)
Damnit, too soon! src/bin/patchmanager-daemon/patchmanagerobject.h/cpp must be updated to use the new osVersion actually, otherwise compatibility check on the web catalog does not work. |
commit e546dc0 Author: Peter G <sailfish@nephros.org> Date: Sun Oct 3 12:51:06 2021 +0200 Move from SsuRelease to OsRelease should fix some fallout from PR sailfishos-patches#65 sailfishos-patches#65
should fix some fallout from PR sailfishos-patches#65 sailfishos-patches#65
commit e546dc0 Author: Peter G <sailfish@nephros.org> Date: Sun Oct 3 12:51:06 2021 +0200 Move from SsuRelease to OsRelease should fix some fallout from PR sailfishos-patches#65 sailfishos-patches#65
commit e546dc0 Author: Peter G <sailfish@nephros.org> Date: Sun Oct 3 12:51:06 2021 +0200 Move from SsuRelease to OsRelease should fix some fallout from PR sailfishos-patches#65 sailfishos-patches#65
commit 68bc530 Author: Peter G <sailfish@nephros.org> Date: Sun Oct 3 16:52:39 2021 +0200 fixup! Move from SsuRelease to OsRelease commit e546dc0 Author: Peter G <sailfish@nephros.org> Date: Sun Oct 3 12:51:06 2021 +0200 Move from SsuRelease to OsRelease should fix some fallout from PR sailfishos-patches#65 sailfishos-patches#65
should fix some fallout from PR sailfishos-patches#65 sailfishos-patches#65