Skip to content
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

build: set soname to major.minor #1146

Merged
merged 1 commit into from
Sep 1, 2024
Merged

build: set soname to major.minor #1146

merged 1 commit into from
Sep 1, 2024

Conversation

Tachi107
Copy link
Member

@Tachi107 Tachi107 commented Jul 7, 2023

Until the 1.0 release, setting the soname to version_major.version_minor gives us more freedom to make changes without being too restricted by ABI compatibility.

We never actually really commited to ABI stability before the 1.0 relase - the README states that at the bottom - but I made this decision clearer by updating the "versioning" section.

Until the 1.0 release, setting the soname to version_major.version_minor
gives us more freedom to make changes without being too restricted by
ABI compatibility.

We never actually really commited to ABI stability before the 1.0
relase - the README states that at the bottom - but I made this decision
clearer by updating the "versioning" section.
@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: +0.10 🎉

Comparison is base (8729275) 77.94% compared to head (470cf7c) 78.05%.

❗ Current head 470cf7c differs from pull request most recent head 07185ff. Consider uploading reports for the commit 07185ff to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1146      +/-   ##
==========================================
+ Coverage   77.94%   78.05%   +0.10%     
==========================================
  Files          53       53              
  Lines        6852     6852              
==========================================
+ Hits         5341     5348       +7     
+ Misses       1511     1504       -7     

see 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kiplingw
Copy link
Member

Hey @Tachi107. So sorry for leaving this to collect dust. I totally forgot about it.

The issue here is that SONAME versioning is not supposed to mirror the library's versioning. That's the general best practice. SONAME versioning is just supposed to reflect the interface.

@jcalcote wrote an excellent book, Autotools: A Practioner's Guide to GNU Autoconf, Automake, and Libtool. There's a section in chapter 7, Library Versioning Is Interface Versioning which deals with this exact topic.

@Tachi107
Copy link
Member Author

Tachi107 commented Sep 1, 2024 via email

@kiplingw
Copy link
Member

kiplingw commented Sep 1, 2024

Can we merge now as a temporary measure, but pledge to implement Calcote's method later before we do a stable release?

@Tachi107
Copy link
Member Author

Tachi107 commented Sep 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants