| Summary: | [server] Unable to customize the build version displayed in the about page | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Anthony Hunter <ahunter.eclipse> |
| Component: | Server | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 10.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Anthony Hunter
Fixed with commits: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=cf12af44cb61ae1ccef38fba3b23176828894d02 http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=d615d4b96645011cc431e783df53e7013e7a32d6 In addition, a client would just like the Build in JSON format. Seems like the best way is to add the API: http://localhost:8080/version to return: {"build": "10.0.0.v20150914-1654"} (In reply to Anthony Hunter from comment #2) > In addition, a client would just like the Build in JSON format. > > Seems like the best way is to add the API: > > http://localhost:8080/version > > to return: > > {"build": "10.0.0.v20150914-1654"} This is fixed with commit: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=b8d9690586a8a45352a4b2d7e1832070c796b802 (In reply to Anthony Hunter from comment #2) > {"build": "10.0.0.v20150914-1654"} There is a problem introduced with the last change. The old build id was 10.0.0-v20150914-1654. The change of the dash in "10.0.0-" to dot in "10.0.0." broke the promotion script and crap is shown in the downloads page. (In reply to Anthony Hunter from comment #4) > (In reply to Anthony Hunter from comment #2) > > {"build": "10.0.0.v20150914-1654"} > > There is a problem introduced with the last change. > > The old build id was 10.0.0-v20150914-1654. The change of the dash in > "10.0.0-" to dot in "10.0.0." broke the promotion script and crap is shown > in the downloads page. Fixed with commit: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=bd0f1dce3a48e445708295334c91d9681e97d0e5 |