LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-21-2016, 09:35 AM   #1
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
The myths about software version numbers.


In my opinion, this article from Jesse Smith is interesting for end users as well as software packagers: http://distrowatch.com/weekly.php?issue=20160321#myths

This reminds me the words of Patrick Volkerding in the email received by "root" after each Slackware installation:
Quote:
Some also think that any package with a larger build number is "better", when there have been many instances that a new upstream release wasn't working properly and we had to roll back to an earlier one, and an automated upgrade tool didn't want to "downgrade" the package. This is something upgradepkg will gladly do, as it doesn't (as it should not) take the package's version number to mean much of anything.

Last edited by Didier Spaier; 03-21-2016 at 10:57 AM.
 
Old 03-21-2016, 11:10 AM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Indeed, the article makes many good points. It should be pointed out that many projects now also label versions as the latest "stable" release vs. a "beta" or "development" version. Unfortunately too, though, many proprietary/closed versions fail completely to document any sort of change log, making it impossible to rationally decide whether or not "upgrading" is actually a good idea or not. That's another fine reason for open source.
 
Old 03-21-2016, 11:20 AM   #3
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by the article
As an example, I have worked on a few open source projects which used incremental version numbers. For instance, 4.8 was followed by 4.9, then 5.0, 5.1 and 5.2. It was a surprise to me how often our mailing list received comments from our users along the lines of, "There are a lot of great changes in this update. It feels like more of a 5.0 than a 4.6." Or perhaps, "This 6.0 release sounds good, but I'm going to wait for 6.1 or 6.2." Both sets of comments ignored how the project's versioning system worked. It didn't matter if we piled on lots of new features or spent the entire release cycle working on bug fixes, in the end the version number went up an additional 0.1.
This kind of numbering is just needlessly confusing. The decimal point makes it look like there is a distinction between point release and major ones; there would be much less confusion if they just used 48, 49, 50, 51, 52...
 
2 members found this post helpful.
Old 03-21-2016, 01:54 PM   #4
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by ntubski View Post
This kind of numbering is just needlessly confusing. The decimal point makes it look like there is a distinction between point release and major ones; there would be much less confusion if they just used 48, 49, 50, 51, 52...
You're just as guilty, here, of making assumptions about the methodology underlying a project's versioning as the examples you quoted from the article.

For some projects, numbers mean little. For others, they discern between feature releases and bugfix releases. For others, they discern between degree of feature differences. For many, they mean nothing beyond providing a chronological ordering. When git release hashes are used, they don't even mean that.

Semantic Versioning was created to try to formalize what versioning used to mean for most projects, long long ago. This formalization hasn't helped bring good practices back, unfortunately. It requires too much discipline, or something. http://semver.org/

Even with Semantic Versioning, though, what Volkerding says is spot-on correct. Knowing what version of a package is "best" requires (1) matching its features against users' requirements, and (2) thorough testing, to determine that the release is acceptably bug-free.

With Semantic Versioning, criterion #1 correlates loosely with major and minor version numbers, and criterion #2 correlates loosely with patch version numbers (but only within the context of a minor version; version 1.3.100 should be less buggy than version 1.3.1, but the bugginess of 1.3.100 and 1.4.100 cannot be usefully compared based on version numbers alone), but not enough to justify not testing.

If this all seems too complex, then you're best off assuming version numbers are completely meaningless, and leaving it up to folks like PV to do the hard work of figuring it out.
 
3 members found this post helpful.
Old 03-21-2016, 08:04 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
libtool supported another way to do things: http://www.delorie.com/gnu/docs/libtool/libtool_35.html
 
Old 03-22-2016, 02:59 AM   #6
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
in libraries there is a sense in major.minor.patchlevel
patchlevel numbers mean binary compatibility to the same major.minor number
minor numbers add minor features, should remove none, but may deprecate features, (read feature as API call)
major number may remove/change and add features, or totally change the design of a library that you do nor recognise it any more.

for apps, like firefox, use what ever seems appropriate, but the name might indicate compatibility to some plugin interface, ..

what people have for meanings about numbers, everyone has an opinion and that's ok,
but the 'I do not use Zero in name version' folks are mostly not those with the greatest expertise.
even if some projects might release version zeros as 'hey please use the new thing and report problems', what is also OK, but not a general pattern.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Debunking Free Software Myths LXer Syndicated Linux News 0 04-23-2010 05:01 AM
LXer: Report: The Twelve Top Myths of Free/Open Source Software LXer Syndicated Linux News 0 11-26-2008 08:10 AM
version numbers (from uname) pellicle Red Hat 2 07-10-2008 10:41 PM
Version numbers X11 Programming 2 04-09-2002 08:56 AM
file version numbers tjones11 Programming 2 03-15-2002 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration