irbull / p2diff Goto Github PK
View Code? Open in Web Editor NEWA tool to diff two p2 repos
A tool to diff two p2 repos
Currently, p2diff is only printed to System.out. It would be very useful to also have it on a file (configured with some --output=" flag.
Steps to repro:
a) fetch this target platform definition and resolve it locally:
https://github.com/jbosstools/jbosstools-discovery/tree/f540ae28296228b9cfa6ca7c22f60fdf88dd5a5c
b) move the resulting folder somewhere, then apply this PR or (fetch the specific commit), and repeat.
jbosstools/jbosstools-discovery#158
https://github.com/nickboldt/jbosstools-discovery/tree/755325ea7e03fe3b3526868c56d4612b7b61340c
c) you should have two target platform sites now, which vary only in that one contains a newer version of maven.apt.feature (and contained plugins)
Screenshot of Beyond Compare showing the differences:
https://issues.jboss.org/secure/attachment/12382638/jbide17429_p2diff-jbtcentral.png
d) run p2diff on the sites, get no console output, no summary, no list of changed IUs
~/tmp/p2diff/p2diff -mode=all -query=all -onlylatest -ignorecase file:///home/nboldt/disco/jbtcentraltarget/multiple/target/jbtcentral-multiple.target.repo/ file:///tmp/jbtcentral-multiple.target.repo_2014-05-26_13-23_GOOD/
(Also tried with no modifier flags, same result.)
Note that my version of p2diff has worked for other sites. It's built from https://github.com/nickboldt/p2diff, not https://github.com/irbull/p2diff, but I think the code is the same.
We use embedded jar in our plugins. A typical situation where the current comparison strategies (default and deep) are falling short is where the embedded jar is SNAPSHOT but was updated. Neither of the current comparisons would then detect the new IUs would have to get published. A binary comparison would fix this.
@nickboldt cc
Would you or me do?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.