Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337193 - [tools] Detect if code changed but bundle version's service segment not increased
Summary: [tools] Detect if code changed but bundle version's service segment not incre...
Status: CLOSED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-15 05:22 EST by Dani Megert CLA
Modified: 2020-01-15 09:01 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2011-02-15 05:22:57 EST
The comparator already catches cases where the byte code of a bundle changed but the bundle version did not (while it should have been increased). Another common failure is that the (byte) code changed but the bundle version (tag or service segment) did not get increased compared to the previously built bundle in the repository. We have to add a releng test to catch that scenario. As an ugly example take bug 337109.
Comment 1 Kim Moir CLA 2011-02-16 12:05:54 EST
The comparator isn't a releng bundle, it's maintained by p2 (equinox.p2.repository.tools). We just parse the log generated by the comparator.
Comment 2 Lars Vogel CLA 2019-09-24 13:57:03 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 3 Alexander Kurtakov CLA 2020-01-15 09:01:15 EST
This has been done for multiple releases now via tycho.