tjsnell/vdiff — pull request #1 by elakito (2014-07-25 09:05:31+00:00)
Title: vdiff to handle various other projects

Hi Tracey,
we talked about this change about a half year ago.
This patched version uses some heuristics to do the right look up so that it can look up not just a few apache projects at github but some others such as atmosphere and async-http-client. Basically, any project does defines the version constants in its root pom.xml or in its parent/pom.xml can be queried.
I am using it now to look up cxf and those other projects.

In short, you can use the queries like

/version-diff/?repo/proj

where repo is the repository name like "apache", "AsyncHttpClient", "atmosphere", or even your repo name. And proj is the project name like "camel", "cxf", "atmosphere", etc. Both repo and proj parameters can be omitted and in this case, these values are set to apache and camel by default, respectively.

So, for looking up camel, you can use one of the following queries
/version-diff/
/version-diff/?camel
/version-diff/?apache/camel

For looking up cxf, you can use
/version-diff/?cxf
/version-diff/?apache/cxf

For looking up atmosphere, you can use
/version-diff/?Atmosphere/atmosphere

I was wondering if you could merge the change into your repo and put it up at your http server so that we can all use this service. That would be great.

Thanks.
Regards, Aki