Here is the most interesting ouput I got:
mistria@mistria--rh:~/git/p2diff/org.eclipse.equinox.p2.example.p2diff.packaging/target/products/org.eclipse.equinox.p2.example.p2diff.product/linux/gtk/x86_64$
./p2diff -mode=ignoreVersions
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.3...
file:/home/mistria/git/jbosstools-target-platforms/jbosstools/multiple/target/jbosstools-multiple.target.repo/
< org.eclipse.update.core [3.2.600.v20130514-1341]
=== Summary ===
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.3...
contains 1 unique IUs
file:/home/mistria/git/jbosstools-target-platforms/jbosstools/multiple/target/jbosstools-multiple.target.repo/
contains 0 unique IUs
It's interesting, but in this specific case, it doesn't provide much value.
Here is what we would have noticed if we have used it earlier:
mistria@mistria--rh:~/git/p2diff/org.eclipse.equinox.p2.example.p2diff.packaging/target/products/org.eclipse.equinox.p2.example.p2diff.product/linux/gtk/x86_64$
./p2diff -mode=ignoreVersions
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.3...
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.3...
< org.eclipse.ecf.provider.filetransfer.httpclient [4.0.300.v20130309-0714]
< org.eclipse.persistence.jpa.jpql.source [2.5.0.v20130425-368d603]
< org.eclipse.ecf.provider.filetransfer.httpclient.ssl [1.0.0.v20130309-0714]
uk.co.spudsoft.birt.emitters.excel [4.2.2.v201305231539]
org.apache.poi [3.9.0.v201303080712]
=== Summary ===
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.3...
contains 3 unique IUs
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.3...
contains 2 unique IUs
Which is more interesting (notice the httpclient removal). So it looks
like this p2 diff tool can definitly help to anticipate some bugs as it
allows to spot changes in transitive dependencies.
Cheers,
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <
http://www.jboss.org/tools>
My blog <
http://mickaelistria.wordpress.com> - My Tweets
<
http://twitter.com/mickaelistria>