Opened 8 years ago

Last modified 8 years ago

#15885 closed enhancement

HTML version page — at Initial Version

Reported by: sebastic Owned by: stoecker
Priority: normal Milestone:
Component: Trac Version:
Keywords: Cc: sebastic

Description

The josm Debian package uses uscan(1) to check for new tested snapshots, it does this by requesting a URL and parsing the <a href> elements in the HTML and checks for the available versions.

There is no JOSM download page which includes the SVN revision for tested & latest in the download link, so a simple PHP script (josmredir.php) is currently used to download https://josm.openstreetmap.de/version and generate a simple HTML page with links including the SVN revision.

The Alioth server where the josmredir.php is currently hosted will be shutdown in the near future, and Debian doesn't provide webservers with PHP or CGI to its developers which could be used instead of Alioth.

Would it be possible to host an HTML variant of the version page which provides similar functionality?

Output like the following would be sufficient:

<!DOCTYPE html>
<html>
<head>
  <title>JOSM Versions</title>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>

<body>
<h1>JOSM Versions</h1>

<ul>
  <li><a href="https://josm.openstreetmap.de/josm-tested.jar?rev=13367">josm-tested.jar: 13367</a></li>
  <li><a href="https://josm.openstreetmap.de/josm-latest.jar?rev=13385">josm-latest.jar: 13385</a></li>
  <li><a href="https://josm.openstreetmap.de/download/windows/josm-setup.exe?rev=13367">josm-setup.exe: 13367</a></li>
  <li><a href="https://josm.openstreetmap.de/download/macosx/josm-macosx.zip?rev=13367">josm-macosx.zip: 13367</a></li>
</ul>

</body>
</html>

Change History (0)

Note: See TracTickets for help on using tickets.