Skip to content
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

Patches for running in a flatpak #7359

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

razzeee
Copy link

@razzeee razzeee commented Apr 7, 2024

These are the needed patches we would need to be able to run pgadmin in a flatpak.

They stem of the work in https://github.com/flathub/flathub/pull/5105/files where we're doing this (much) worse with sed.

I think there might be a better solution for parts of this, but I'm not sure how to get there. Having this up-streamed at least would help us for the time being.

web/config.py Outdated Show resolved Hide resolved
@razzeee
Copy link
Author

razzeee commented Apr 15, 2024

Unsure why the tests on macOS fail

@adityatoshniwal
Copy link
Contributor

Unsure why the tests on macOS fail

You can ignore that. Its a JS test case, which is failing randomly.

@akshay-joshi
Copy link
Contributor

@razzeee

Can you please raise a combined PR for this and #7333?

@razzeee
Copy link
Author

razzeee commented Apr 16, 2024

@akshay-joshi would it be fine to cherry pick that into this branch?

This is just a basic version of a metainfo file, it could be improved in various aspects, but having something basic already in tree would already be helpful.
@adityatoshniwal
Copy link
Contributor

@akshay-joshi would it be fine to cherry pick that into this branch?

I have cherry picked the commit.

@razzeee
Copy link
Author

razzeee commented May 21, 2024

This should be good to go, unless there was another release in the mean time.

Not sure, if you need to document/automate the addition of the release line in some way.

@adityatoshniwal
Copy link
Contributor

@razzeee You've made it compatible when running from flatpak. But the automated build process need to include flatpak build and publish it flatpak to flathub just like docker hub.

@razzeee
Copy link
Author

razzeee commented May 22, 2024

@razzeee You've made it compatible when running from flatpak. But the automated build process need to include flatpak build and publish it flatpak to flathub just like docker hub.

There's no way (for me) to publish it to flathub (and thus it doesn't make much sense to build the flatpak here) - you would need to reach out and ask for credentials. "Direct uploads" are a gated feature right now and I'm not sure, if @barthalion would allow your project into that test group.

The other way would be the repo on the flathub github, to manage the manifest. But that would ideally need this to be merged.

What I was asking about, was if there was automatic tooling generating the release notes/versions. Or if there are docs, that need to be extended to cover the process.

@khushboovashi
Copy link
Contributor

Hi @razzeee,

We are not planning to support the Flatpak packages yet, so it doesn't make sense to add the metainfo file to the repo. However, we can commit the path-related changes. Please remove the metainfo file from the PR so we can merge the remaining changes.

@razzeee
Copy link
Author

razzeee commented May 25, 2024

So you're saying, I should revert the combination of the two PRs and split this up again into the two PRs like it was at the start?

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.

None yet

4 participants