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

can we have this app in flathub and snapstore #9922

Open
1 task done
olumolu opened this issue Mar 28, 2024 · 8 comments
Open
1 task done

can we have this app in flathub and snapstore #9922

olumolu opened this issue Mar 28, 2024 · 8 comments
Labels
feature [core label] linux

Comments

@olumolu
Copy link

olumolu commented Mar 28, 2024

Check for existing issues

  • Completed

Describe the feature

We use redhat on our office and personally i have mac and a fedora system so it is easy for me to switch to this from vscode which i was using and having it in flathub or snap make it easy. Having this makes my transaction easy as i can use it on my mac but not on my other systems.

Edit
As of now a hugh no of people are switching to a immune variant or immutable distros like silverblue steam os opensuse aeon or ublue projects and now it is that ubuntu is also switching to a snap based immutable variant hence it is evident that we should have snap and flatpak.
Make sure that we have this in flathub. So users Dont need to scrape internet.

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

Verified apps in snapstore and flathub

@mikayla-maki
Copy link
Member

We are now available on Flathub :)

@olumolu
Copy link
Author

olumolu commented Jul 29, 2024

We are now available on Flathub :)

It is not verified can you make it verified.

@BuonHobo
Copy link

We are now available on Flathub :)

It is not verified can you make it verified.

Just use the flatpak, stop asking

@olumolu
Copy link
Author

olumolu commented Jul 29, 2024

We are now available on Flathub :)

It is not verified can you make it verified.

Just use the flatpak, stop asking

Ok but still having a verified badge make it better.

@Beryesa
Copy link

Beryesa commented Aug 3, 2024

@mikayla-maki Verification is pretty easy, https://docs.flathub.org/docs/for-app-authors/verification
It'd be really appreciated :P
(Once it's officially supported)

@sofaspawn
Copy link
Contributor

Since it is already available on flathub, I think this issue is ready to be closed.

If the verification of the bundle is a problem, a new issue can be opened.

@mgsloan
Copy link
Contributor

mgsloan commented Feb 3, 2025

I've pushed a branch which builds a snap package based off of zed release tarballs - https://github.com/zed-industries/zed/tree/snap-package, so building the snap package is quite quick. However, it's not quite polished.

Unexpected logs

I get all of these logs when loading the zed repo into zed run via snap. Curiously these seem to be benign - things seem to work fine. I will use the snap version of zed and see if I encounter any actual breakage.

[2025-02-03T00:34:14-07:00 ERROR home] No such file or directory (os error 2)
[2025-02-03T00:34:14-07:00 ERROR worktree] failed to canonicalize root path: No such file or directory (os error 2)
[2025-02-03T00:34:15-07:00 ERROR languages::rust] failed to run rust-analyzer after detecting it in PATH: binary: "/home/mgsloan/.cargo/bin/rust-analyzer": No such file or directory (os error 2)
[2025-02-03T00:34:16-07:00 ERROR languages::rust] failed to run rust-analyzer after detecting it in PATH: binary: "/home/mgsloan/.cargo/bin/rust-analyzer": Not a directory (os error 20)
[2025-02-03T00:34:16-07:00 ERROR languages::rust] failed to run rust-analyzer after detecting it in PATH: binary: "/home/mgsloan/.cargo/bin/rust-analyzer": Not a directory (os error 20)
[2025-02-03T00:34:16-07:00 ERROR project::lsp_store] Failed to start language server "rust-analyzer": failed to spawn command. path: "/home/mgsloan/.local/share/zed/languages/rust-analyzer/rust-analyzer-2025-02-03", working directory: "/home/mgsloan/oss/livekit-rust-sdks/livekit-api/src", args: []
[2025-02-03T00:34:16-07:00 ERROR project::lsp_store] server stderr: ""
[2025-02-03T00:34:16-07:00 ERROR languages::rust] failed to run rust-analyzer after detecting it in PATH: binary: "/home/mgsloan/.cargo/bin/rust-analyzer": Not a directory (os error 20)

Snapcraft lint

However if I omit libvulkan1 from stage-packages running the cli via zed just hangs with no output. Running zed --help works. Setting the snap's command to libexec/zed-editor runs and complains that vulcan is not found.

@ConradIrwin
Copy link
Member

@mgsloan rust-analyzer has an annoying corner case where rustup puts a broken shim into the path; which we work-around (but noisily log about): #17951

Is it capable of running other language servers from $PATH? (I would have thought so, it looks like you're using the "no sandbox" mode).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature [core label] linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants