Bhupesh-V/ugit

publishing to flatpak

Opened this issue · 10 comments

publishing to flatpak

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

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

Sure, Share any doubts & questions in this thread

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

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.

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

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

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.

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)

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

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