[josm-dev] JSOM and SVN plugins

Dirk Stöcker openstreetmap at dstoecker.de
Sat Nov 7 12:29:08 GMT 2009


Hello,

please a note to all you plugin developers or people changing plugins in 
SVN:

When you change plugins in SVN please be sure to do a correct checking.

- Changes must be checked in and "svn up" must be called before doing a
   build which should be released
- The dist-directory contains a "getversions" script. Use it to verify
   your checkin.
- Be sure the version numbers and especially the required JOSM version is
   correct!

To support old versions of plugins JOSM has a feature to supply links for 
older version in the manifest or the plugin information file. For SVN 
these links are automatically created. Whenever the required JOSM version 
of a plugin changes, a script remembers the last usable version and adds a 
line in manifest for this version.

When the versions are wrong, this mechanism fails. When bug-reports show 
up, I then have to check SVN and reset the numbers to the last working 
version, which is a lot of hand-work.

So please save me work and be careful to checkin correct version. When in 
doubt, set required JOSM version to the highest JOSM number. This means 
older version wont get updates, but at least they wont load wrong plugins.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)





More information about the josm-dev mailing list