Hi all,
As geogit approaches to a stable version, at Boundless we’re working on the integration story with geoserver, for which we have a DataStore implementation that can serve data through geoserver out of a geogit repository.
I managed to retrofit a bunch of dependency versions to match older versions used by geoserver, but the problematic one is google’s guava, because geogit requires version 14.0.1 at the minimum for its implementation of node hashing, which is two versions ahead of the one currently used by geoserver/gwc.
There’s also another open source project, a geoservices rest api implementation prototype, that uses json-schema-validator, which in turn requires guava 13.0.1 at the minimum, due to a known bug that’s being fixed in a newer version <https://github.com/fge/json-schema-validator/issues/39>
So in order to homogenize and be nice to these downstream projects I’m asking for permission to upgrade our current guava dependency, both in geoserver and geowebcache.
We would also need this upgrade to be backported to geoserver 2.5.x and 2.4.x, since our client has a testing infrastructure that requires geoserver 2.4-SNAPSHOT.
The current dependency is at version 11.0.1 (from 2012) to 14.0.1 (from 2013), or to the latest stable version instead.
The latest guava version is 16.0.1 (from 2014-01-17, my birthday btw).
Upgrading to the latest would require a couple minimal extra changes due to the fact that Closeables.closeQuitely(Closeable) was deprecated in 14.0.1 and removed in 15.0.1. For instance: <https://github.com/groldan/geoserver/commit/211a12d306becc3b950b8506f19743e7cd4d36e3>
If interested in checking what the changes would look like, here are the relevant branches to both projects:
<https://github.com/groldan/geoserver/tree/upgrade_guava_14.0.1>
<https://github.com/groldan/geoserver/commits/upgrade_guava_16.0.1>
<https://github.com/groldan/geowebcache/tree/upgrade_guava_14.0.1>
<https://github.com/groldan/geowebcache/tree/upgrade_guava_16.0.1>
Looking forward to your comments and advise on how to proceed.
Cheers,
Gabriel
–
Gabriel Roldán
Software Developer | Boundless