JSOM and SVN plugins

View: New views
3 Messages — Rating Filter:   Alert me  

JSOM and SVN plugins

by Dirk Stöcker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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)


_______________________________________________
josm-dev mailing list
josm-dev@...
http://lists.openstreetmap.org/listinfo/josm-dev

Re: JSOM and SVN plugins

by Ævar Arnfjörð Bjarmason :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Nov 7, 2009 at 12:29 PM, Dirk Stöcker
<openstreetmap@...> wrote:
> - The dist-directory contains a "getversions" script. Use it to verify
>   your checkin.

There's no documentation for this script. What does it check and how
do I know that the XML it's dumping is OK or not?

_______________________________________________
josm-dev mailing list
josm-dev@...
http://lists.openstreetmap.org/listinfo/josm-dev

Re: JSOM and SVN plugins

by Dirk Stöcker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 7 Nov 2009, Ævar Arnfjörð Bjarmason wrote:

>> - The dist-directory contains a "getversions" script. Use it to verify
>>   your checkin.
>
> There's no documentation for this script. What does it check and how
> do I know that the XML it's dumping is OK or not?

You should read better! "getversions" in "dist" directory. Not
"getrevisions.pl" in "plugins" directory.

The later does only dump the highest SVN version number. It is required
for these plugins, which cannot detemine version from current directory
only (as e.g. osmarender, where version also depends on the included
external links).

Ciao
--
http://www.dstoecker.eu/ (PGP key available)
_______________________________________________
josm-dev mailing list
josm-dev@...
http://lists.openstreetmap.org/listinfo/josm-dev