Skip to content

add org.qelectrotech.QElectroTech - #2146

Closed
kevinsmia1939 wants to merge 22 commits into
flathub:new-prfrom
kevinsmia1939:new-pr
Closed

kevinsmia1939 wants to merge 22 commits into
flathub:new-prfrom
kevinsmia1939:new-pr

Conversation

@kevinsmia1939

Copy link
Copy Markdown

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 thread org.qelectrotech.QElectroTech.json Outdated
Comment on lines +27 to +28
"type": "dir",
"path": "../.."

Copy link
Copy Markdown
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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Comment thread org.qelectrotech.QElectroTech.json Outdated
{
"id": "org.qelectrotech.QElectroTech",
"runtime": "org.kde.Platform",
"runtime-version": "5.14",

Copy link
Copy Markdown
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?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Yes

Copy link
Copy Markdown

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
Copy Markdown
Member

bot, build org.qelectrotech.QElectroTech

@flathubbot

Copy link
Copy Markdown

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
Copy Markdown

Started test build 40746

@scorpio810

scorpio810 commented Mar 3, 2021 •

Copy link
Copy Markdown
$ 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
Copy Markdown

Build 40746 failed

@barthalion

Copy link
Copy Markdown
Member

bot, build org.qelectrotech.QElectroTech

@flathubbot

Copy link
Copy Markdown

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot

Copy link
Copy Markdown

Started test build 40782

@barthalion

Copy link
Copy Markdown
Member

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

@flathubbot

Copy link
Copy Markdown

Build 40782 was cancelled

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

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

Comment thread org.qelectrotech.QElectroTech.json Outdated
@kevinsmia1939

Copy link
Copy Markdown
Author

i mess up some thing

@kevinsmia1939

Copy link
Copy Markdown
Author

bot, build org.qelectrotech.QElectroTech

@flathubbot

Copy link
Copy Markdown

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot

Copy link
Copy Markdown

Started test build 42633

@flathubbot

Copy link
Copy Markdown

Build 42633 failed

@kevinsmia1939

Copy link
Copy Markdown
Author

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

@kevinsmia1939

Copy link
Copy Markdown
Author

bot, build org.qelectrotech.QElectroTech

@flathubbot

Copy link
Copy Markdown

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot

Copy link
Copy Markdown

Started test build 42999

@kevinsmia1939

Copy link
Copy Markdown
Author

bot, build org.qelectrotech.QElectroTech

@flathubbot

Copy link
Copy Markdown

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot

Copy link
Copy Markdown

Started test build 46973

@flathubbot

Copy link
Copy Markdown

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

scorpio810 commented May 20, 2021 •

Copy link
Copy Markdown

@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
Copy Markdown
Author

@kevinsmia1939

Copy link
Copy Markdown
Author

bot, build org.qelectrotech.QElectroTech

@flathubbot

Copy link
Copy Markdown

Queued test build for org.qelectrotech.QElectroTech.

@scorpio810

Copy link
Copy Markdown

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

Yes.

@flathubbot

Copy link
Copy Markdown

Started test build 48709

@flathubbot

Copy link
Copy Markdown

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
Copy Markdown

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

@kevinsmia1939

Copy link
Copy Markdown
Author

Ok, I think it is ready now.

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

Copy link
Copy Markdown
Member

/merge @scorpio810

@barthalion

Copy link
Copy Markdown
Member

bot, build org.qelectrotech.QElectroTech

@flathubbot

Copy link
Copy Markdown

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot

Copy link
Copy Markdown

Started test build 49091

@flathubbot

Copy link
Copy Markdown

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
Copy Markdown
Member

/merge @scorpio810

@flathubbot

Copy link
Copy Markdown

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
Copy Markdown

bot, build org.qelectrotech.QElectroTech

@flathubbot

Copy link
Copy Markdown

Queued test build for org.qelectrotech.QElectroTech.

@flathubbot

Copy link
Copy Markdown

Started test build 73601

@flathubbot

Copy link
Copy Markdown

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