wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | Incorrect libwget version (2.1.0) in 2.0.1 and master? (#608


From: @rockdaboot
Subject: Re: wget2 | Incorrect libwget version (2.1.0) in 2.0.1 and master? (#608)
Date: Tue, 19 Jul 2022 11:33:20 +0000



Tim Rühsen commented:


Hi @pandavoyageur 

These two version numbers are independent from each other. 2.0.1 is the version 
of Wget2 and 2.1.0 is the version of the library named libwget.

While the version increase for Wget2 is a human choice, the versioning for a 
library is mostly algorithmic (described in `configure.ac`):
```
# Define these substitutions here to keep all version information in one place.
# For information on how to properly maintain the library version information,
# refer to the libtool manual, section "Updating library version information":
# 
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
#
# 1. Start with version information of ‘0:0:0’ for each libtool library.
# 2. Update the version information only immediately before a public release of 
your software. More frequent updates are unnec
essary, and only guarantee that the current interface number gets larger faster.
# 3. If the library source code has changed at all since the last update, then 
increment revision (‘c:r:a’ becomes ‘c:r+1:a’).
# 4. If any interfaces have been added, removed, or changed since the last 
update, increment current, and set revision to 0.
# 5. If any interfaces have been added since the last public release, then 
increment age.
# 6. If any existing interfaces have been removed or changed since the last 
public release, then set age to 0.
```

So here it happens that both versions divert (it is highly likely that this 
true for future releases as well).  

I hope this helps to understand this admittedly confusion situation.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/issues/608#note_1030809804
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]