Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Reproducible version qualifier without Git-based timestamp

In short, comparing two bundles ignoring version qualifier is a very hard problem. You can read longer discussion that went through several alternatives, including one you suggest, in bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=367581

--
Regards,
Igor



On Fri, Aug 30, 2013 at 12:36 PM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
Hi all,

I've been wondering (in the context of reproducible version qualifier) why having a Git-based timestamp is better than having one showing the date of the build. It seems to me that the only reason why the reproducible version qualifier issue requires Git timestamps is because it's the only way to get p2 comparator comparing bundle from baseline with just built bundle.
If I am right, do you think it would make sense to create a p2 comparator which ignores qualifier, and which is able to compare 2 bundles with same id and same major.minor.micro version? That way, we wouldn't have to care much about qualifier and if the just-build bundle is the same as the one from baseline, except for it's qualifier, Tycho would use the one from baseline as a replacement.

Does it make sense? Did you already made experiments with such an implementation? Do you anticipate any issue/drawback?
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev



Back to the top