-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
dist: drop .deb #22684
Comments
I like @glacambre 's suggestion: rename the deb and tar files to |
Well, even renaming will instantly break CI, so it's not really a deprecation. And if you manually need to change things, you might as well change them properly. This only encourages bandaid fixes and later complaints. |
You might not have time to change them properly the minute you discover something is breaking though. Renaming the tar is the quick and easy fix you do until you have the time to implement a proper solution. |
The idea would be to provide a snippet you can paste into your action in replacement of To be clear, I'm talking here only of dropping the |
Guess I was wrong: https://github.com/search?q=nvim-linux64.deb&type=code 😞 (For reference, |
Example of |
Courtesy of @folke, here's how you can extract the appimage in GHA if you want to have - name: Install Neovim
shell: bash
run: |
mkdir -p /tmp/nvim
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage -O /tmp/nvim/nvim.appimage
cd /tmp/nvim
chmod a+x ./nvim.appimage
./nvim.appimage --appimage-extract
echo "/tmp/nvim/squashfs-root/usr/bin/" >> $GITHUB_PATH
|
Having multiple release artifacts per platform is a maintenance burden. Furthermore, it is a maintenance burden that doesn't directly improve the Nvim editor itself. The releases are meant to be a quick way for users to try out and use neovim on their platform and was never intended to be a buffet of releases for every conceivable setup. Users are encouraged to the following replacements: - Github action `action-setup-vim` to have neovim installed on their PATH for their CI jobs. See https://github.com/rhysd/action-setup-vim. - Use the appimage, either as is or by extracting it - To use as is, run `chmod u+x nvim.appimage && ./nvim.appimage` - If your system does not have FUSE you can extract the appimage with `./nvim.appimage --appimage-extract && ./squashfs-root/usr/bin/nvim` - Build it manually. See https://github.com/neovim/neovim/wiki/Building-Neovim. Work on neovim#22684
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Having multiple release artifacts per platform is a maintenance burden. Furthermore, it is a maintenance burden that doesn't directly improve the Nvim editor itself. The releases are meant to be a quick way for users to try out and use neovim on their platform and was never intended to be a buffet of releases for every conceivable setup. Users are encouraged to the following replacements: - Github action `action-setup-vim` to have neovim installed on their PATH for their CI jobs. See https://github.com/rhysd/action-setup-vim. - Use the appimage, either as is or by extracting it - To use as is, run `chmod u+x nvim.appimage && ./nvim.appimage` - If your system does not have FUSE you can extract the appimage with `./nvim.appimage --appimage-extract && ./squashfs-root/usr/bin/nvim` - Build it manually. See https://github.com/neovim/neovim/wiki/Building-Neovim. Work on #22684
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Having multiple release artifacts per platform is a maintenance burden. Furthermore, it is a maintenance burden that doesn't directly improve the Nvim editor itself. The releases are meant to be a quick way for users to try out and use neovim on their platform and was never intended to be a buffet of releases for every conceivable setup. Users are encouraged to the following replacements: - Github action `action-setup-vim` to have neovim installed on their PATH for their CI jobs. See https://github.com/rhysd/action-setup-vim. - Use the appimage, either as is or by extracting it - To use as is, run `chmod u+x nvim.appimage && ./nvim.appimage` - If your system does not have FUSE you can extract the appimage with `./nvim.appimage --appimage-extract && ./squashfs-root/usr/bin/nvim` - Build it manually. See https://github.com/neovim/neovim/wiki/Building-Neovim. Work on neovim#22684
This comment was marked as duplicate.
This comment was marked as duplicate.
@dundargoc note to us: we should replace |
In my experience, rhysd/action-setup-vim has been much more robust than any other installation method thanks to its ability to fall back to building Neovim when a nightly/release build is not available (due to e.g. Github problems or build issues that existed when the neovim nightlies are built but were fixed during the day). Can't argue about the other points though :). |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Yes, that is exactly the idea. It's self-contained and runs on the widest possible selection of platforms (not tied to a specific distro).
But Debian packages are the Debian maintainers' job; the Neovim project is not in the business of maintaining distro packages. (The |
A great alternative to using the appimage is to use bob instead. With bob it's very easy to always use the latest nightly and you can even use different Neovim versions next to each other. |
ResolutionThe The |
Problem
Linux releases come in too many flavors: appimage,
tar.gz
archive,deb
package. This is confusing and a waste of resources.Expected behavior
Only provide a single release format: appimage, which is the "blessed" format that Just Works™️ but can also be extracted locally.
As
tar.gz
is used by many downstream projects for their CI, we should leave it for now but make clear that it's only provided for that purpose and that end users are strongly encouraged to use the appimage. Also push downstream to switch to appimages instead so we can remove that for 0.10.Plan
.deb
for the 0.9 release.tar
release for nightlies sometime during 0.10This means that
.appimage
and.tar
.appimage
.deb
after 0.9, and.tar
some time after that (with a longer announcement period).The text was updated successfully, but these errors were encountered: