-
Notifications
You must be signed in to change notification settings - Fork 132
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
How many fish version should we support? #123
Comments
I submitted a poll to the community (fish-shell/fish-shell#5507) to get usage feedback. |
I’d say we support only 2.7 and 3. I see no reason to stay on older versions from a user point of view, since there is no backwards incompatible changes between minor updates. |
I'm always looking at supported Ubuntu releases - https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=fish:
Trusty is only supported for another 3 months, and all of these are supported by the official PPA (with 3.0!). 19.04 will have 3.0. But in the end it depends on how much pain it causes to support older releases - anything < 2.3.0 is rough because those lack In contrast, 2.4.0 didn't have as many big changes when it comes to scripting - it added the 2.5.0 added the subcommand-style to 2.6.0 added 2.7.0 added 3.0.0 added better So, the biggest pain point is probably 2.2.0. Anything before that, you can safely ignore, but the difference between what you'd write in 2.2.0 and what you'd write in 2.3.0 is massive. 2.4.0 is probably most important because of 2.5.0's 2.6.0 doesn't have much interesting for us, 2.7.0's argparse is big, 3.0.0 is massive. |
Thanks for your knowledgeable feedback. I was not really looking to support below |
Okay, the tests on 2.4.0 fail for two reasons:
3.0 fails because of $hostname and the fish_title isn't completely correct. I think the following should work for 2.4.0's status: set --local current_command (status current-command 2>/dev/null)
or set --local current_command $_ and you'd have to figure something out for the default mode prompt. |
✔️
|
I'd personally suggest current version and one prior and print a warning for other users asking to upgrade. It would be easier to maintain and ensure a better experience. |
Thanks everyone, I will update to indicate Also Adding a message at session start-up to notify the user he should upgrade would be a nice feature! Created issue #131 for that purpose. |
It seems like Pure already supports fish 3. Isn't it supported yet? |
@edouard-lopez I thought so... This warning made me very confused. So I just created a PR #185 . |
Henceforth we should:
What do you think? |
Support >= |
Thanks @jorgebucaran
|
@smorimoto Could you create a different issue for that? Not sure what's wrong with that picture, though. @edouard-lopez Sounds good! 🎉 |
@jorgebucaran Of course. Ah, it was a little hard to understand with the image. |
@smorimoto Maybe you have a |
@jorgebucaran I'm specifying an empty for that; is that a problem? This behavior did not occur before. |
@smorimoto Nope, that shouldn't be the issue AFAIK. This seems like a Fish specific issue, so I'd suggest asking in https://gitter.im/fish-shell/fish-shell. |
The default prompt for fish doesn't cause this, and it happened after updating fisher and pure. |
I'm closing the issue as we have a new support strategy. @smorimoto Please open a dedicated issue so we have a clear thread. |
Versions Support Strategy has been added to the wiki for reference |
As I'm updating the .travis.yml config to run our tests against multiple versions, I'm wondering how many
fish
versions should we support?Currently TravisCI build:
2.5.0
,2.6.0
,2.7.1
,2.4.0
and3.0.0
.What support strategy should we adopt here?
@rafaelrinaldi @schrodincat @jorgebucaran @faho
The text was updated successfully, but these errors were encountered: