Bill,

Ok, I volunteered myself to write it. It works and seems to reasonably fit
within the existing Qt / CMake environment.

How do I get the changes to you? AppVersion.cpp is 49 lines long and
CMakeLists.txt has 10 new lines.

Do you want a Git pull request or do you want a patch file or should I just
send the changed files as attachments?

Please advise, and thanks.

--
Dave Slotter, W3DJS <https://www.qrz.com/db/W3DJS>


On Tue, Dec 1, 2020 at 5:25 PM Dave Slotter, W3DJS <[email protected]>
wrote:

> Bill,
>
> Do you want me to volunteer to write it?
>
> --
> Dave Slotter, W3DJS <https://www.qrz.com/db/W3DJS>
>
>
> On Tue, Dec 1, 2020 at 4:53 PM Bill Somerville <[email protected]>
> wrote:
>
>> On 01/12/2020 21:02, Dave Slotter, W3DJS wrote:
>>
>> Hi Bill,
>>
>> Thank you for all that you do for WSJT-X development. Because of your
>> contributions, tens of thousands (hundreds of thousands?) of amateur radio
>> operators enjoy operating digital modes with other amateur radio operators
>> around the globe.
>>
>> That said, under Linux (and probably also for Mac and Windows), using
>> the command line, when I type in "wsjtx --version", a GUI dialog is
>> displayed with the WSJT-X version, but that doesn't help a shell script
>> trying to get the WSJT-X version programmatically.
>>
>> I wrote an update script for Linux, and while it could in theory check
>> the version on the website and check the installed version and then
>> determine whether to download the newer version (or not), it is hampered by
>> this limitation.
>>
>> I did discover that there is a version number stored in
>> $HOME/.config/WSJT-X.ini, but that is only a preference setting, and does
>> not guarantee the version installed. Likewise, under
>> $HOME/.local/share/WSJT-X/logs/wsjtx_syslog_YYYY-MM.log the program version
>> is logged upon application startup, but once again, that's not a guarantee
>> of installed version.
>>
>> *May I please request that a) "wsjtx --version" return version string to
>> stdout and b) the operation is non-blocking?*
>>
>> *While I'm at it, may I please additionally request that c) wsjtx --help
>> also output to stdout ?*
>>
>> Is there an issue tracker for WSJT-X? I'd be happy to enter these
>> concerns into there directly. I went to SourceForge and didn't see any
>> mechanism for this.
>>
>> Thanks and 73,
>>
>> --
>> Dave Slotter, W3DJS <https://www.qrz.com/db/W3DJS>
>>
>> Hi Dave,
>>
>> that would have to be a non-Windows platform only change, in fact
>> non-macOS as well really. Windows and macOS don't normally have a console
>> attached when running the application. It would be easier to provide a
>> command line tool packaged with WSJT-X that did what you are looking for.
>>
>> 73
>> Bill
>> G4WJS.
>> _______________________________________________
>> wsjt-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>>
>
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to