Subject: Re: Feature Request: Add Latest Version URL
From: Rohit Vardam
Date: Thu, 24 Nov 2022 22:27:32 +0530
Hi,

Thank you for your prompt reply and solution. Much appreciated.

Regards,
Rohit Vardam

On Thu, Nov 24, 2022 at 10:13 PM Ondřej Jirman <megatools@megous.com> wrote:

> 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.
>