-
Notifications
You must be signed in to change notification settings - Fork 2.4k
add org.qelectrotech.QElectroTech #2146
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
Conversation
org.qelectrotech.QElectroTech.json
Outdated
"type": "dir", | ||
"path": "../.." |
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.
You need a tarball/git source here
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.
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.
org.qelectrotech.QElectroTech.json
Outdated
{ | ||
"id": "org.qelectrotech.QElectroTech", | ||
"runtime": "org.kde.Platform", | ||
"runtime-version": "5.14", |
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.
Maybe bump it to 5.15?
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.
Yes
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.
Build fine with runtime-version": "5.15" here see:
https://qelectrotech.org/forum/viewtopic.php?pid=14448#p14448
bot, build org.qelectrotech.QElectroTech |
Queued test build for org.qelectrotech.QElectroTech. |
Started test build 40746 |
My script to build flatpak to my repository |
Build 40746 failed |
bot, build org.qelectrotech.QElectroTech |
Queued test build for org.qelectrotech.QElectroTech. |
Started test build 40782 |
Failed to notice there are some fixes pending to make it actually buildable. |
Build 40782 was cancelled |
"--socket=x11", | ||
"--device=dri", | ||
"--share=ipc", | ||
"--filesystem=host" |
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.
The --filesystem=host
is a little too permissive for this kind of app.
A User who blocks this permission will hit an issue with the app home folder not being kept so maybe add a comment somewhere about ~/.qet
? or maybe just add - --persist=.qet
?
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.
Need input from @scorpio810 on this.
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.
Yes, what do you need full host permissions for? As @tinywrkb says we should allow the absolute minimum surface that lets the app access its configuration (ideally that uses xdg-config dirs so it doesn't need a permission at all, but a --persist=.qet could work too - and then as a modern Qt app I'd hope that it should be able to use the file portal to open and save files anywhere on the system as required without extra permissions.
You can test this yourself locally with --nofilesystem=host and the persist flag mentioned above on the flatpak CLI - or use an app like flatseal https://flathub.org/apps/details/com.github.tchx84.Flatseal to experiment with the permissions and minimise them.
Certainly host permissions require explicit justification that is core to the purpose of the app.
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.
I think qelectrotech doesn't use portals. It's not possible to save a project if you take away the host permission.
i mess up some thing |
bot, build org.qelectrotech.QElectroTech |
Queued test build for org.qelectrotech.QElectroTech. |
Started test build 42633 |
Build 42633 failed |
I don't understand why the patch failed, it build just fine locally on my machine. |
bot, build org.qelectrotech.QElectroTech |
Queued test build for org.qelectrotech.QElectroTech. |
Started test build 42999 |
bot, build org.qelectrotech.QElectroTech |
Queued test build for org.qelectrotech.QElectroTech. |
Started test build 46973 |
Build 46973 successful
|
@kevinsmia1939 Raul provide new version of qet_tb_generator 1.2.5 plugin, but this version need PySimpleGUI depend. See : |
bot, build org.qelectrotech.QElectroTech |
Queued test build for org.qelectrotech.QElectroTech. |
Yes. |
Started test build 48709 |
Build 48709 successful
|
Tried 79b092b on 0.9-dev, work great. |
Ok, I think it is ready now. |
This reverts commit 7966d43.
/merge @scorpio810 |
bot, build org.qelectrotech.QElectroTech |
Queued test build for org.qelectrotech.QElectroTech. |
Started test build 49091 |
Build 49091 successful
|
/merge @scorpio810 |
A repository for this has been created: https://github.com/flathub/org.qelectrotech.QElectroTech You will receive an invitation to be a collaborator which will grant you write access to the repository above. The invite can be also viewed here. If you have never maintained an application before, common questions are answered in the app maintenance guide. Thanks! |
bot, build org.qelectrotech.QElectroTech |
Queued test build for org.qelectrotech.QElectroTech. |
Started test build 73601 |
Build 73601 successful
|
Please confirm your submission meets all the criteria