-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Notifications of new engine versions. #2442
Comments
In fact you tell us to check at client launch if there is a new client version, right ? |
This is for windows? Linux and other OS's have package managers. And for windows, we should maintain our presence in the chocolatey repo. Then we point people at that, and stop offering separate downloads, as we do already for linux. |
Indeed, but most of Linux distributions have not updated their packages. They sometime proposes versions old from 1 year. Some of them are still updated, and the PPA repository, for Ubuntu, is an example of solution. The solution I use the more to check for update is simply a local clone, which I update with git pull. For Windows users it would be good to be warned that a new version existes. |
The idea is good. There's already a way to change the server list URL, so why not add a setting for the news/update checking stuff? One disadvantage more: How would you notify older clients? |
Older clients cannot be warned, that's a problem, but with 0.5 release, people will be forced to upgrade their clients if server upgrade. So if this is added before 0.5 release, older clients would be a smaller problem. |
It depends on the release cycle of Linux distributions if a version of Minetest can be included or not. You can't always have the latest bleeding edge software and at the same time demand rock stable long term releases. There is a trade-off and the correct way to deal with this issue is to upgrade to a newer release of Ubuntu or to request backports. You can also choose to install a rolling release distribution such as Debian testing or Debian unstable where you get the latest software but where you obviously have to deal with more bugs than in stable releases. As one of the Debian maintainers for Minetest I recommend to make every "update check" opt-in because otherwise many would consider this a privacy breach and in the worst case this feature had to be disabled. |
Yes, that is a good point |
It's not technically a privacy breach, no information is sent to the
server. Only the latest version string is sent from server to client.
|
couldn't the client just request some informative string from the github minetest repository and compare that with some code snippet of the same purpose in the local version? |
That is a possible solution. You'd have to add a "stable" branch and maintain it. Unless you could get the latest version from Github reversion page. |
Yes, there is a JSON version API: https://api.github.com/repos/minetest/minetest/releases |
There is already a "privacy breach" as the version is sent for the master list (which is enabled by default). I don't see how this would worsen the current situation, rubenwardy has this already pointed out inside the issue description @Zeno- @apoleon. I still don't see the advantage in such a tracker. The version adoption problem minetest has is thanks to android forks which don't update, not because of (mostly) desktop users. #2508 would have tackled this, but apparently people didn't like it. At least server's lua should be abled to know which network protocol version the client uses, so that it can inform clients when the network protocol version is too old. This is fork-agnostic, and every fork can chose version numbers for the software itself as they want. If the app can't manage to update to new versions, then its in the interest of server owners to tell people they should move the app. I am admin of a server, and often my players can't even answer which app they use. I don't see why we should treat a rebranded version with ads and a paywall added, and whose "creator" doesn't even have the time to update it, like a serious fork like freeminer. Those apps have age old bugs which are long fixed in minetest, but are still inside those forks ("please all, stop talking, I want to craft"). I'm not fork-unfriendly, I'm unfriendly against unmaintained software. |
@est31 I think you misunderstood my comment. I merely said that apoleon had a point. Apart from that I have no objection whatsoever to this feature request. |
why should my client send any information? (besides what floats around in the chatty internet anyways) The client just needs to collect information - not send. So all I do is retrieve some info without telling anybody what for. Then I close the connection and compare the information with what I have locally and from this magic mumble jumble my app does at home, secretly, in hiding, without telling anybody in the internet, I build a message and tell the local user and only him whether the version on github differs from the local version. For those using a stable version it could just compare that and for the bleeding edge users it could state something like: "your locall version is 100 commits behind github" Then the user could decide upon his update strategy. |
@twoelk It is true, the client doesn't have to send information. I just pointed out that it already sends that information at another place. Also note, that I don't think its a good idea to synchronize this over github. Github might be great right now, but perhaps one day they do something we don't like, and we want to move. |
the most reliable way would be to send the latest version string to the client along with the server list. the client wouldn't need to give out any more information than it already does because it can do its own checks as stated by others above. |
I like how youtube-dl has done it where you run youtube-dl -U it will update only if it wasn't configured not to do so. If it doesn't update, it tells you to use your package manager for example. |
Another victim of the outdated Ubuntu software store: https://forum.minetest.net/viewtopic.php?f=3&t=13807 |
Debian (and Ubuntu, Linux Mint, …) strip out update checks/notifications anyway (since users are expected to upgrade their versions through the package manager). Adding an in-engine update check would be useful only for people who install from a PPA, or from source. |
Really? |
They strip out updating checking, but then never actually allow updates in their store? |
Am 28.12.2015 um 22:32 schrieb rubenwardy:
First of all Ubuntu and Linux Mint are Debian derivatives. https://wiki.debian.org/Derivatives They share a common platform but differ in various ways. The latest https://launchpad.net/ubuntu/+source/minetest Please encourage people to upgrade their systems instead or to ask for or direct them to related official IRC support channels and other Linux Debian based systems provide an excellent package manager called "apt" In this case the user runs Ubuntu 14.04 the LTS (Long Term Support)
https://help.ubuntu.com/community/UbuntuBackports
Then he can install the packages with sudo dpkg -i *.deb P.S.: Debian ships Minetest 0.4.10 in Debian stable but also provides a |
Please don't talk to me like that. It's rude and patronising. I am well aware of the distinction of aptitude, derbian and ubuntu Minetest should be independent from OS versions. The only good solution you gave is updating the version in the repos. Launchpad is not our code repository. We are not defined by launchpad, that's just a deployment method. |
@rubenwardy another option is to host ourselves repositories for up-to-date minetest. Could be better. |
Well in fact there is launchpad nightly ppa, it auto-builds every night, for all supported ubuntu releases. |
No need for minetest.conf, forks can just remove the code. |
It's a good general idea with limited usefulness, mostly because most players probably don't understand versioning systems beyond a "must-have" label. It is unlikely to curb bug reports from people using older versions, because they won't understand (and neither do Debian really) that Minetest doesn't have the resources to maintain a separate 'stable' version and distributors don't have the resources to keep up with dev versions, in fact in most cases this would be bad practice. Generally developers need to be a bit (maybe a lot) more patient with end-users and accept that most of them have no idea about the development cycle. This means being patient and boringly closing many bug reports with "we believe the issue you raised is fixed in the latest version" or whatever. If you are a Debian user you tend trust the repository version, because otherwise you lose support from Debian, so it's possibly counter-productive to notify the user that they're using an outdated version. As the Debian testing/sid version is out of sync with Irrlicht and buggy it currently needs rebuilding anyway <- @apoleon . |
@rubenwardy +1 |
Might be good to include an update button with the notice, that will download it from github (if it was prebuilt) or pull changes & compile it from source (if the user compiled it). Just my $0.02 😄 |
We need to start producing Windows installers, that's the best way to make it easy to update on Windows |
Could it not just download the prebuilt zip containing the binaries? |
I'd like your opinions on this. This issue is not about updating automatically. Please be open minded about this and consider the end-user, rather than just objecting due to it not being any use to you.
Advantages:
Disadvantages:
This should be considered low priority.
The text was updated successfully, but these errors were encountered: