Bug 747216 - Client version output
Summary: Client version output
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-19 05:57 UTC by Joshua Wulf
Modified: 2014-10-19 22:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-22 17:28:49 UTC


Attachments (Terms of Use)

Description Joshua Wulf 2011-10-19 05:57:42 UTC
Can we get the client to output its version, and the webservice version, whenever it is run.


Here is an example of zanata client output:


[jwulf@gaura Zanata_Quickstart]$ zanata push
Loading zanata project config from: /home/jwulf/Work/Zanata/Zanata topicized/Zanata_Quickstart/zanata.xml
Loading zanata user config from: /home/jwulf/.config/zanata.ini
zanata server: http://zanata-excalibur.lab.eng.bne.redhat.com:8080/
zanata python client version: 1.3.1
error: Can not retrieve the server version, server may not support the version service
error: Please specify username and apikey in zanata.ini or with '--username' and '--apikey' options

The client outputs the client version, and returns the server version when it can get it.

This makes troubleshooting and debugging a lot easier.

At the moment there is no way to tell what version of the client someone is running.

Comment 1 Lee Newson 2011-10-19 23:12:22 UTC
Are you using the build from email sent containing skynet client build 7? (http://turkinator.eng.bne.redhat.com/client-build7/skynet.jar) As it displays the build on the first line.

This is the output from running the build in that email.

[lee@dhcp-1-77 Downloads]$ skynet push -cn test.txt
Skynet client build 7
ERROR: Cannot resolve the host address!


I've changed it a bit now to match more so the zanata output. The output is below:
[lee@dhcp-1-77 Downloads]$ skynet push -cn test.txt
Skynet client version: 7.0
Loading configuration from /home/lee/.config/skynet.ini
ERROR: Cannot retrieve the server version as the server address can't be resolved.
ERROR: Cannot resolve the server address!

And when the server is actually running:
[lee@dhcp-1-77 Downloads]$ skynet push -cn test.txt
Skynet client version: 7.0
Loading configuration from /home/lee/.config/skynet.ini
Web Service at http://localhost:8080/ version: 9.0


Note You need to log in before you can comment on or make changes to this bug.