Tarsnap / tarsnap-gui

Cross-platform GUI for the Tarsnap backup service.
https://www.tarsnap.com
BSD 2-Clause "Simplified" License
250 stars 25 forks source link

Flatpak distribution? #175

Open srenatus opened 6 years ago

srenatus commented 6 years ago

Hello 😃

With more and more distributions picking up Flatpak, I was wondering if this wouldn't be cool for tarsnap-gui, too. (I certainly am missing backup utility options on Flathub, and I'd love to have tarsnap-gui available.)

What do you think? (Anybody working on this already?)

Thanks Stephan

gperciva commented 6 years ago

The real question is whether tarsnap can be (safely) packaged with flatpack. At first glance, this looks possible -- it seems that flatpack doesn't suffer the flaws that snapcraft does (https://github.com/Tarsnap/tarsnap/pull/284). But it's always possible that we'll discover a snag later.

I'll take another look in January.

LinAGKar commented 2 years ago

Sorry if it sound naggy, but which January?

gperciva commented 2 years ago

Right, this slipped off my radar.

I took a quick glance at flatpack.

[1] https://www.flatkill.org/2020/ [2] https://theevilskeleton.gitlab.io/2021/02/11/response-to-flatkill-org.html [3] https://news.ycombinator.com/item?id=24661126 [4] https://news.ycombinator.com/item?id=26528404

Basically, it comes down to:

I'll continue looking into these questions on another day.

LinAGKar commented 2 years ago

(Disclaimer: I haven't quite grasped what the author meant by that; the sentence contains a link to a github repository, so perhaps they meant that anybody could submit a PR. Maybe it's possible to "lock" a repository so that only we could approve PRs to org.Tarsnap.tarsnap

Not sure what they mean either. Based on https://github.com/flathub/flathub/wiki/App-Submission#how-to-submit-an-app it seems like only whoever submitted the app will have write access to it (and presumably the flathub admins), but anyone can make PR. And anyone can submit an app, but it requires approval from the flathub admins.

can we ensure that if somebody installs a Tarsnap flatpak, they're getting the right thing? (i.e. no hostile third-party code)

Flathub would be ideal, since people will likely have that already, but there is also the option of hosting your own flatpak repo (unlike with snappy).