Skip to content

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

Closed
wants to merge 22 commits into from

Conversation

kevinsmia1939
Copy link

Please confirm your submission meets all the criteria

  • I have read the App Requirements and App Maintenance pages.
  • My pull request follows the instructions at App Submission.
  • I am using only the minimal set of permissions. (If not, please explain each non-standard permission.)
  • All assets referenced in the manifest are redistributable by any party. If not, the unredistributable parts are using an extra-data source type.
  • I am an upstream contributor to the project. If not, I contacted upstream developers about submitting their software to Flathub. Can we submit Flatpak to Flathub? qelectrotech/qelectrotech-source-mirror#143
  • I own the domain used in the application ID or the domain has a policy for delegating subdomains (e.g. GitHub, SourceForge).
  • Any additional patches or files have been submitted to the upstream projects concerned. (If not, explain why.)

Comment on lines 27 to 28
"type": "dir",
"path": "../.."
Copy link
Member

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
"id": "org.qelectrotech.QElectroTech",
"runtime": "org.kde.Platform",
"runtime-version": "5.14",
Copy link
Member

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?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

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

@nedrichards
Copy link
Member

bot, build org.qelectrotech.QElectroTech

@flathubbot
Copy link

Queued test build for org.qelectrotech.QElectroTech.

@nedrichards nedrichards changed the title New Submission QElectroTech add org.qelectrotech.QElectroTech Mar 3, 2021
@flathubbot
Copy link

Started test build 40746

@scorpio810
Copy link

scorpio810 commented Mar 3, 2021

$ flatpak install flathub org.kde.Platform//5.15 org.kde.Sdk//5.15
$ flatpak-builder --force-clean --ccache --user --install _build build-aux/flatpak/org.qelectrotech.QElectroTech.json

My script to build flatpak to my repository
https://qelectrotech.org/wiki_new/doc/packaging_debian#flatpak

@flathubbot
Copy link

Build 40746 failed

@barthalion
Copy link
Member

bot, build org.qelectrotech.QElectroTech

@flathubbot
Copy link

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot
Copy link

Started test build 40782

@barthalion
Copy link
Member

Failed to notice there are some fixes pending to make it actually buildable.

@flathubbot
Copy link

Build 40782 was cancelled

"--socket=x11",
"--device=dri",
"--share=ipc",
"--filesystem=host"
Copy link

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?

Copy link
Author

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.

Copy link
Member

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.

Copy link
Member

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.

@kevinsmia1939
Copy link
Author

i mess up some thing

@kevinsmia1939
Copy link
Author

bot, build org.qelectrotech.QElectroTech

@flathubbot
Copy link

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot
Copy link

Started test build 42633

@flathubbot
Copy link

Build 42633 failed

@kevinsmia1939
Copy link
Author

I don't understand why the patch failed, it build just fine locally on my machine.

@kevinsmia1939
Copy link
Author

bot, build org.qelectrotech.QElectroTech

@flathubbot
Copy link

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot
Copy link

Started test build 42999

@kevinsmia1939
Copy link
Author

bot, build org.qelectrotech.QElectroTech

@flathubbot
Copy link

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot
Copy link

Started test build 46973

@flathubbot
Copy link

Build 46973 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/45176/org.qelectrotech.QElectroTech.flatpakref

@scorpio810
Copy link

scorpio810 commented May 20, 2021

@kevinsmia1939 Raul provide new version of qet_tb_generator 1.2.5 plugin, but this version need PySimpleGUI depend.
Is possible for you to add this?
https://pypi.org/project/qet-tb-generator/#copy-hash-modal-cbf95192-6fb4-48f0-aa6f-9e4441c95565

See :
https://qelectrotech.org/forum/viewtopic.php?pid=14954#p14954

@kevinsmia1939
Copy link
Author

@kevinsmia1939
Copy link
Author

bot, build org.qelectrotech.QElectroTech

@flathubbot
Copy link

Queued test build for org.qelectrotech.QElectroTech.

@scorpio810
Copy link

@scorpio810
This one? https://pypi.org/project/PySimpleGUI/

Yes.

@flathubbot
Copy link

Started test build 48709

@flathubbot
Copy link

Build 48709 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/46848/org.qelectrotech.QElectroTech.flatpakref

@scorpio810
Copy link

Tried 79b092b on 0.9-dev, work great.
Thanks kevinsmia1939.

@kevinsmia1939
Copy link
Author

Ok, I think it is ready now.

Kavin Teenakul added 2 commits May 20, 2021 23:19
@barthalion
Copy link
Member

/merge @scorpio810

@barthalion
Copy link
Member

bot, build org.qelectrotech.QElectroTech

@flathubbot
Copy link

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot
Copy link

Started test build 49091

@flathubbot
Copy link

Build 49091 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/47225/org.qelectrotech.QElectroTech.flatpakref

@barthalion
Copy link
Member

/merge @scorpio810

@flathubbot
Copy link

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!

@flathubbot flathubbot closed this May 25, 2021
@kevinsmia1939 kevinsmia1939 deleted the new-pr branch May 25, 2021 15:21
@scorpio810
Copy link

bot, build org.qelectrotech.QElectroTech

@flathubbot
Copy link

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot
Copy link

Started test build 73601

@flathubbot
Copy link

Build 73601 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/71452/org.qelectrotech.QElectroTech.flatpakref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants