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

publishing to flatpak #27

Open
Bhupesh-V opened this issue Apr 8, 2022 · 10 comments
Open

publishing to flatpak #27

Bhupesh-V opened this issue Apr 8, 2022 · 10 comments

Comments

@Bhupesh-V
Copy link
Owner

No description provided.

@RohitSingh107
Copy link

I would like to package it to flatpak. Please assign this task to me.

@Bhupesh-V
Copy link
Owner Author

I would like to package it to flatpak. Please assign this task to me.

Sure, Share any doubts & questions in this thread

@Bhupesh-V
Copy link
Owner Author

Bhupesh-V commented Aug 27, 2022

I would like to package it to flatpak. Please assign this task to me.

@RohitSingh107
Hey can you share any update on this?
This is a big ticket & requires some brainstorming. Would like to know what you have in mind for this

@RohitSingh107
Copy link

RohitSingh107 commented Aug 27, 2022

Actually there was some issues with my environment I was using NixOS Linux which doesn't respect traditional filesystem hierarchy, but now I am switched Arch Linux and there is no issue with my environment now, so I should be able to fully accomplish this task within this week.

@RohitSingh107
Copy link

update- Flatpak is built sucessfully.
Now I am testing it and other enhancement in flatpak packaging.

@Bhupesh-V
Copy link
Owner Author

update- Flatpak is built sucessfully. Now I am testing it and other enhancement in flatpak packaging.

Sounds great, do let us know the process of publishing updates to the package?
Also, one thing I missed adding is we do have some post install stuff. Checkout this code for reference

https://github.com/Bhupesh-V/ugit/blob/master/install#L94-L116

Will flatpak have that option as well? To basically alert the user with custom stuff

@RohitSingh107
Copy link

Sorry for late reply, I was busy in college hackathon. Ugit flatpak is ready to get published. Updating the published package is easy we only have to update the flatpak manifesto file like this https://github.com/RohitSingh107/ugit-flatpak/blob/main/org.ssoc.ugit.yml . And I don't think we can have post install stuff in flatpak as ugit is "installed inside flatpak sandbox" instead of native install on user's system, it's like shipping an already installed application. What we can do is run those stuff before (or after) first time an user uses ugit.

@Bhupesh-V
Copy link
Owner Author

Sorry for late reply, I was busy in college hackathon. Ugit flatpak is ready to get published. Updating the published package is easy we only have to update the flatpak manifesto file like this https://github.com/RohitSingh107/ugit-flatpak/blob/main/org.ssoc.ugit.yml . And I don't think we can have post install stuff in flatpak as ugit is "installed inside flatpak sandbox" instead of native install on user's system, it's like shipping an already installed application. What we can do is run those stuff before (or after) first time an user uses ugit.

This looks great. Can you create a PR for this
Also note, we might have to add the .flatpakrepo file ?(https://docs.flatpak.org/en/latest/hosting-a-repository.html#flatpakrepo-files)

@RohitSingh107
Copy link

I don't think we need .flatpakrepo file since we are going to host our flatpak directly to flathub not our own custom repository.

Here is pull request: #53

Only thing remaining is just publishing, as you are main developer of this project you should publish it yourself but if you want I can do it also.

Here are instructions to publish: https://github.com/flathub/flathub/wiki/App-Submission

@Bhupesh-V
Copy link
Owner Author

@RohitSingh107 can you DM me on discord, you are not in the ugit channel for ssoc

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

No branches or pull requests

2 participants