Subject: Re: Feature Request: Add Latest Version URL
From: Ondřej Jirman
Date: Thu, 24 Nov 2022 17:43:05 +0100
Hi,

On Thu, Nov 24, 2022 at 07:04:08PM +0530, Rohit Vardam wrote:
> Hi,
> 
> Currently, it is difficult to update the megatools version automatically,
> because the download URL has dates in it making it unpredictable. (
> https://megatools.megous.com/builds/builds/)
> 
> Request you to have URLs such as this in the /builds/builds directory:
> 
> megatools-latest-linux-aarch64.tar.gz
> <https://megatools.megous.com/builds/builds/megatools-1.11.0.20220519-linux-aarch64.tar.gz>
>     19-May-2022 15:09
> 3218664megatools-latest-linux-arm.tar.gz
> <https://megatools.megous.com/builds/builds/megatools-1.11.0.20220519-linux-arm.tar.gz>
>         19-May-2022 15:08
> 3106272megatools-latest-linux-i686.tar.gz
> <https://megatools.megous.com/builds/builds/megatools-1.11.0.20220519-linux-i686.tar.gz>
>        19-May-2022 15:08
> 3398637megatools-latest-linux-mips32.tar.gz
> <https://megatools.megous.com/builds/builds/megatools-1.11.0.20220519-linux-mips32.tar.gz>
>      19-May-2022 15:09
> 3137187megatools-latest-linux-x86_64.tar.gz
> <https://megatools.megous.com/builds/builds/megatools-1.11.0.20220519-linux-x86_64.tar.gz>
>      19-May-2022 15:08             3368490megatools-latest-win32.zip
> <https://megatools.megous.com/builds/builds/megatools-1.11.0.20220519-win32.zip>
>                19-May-2022 15:08
> 3027433megatools-latest-win64.zip
> <https://megatools.megous.com/builds/builds/megatools-1.11.0.20220519-win64.zip>
> 
> Using these URLs, it will be possible to reliably grab the latest version
> of megatools according to the architecture/OS requirements.

I've added the LATEST file with a version basename.

  https://megatools.megous.com/builds/LATEST

kind regards,
	o.

> Regards,
> Rohit Vardam.