[josm-dev] JCS as optional dependency

Paul Hartmann phaaurlt at gmail.com
Thu Jun 18 15:06:33 UTC 2015


On 17.06.2015 00:21, Sebastiaan Couwenberg wrote:
> Would it be possible to make JCS an optional dependency and use the
> previous caching mechanism if it's not available?

We switched to the JCS cache to address an issue we had with the old 
custom file based caching system: There was no global size limit, so the 
cache would grow quickly to several GByte of image data.

Reverting to the old caching for Debian and Debian-based distributions 
would be a set-back and would reintroduce a nuisance that we already 
fixed. On top of that, it would mean considerable additional development 
effort to maintain both caching systems side by side. All that for a 
solution that is temporary anyway. We have a small team and I would 
rather see us going forward.

> This would make it easier to package current JOSM tested snapshots (and
> backports for these) until JCS is more widely available in distributions
> (JCS 2.0 is still at beta1). There are still several missing pieces to
> get JCS packaged in Debian for example.

Still, packaging of JCS for Debian seems to be the best way to fix this 
problem.

Best, Paul




More information about the josm-dev mailing list