Modify

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#5675 closed enhancement (wontfix)

Menu option to 'check for updates'

Reported by: AcrossCanadaTrails Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Hi,
I think it would be great if there was an option in JOSM to automatically check and download the latest version of the program, as well as have a 'full install' version where all of the available plugins were automatically included in the setup.
This way, each time you start JOSM it will be the latest version.

I know i have know idea how to do this myself, so it's just a 'wish list' item :)

Thanks,

Attachments (0)

Change History (11)

comment:1 by stoecker, 14 years ago

Component: Internal presetCore
Owner: changed from ce to team

comment:2 by skyper, 14 years ago

I wrote a bash script several month ago, and a cron job running it. It is somehow unfinished and maybe needs a bit of rework, but it is running without a problem. I might upload it these days.

At least on a Linux system, it is not that easy, if you have JOSM installed under /usr and not in the users directory (especially without sudo installed).

By the way, is there a possibility to get the JOSM revision from the .jar file without running java. (Java does not run without home dir).

Cheers skyper

comment:3 by stoecker, 14 years ago

unzip -c dist/josm-custom.jar META-INF/MANIFEST.MF |grep Main-Version

in reply to:  3 comment:4 by skyper, 14 years ago

Replying to stoecker:

unzip -c dist/josm-custom.jar META-INF/MANIFEST.MF |grep Main-Version

No Main-Version in META-INF/MANIFEST.MF.

comment:5 by stoecker, 14 years ago

Sorry works only for SVN version. Use unzip -c josm-latest.jar REVISION|grep "Last Changed Rev" for release version.

in reply to:  5 comment:6 by skyper, 14 years ago

Replying to stoecker:

Sorry works only for SVN version. Use unzip -c josm-latest.jar REVISION|grep "Last Changed Rev" for release version.

Thanks.

in reply to:  2 comment:7 by skyper, 14 years ago

Replying to skyper:

I wrote a bash script several month ago, and a cron job running it. It is somehow unfinished and maybe needs a bit of rework, but it is running without a problem. I might upload it these days.

I did some small adjustments and you can find it under:
http://wiki.openstreetmap.org/wiki/User:Skyper/JOSM_update_script

comment:8 by stoecker, 14 years ago

You can remove the grep in the revision check, when you do the same with awk later on :-)

in reply to:  8 comment:9 by skyper, 14 years ago

Replying to stoecker:

You can remove the grep in the revision check, when you do the same with awk later on :-)

Thanks that was left from changing the check methode and I did copy some code twice - fixed.

comment:10 by stoecker, 14 years ago

Resolution: wontfix
Status: newclosed

I forgot to state this as wontfix: The installation procedures for the systems are very different. Under Linux usually you have RPM/DEB packages, for Windows the installer and so on. JOSM does not want to reinvent the wheel.

I can only suggest to use Linux (e.g. openSUSE) and then you get JOSM updates automatically whenever one is available :-)

in reply to:  10 comment:11 by skyper, 14 years ago

Replying to stoecker:

I can only suggest to use Linux (e.g. openSUSE) and then you get JOSM updates automatically whenever one is available

:-)

Thought Gentoo is the only distribution that is building from source.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.