Need to update micro version in shlibs file when symbols are added
Bug #1548718 reported by
Michi Henning
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api (Ubuntu) |
Fix Released
|
High
|
Michi Henning |
Bug Description
Currently, we are writing only major.minor into the shlibs file. But, if we add a new symbol to the public API and only increment the micro version, we really need to write the micro version as well.
Unfortunately, that's a manual process, so we need to remember. With the next version of abigail, it might be possible to spit out some big-time warning or some such when new symbols are added to the public API. At least that would help to remind us.
Related branches
lp:~michihenning/unity-scopes-api/shlib-fix
- James Henstridge: Approve
- Marcus Tomlinson (community): Approve
- unity-api-1-bot: Approve (continuous-integration)
-
Diff: 188 lines (+37/-47)8 files modifiedHACKING (+22/-40)
debian/LAST_ABI_ADDITION_QT-VERSION (+1/-0)
debian/LAST_ABI_ADDITION_VERSION (+1/-0)
debian/bileto_pre_release_hook (+8/-3)
debian/changelog (+1/-0)
debian/control (+2/-2)
debian/libunity-scopes-qt.shlibs.in (+1/-1)
debian/libunity-scopes.shlibs.in (+1/-1)
Changed in unity-scopes-api (Ubuntu): | |
assignee: | nobody → Michi Henning (michihenning) |
importance: | Undecided → High |
Changed in unity-scopes-api (Ubuntu): | |
status: | New → In Progress |
Changed in unity-scopes-api (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity-scopes-api (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The shlibs file should read something like:
libunity-scopes 1.0 libunity-scopes1.0 (>= 1.0.x)
Where 1.0.x is the last release where new ABI was introduced (currently it omits the version assertion on the end).
For mediascanner2, I am not generating the shlibs file from anything, but instead manually update it. It's not perfect, but I'm not sure of a better alternative yet.