-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
1.4.0 is asking for update to 1.4.230, but this is the newest version #5538
Comments
I am reasonably sure that this is because the package was built without specifying the And the update mechanism is correct: 1.4.0 < 1.4.230 so that's why you are seeing the update prompt. The correct build number can be obtained via the corresponding script in the |
@Krzmbrzl I am not entirely sure why a downstream is supposed to fetch a build number from a git repository while building (some build environments do not even allow network access during build time, and that's where Arch Linux is headed as well). It requires the caller to
To me it does not make a lot of sense to have this extra step and it reads rather excessive. I am not aware of any cross-platform software that does this to have build number as their patch level version. When looking at the website's article about this I believe that the assumptions in the background section are not correct:
This is what semver specifies as build metadata, but you have been using it as a fourth, dot-separated identifier in addition to semver. The supercollider project deals with this (for Windows) in a non-increasing fashion by adding a unique identifier to the build artifact (for stable versions and pre-releases) while adhering to semver:
In your terms this would denote to e.g. Note, that the build number is tied to your build system and it might be reset when you lose your build system's state. As such I do not understand why you would want to have it at all in your versioning scheme, because it has nothing to do with the code, but all to do with your build artifacts. For reasons I can not really understand at this point, the mumble project has opted to use a versioning scheme, that has nothing to do with semver and now uses an arbitrary build number that has nothing to do with the version, that builders of the software are supposed to retrieve manually. Sorry, but the amount of overhead to establish what is to me a completely broken versioning scheme is not okay and it should be re-evaluated, as it breaks general assumptions about versioning due to failing to use semver correctly and making the lives of packagers harder for the sole gain to fix a problem that does not seem to even be a problem (separating the sources of the project from the build system of the project). |
To get back to the actual topic of this issue:
I built mumble using It seems that this still leaves the "Check for Updates" menu item in the "Help" menu. For distribution packaged versions this does not really make sense though. Is that something that can be also removed when setting the mumble/src/mumble/CMakeLists.txt Lines 807 to 809 in 5be8b69
|
EDIT: On the topic of building from source tarballs. As far as I am aware this is a bit flaky anyway, since the source tarballs as created by GitHub do not contain any submodules, which we depend on for building Mumble. |
As an aside: You don't need the script at all if you are only building a released version. Just copy the build number right from the version you are building and everything should work out as expected. |
Description
Mumble in Version 1.4.230 is showing version 1.4.0 and asking for a upgrade to 1.4.230.
I can confirm this with the official archlinux-package of mumble in version 1.4.230-2 which is build from https://github.com/archlinux/svntogit-community/blob/packages/mumble/trunk/PKGBUILD and a fresh build from https://github.com/mumble-voip/mumble/releases/download/v1.4.230/mumble-1.4.230.tar.gz with the three following commands:
You can see the problem in the following screenshot:

Steps to reproduce
Mumble version
1.4.230
Mumble component
Client
OS
Linux
Reproducible?
Yes
Additional information
No response
Relevant log output
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: