News for hackers. Stuff that matters.
Re:Lapce – Fast open-source code editor by jonkoops on Thursday March 17, 2022 @06:44AM (#30709620)
Are there any plans to release the app as a Flatpak, they are a great way to package your application cross-distro with a central way of updating (such as Flathub).
Re:Lapce – Fast open-source code editor by jpetso on Thursday March 17, 2022 @10:05AM (#30711281)
No relation to this project. Just wanted to chime in to say that KDE's Kate editor pulled its Flatpak because the sandboxing makes much of the system integration (terminal, git, language servers) hard or impossible.

A Flatpak may have to ship with an independent copy of a lot of basic developer tools, and even then I don't know whether I want two different versions of git access the same local repository with a chance of incompatible repository formats.

Re:Lapce – Fast open-source code editor by follower on Thursday March 17, 2022 @11:58PM (#30718608)
Yeah, I've run into this issue with Flatpak & Kate. (I think it was specifically the Flathub Kate Flatpak that was pulled?)

FWIW I was recently able to get a "passable" but not ideal Rust/LSP/Rust-Analyzer/Cargo setup mostly functional via use of the kate build plugin and e.g `flatpak-spawn --host cargo build`...

...and... `flatpak-spawn --host cargo run | sed --unbuffered 's/\x1b\[[0-9;]*m//g'`.

Excuse the cough. :D (It was necessary to remove the ANSI colour codes produced by some logging library the project used.)

(My preference would be to use AppImage but unfortunately recent Kate AppImage versions have a hang-on exit bug.)

Re:Lapce – Fast open-source code editor by ciupicri on Thursday March 17, 2022 @01:14PM (#30713504)
I'm having the same issue with the Visual Studio Code (Flatpak). I want to use the compilers, interpreters and tools from the host, not whatever it's provided by the Flatpak or the runtimes from flathub/gnome, if it's provided at all.
Re:Lapce – Fast open-source code editor by sitkack on Thursday March 17, 2022 @07:37AM (#30709964)
meta comment. Often people working on a big system like this aren't the same people who would know about flatpak or flathub and nor do they have to be the same people to implement that packaging. I find if I include a link to said recommendations that it increases the likelihood that someone will takeup the recommendation. Esp if the link espouses why it is great.

https://docs.flatpak.org/en/latest/introduction.html#reasons...

https://flathub.org/home

> Flathub only hosts stable application releases, and not development snapshots.

from https://github.com/flathub/flathub/wiki/App-Submission

> If there’s an app that you'd like to be distributed on Flathub, the best first course of action is to approach the app’s developers and ask them to submit it. Remember that for some projects or communities, this may be the first that they have heard of the Flatpak technology or interacted with somebody who advocates it.

Also from the above link.