zed icon indicating copy to clipboard operation
zed copied to clipboard

support for snap or flatpak flathub

Open olumolu opened this issue 1 year ago • 4 comments

Check for existing issues

  • [X] Completed

Describe the feature

this will increase the availability of linux distros and easy to maintain and manage also and this will give benefit to the immutable distros like steam os steamos forks fedora silverble opensuse aeons and others

If applicable, add mockups / screenshots to help present your vision of the feature

No response

olumolu avatar Jul 11 '24 05:07 olumolu

There has been previous work and discussions here:

  • https://github.com/zed-industries/zed/issues/6687
  • https://github.com/zed-industries/zed/pull/12006

notpeter avatar Jul 11 '24 05:07 notpeter

Snap has support for the --classic confinement (i.e., no confinement) which might make it easier to package zed for snap compared to flatpak. Classic confinement requires explicit authorization by the snap store, but IDEs are explicitly mentioned as an example of programs where classic confinement is allowed: https://snapcraft.io/docs/reviewing-classic-confinement-snaps#supported-6 so it shouldn't be too difficult.

tmke8 avatar Jul 11 '24 10:07 tmke8

This is really important just providing this in flatpak and snap you will find a hugh spike in your user base as most users are likely to install stuff from flathub or snap.

olumolu avatar Jul 11 '24 12:07 olumolu

I've snapped a bunch of things over the years, and would happily volunteer to help someone on the team if they need it. In short, something like this needs to happen, if the team wish to snap zed. I'm happy to help with any or all of this. 🙏

  • Build a prototype snap to make sure it's snappable and works as expected
  • Register the name 'zed' in the snap store (preferably under an official 'zed industries' account
  • (optionally) add a community contributor (such as myself, or other interested party) as a 'collaborator' in the store, if zed people are too busy to bootstrap this
  • Request classic confinement for zed on the snapcraft forum
  • Publish the snap in a 'candidate' channel
  • Upload screenshots, and detailed metadata to make the web based snap store page appealing
  • Put out a call for testing
  • (optional, but recommended) Build automation (GH action for example) to update the snap as required
  • (later, also optional) Ask Canonical to promote the snap as a 'Featured' 'Editors pick' to increase awareness

popey avatar Jul 14 '24 09:07 popey

Thanks if you can help on another project. https://github.com/Jeffser/Alpaca @popey

olumolu avatar Jul 19 '24 19:07 olumolu

This is now available on Flathub :)

mikayla-maki avatar Jul 28 '24 19:07 mikayla-maki

too bad that snap was not considered and the issue is closed :(

isgj avatar Aug 10 '24 10:08 isgj

I think the recent flatpak support satisfies the "snap or flatpak" in the title of this issue

No harm in raising a new issue to cover Snap if that's still a concern

jokeyrhyme avatar Aug 11 '24 00:08 jokeyrhyme

  • https://github.com/zed-industries/zed/issues/9922 This issue is still opened still if you want you can create a fresh.

olumolu avatar Aug 11 '24 05:08 olumolu