Sorry Onno, I should have read more carefully to the end of your email. I really don't know how SourceForge's "latest" links are supposed to work. I suppose we could consider something like your suggestion of a symbolic link like "wsjtx-latest.tgz". In the meantime, you'll need to work around the need to use a specific version name.

        -- Joe, K1JT

On 12/30/2022 1:23 AM, Onno Benschop via wsjt-devel wrote:
Having spent several days attempting to find the answer in the documentation and the sourceforge HowTo information, I'm stuck.

Is there a static link to the latest version of the source .tgz file, so I can automate the compilation of the latest released version under Linux?


According to the sourceforge documentation the link to the latest version is:

  * https://sourceforge.net/projects/wsjt/files/latest
    <https://sourceforge.net/projects/wsjt/files/latest>

Unfortunately that link only ever returns a Windows .exe file when using wget. I've not been able to discover a way to provide either URL options or tweak the user-agent of my wget command, to actually ever get the .tgz file.


Although I can download a specific version using version numbers like this, this means that the URL is hard-coded and version dependent which defeats the purpose of what I'm working on:

  * 
https://downloads.sourceforge.net/project/wsjt/wsjtx-2.6.0-rc5/wsjtx-2.6.0-rc5.tgz 
<https://downloads.sourceforge.net/project/wsjt/wsjtx-2.6.0-rc5/wsjtx-2.6.0-rc5.tgz>


I can clone it with git, which takes a long time, even at depth=1, but that requires another separate clone and build for hamlib. This works, mostly, but it means that I'm not actually testing the latest source code .tgz file:

  * git clone --progress --depth 1 https://git.code.sf.net/p/wsjt/wsjtx
    <https://git.code.sf.net/p/wsjt/wsjtx>


Is there a symbolic link to the latest version, cunningly named something like "wsjtx-latest.tgz" which doesn't change between versions?



--
Onno Benschop

()/)/)()        ..ASCII for Onno..
|>>?            ..EBCDIC for Onno..
--- -. -. ---   ..Morse for Onno..

If you need to know: "What computer should I buy?" http://goo.gl/spsb66 <http://goo.gl/spsb66>

ITmaze   -   ABN: 56 178 057 063   -  ph: 04 1219 8888   - o...@itmaze.com.au <mailto:o...@itmaze.com.au>


_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to