Download link for latest version

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
pappapo
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Oct 16, 2006 6:45 pm

Download link for latest version

Post by pappapo » Sun May 20, 2018 7:16 pm

Hi,

On the Joomla website the download links appears like,
https://downloads.joomla.org/cms/joomla ... format=zip

My question is if there is a symlink somewhere pointing /latest to the above? The obvious idea is that /latest would always point to the latest version regardless of number.

Thanks,

//per

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Download link for latest version

Post by sozzled » Sun May 20, 2018 7:23 pm

pappapo wrote:My question is if there is a symlink somewhere pointing /latest to the above? The obvious idea is that /latest would always point to the latest version regardless of number.
I think this is what you are looking for: https://downloads.joomla.org/

pappapo
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Oct 16, 2006 6:45 pm

Re: Download link for latest version

Post by pappapo » Sun May 20, 2018 7:44 pm

I don't see a link to "latest" on that page? Or did I miss something?

I only see links to <version number>.zip, not to "latest".

//per

User avatar
JAVesey
Joomla! Hero
Joomla! Hero
Posts: 2656
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: Download link for latest version

Post by JAVesey » Sun May 20, 2018 7:52 pm

pappapo wrote:I don't see a link to "latest" on that page? Or did I miss something?

I only see links to <version number>.zip, not to "latest".
It is always the latest version; why would older versions, possibly with bugs or unmatched security issues, be available on the Joomla website?

Older releases are available elsewhere if anyone really needs them (if you do them ask where they can be found), but to leave these older versions available on the main website would only cause confusion.
John V
Cardiff, Wales, UK
Joomla 5.1.1 "live" site on PHP 8.2.15 and MariaDB 10.11.7 (with b/c plugin enabled)
Joomla 5.1.1 on XAMMP for MacOS with PHP 8.2.4 and MariaDB 10.4.28 (with b/c plugin enabled)

pappapo
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Oct 16, 2006 6:45 pm

Re: Download link for latest version

Post by pappapo » Sun May 20, 2018 7:59 pm

This is getting terribly difficult.

I was asking for a *symlink* called *latest* that would always point to the latest release regardless of version number.

Like, if the laster version is 3.8.5, there would be a symlink
latest -> 3.8.5.zip
Then, there is a new release, 3.8.6, the symlink would be
latest -> 3.8.6.zip

So the target of the symlink would change for each new release.

It is a *very* common practice in software development...

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9915
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Download link for latest version

Post by AMurray » Sun May 20, 2018 9:56 pm

As others have said, the link you see on downloads.joomla.org will always be the latest release (even if it doesn't state it in black and white). As an observation, I don't see that Wordpress or Drupal, as examples, present their downloads as a "latest version" link as you have described.

In fact, on downloads.joomla.org, you will see a link saying "Latest Release". You could book-mark that page in your browser favourites.

From main Joomla screen, you go to Download & Extend > Joomla Downloads > Latest Release.
https://downloads.joomla.org/latest
latest_release_joomla.PNG
I guess that is 50% closer to what you were asking for. :) ??? ???.

EDIT: this is the screenshot I meant to add, and this shows "Latest Release" link which goes to the above screen.
latest_joomla_2.PNG
You do not have the required permissions to view the files attached to this post.
Regards - A Murray
General Support Moderator

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12809
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Download link for latest version

Post by brian » Sun May 20, 2018 10:06 pm

sorry that no one has understood what you are asking which I assume is so that you can create some automation script.

Unfortunately there is no option for what you are asking. The closest (and not perfect for you) is the link https://www.gitub.com/joomla/joomla-cms/releases/latest which will always redirect to the latest version BUT not a single file as you will see
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

pappapo
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Oct 16, 2006 6:45 pm

Re: Download link for latest version

Post by pappapo » Mon May 21, 2018 7:39 am

Yes, it is for scripting - thank you for answering.

deleted user

Re: Download link for latest version

Post by deleted user » Mon May 21, 2018 11:40 am

We actually did put a small script at joomla.org/latest for just this.

With that said though, the concept of "latest" isn't nearly a simple "find highest version number and download" the majority of the time (any time the project is concurrently supporting two version branches, which there were two actively supported branches between 2008 and 2014 and there will be again once 4.0 is released as stable), that's covered in https://github.com/joomla/downloads.joo ... issues/114 and that's why the downloads site doesn't actually have a URI that's a shortcut to download the latest ZIP file for some release channel.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44175
Joined: Sat Apr 05, 2008 9:58 pm

Re: Download link for latest version

Post by Webdongle » Mon May 21, 2018 1:21 pm

Perhaps https://developer.joomla.org/nightly-builds.html may be of interest to you? Don't think it is for live sites though.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12809
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Download link for latest version

Post by brian » Mon May 21, 2018 4:09 pm

that link is absolutely not for live sites EVER. It also doesnt do what the OP is asking for.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

pappapo
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Oct 16, 2006 6:45 pm

Re: Download link for latest version

Post by pappapo » Mon May 21, 2018 5:26 pm

Some background to my question can be found here:
https://lists.freebsd.org/pipermail/fre ... 13412.html

So, the situation is that the FreeBSD ports system currently installs
https://github.com/joomla/joomla-cms/archive/3.8.7.zip

But for a CMS,
https://github.com/joomla/joomla-cms/re ... ackage.zip
(or bz2 or tar.gz)
would be more appropriate.
The former archive would be better suited for development purposes of Joomla itself.

Can someone from the team please confirm right or wrong?

Thanks!

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12809
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Download link for latest version

Post by brian » Tue May 22, 2018 8:33 am

I I had a read of the freebsd messages and you are correct it is completely wrong to use that archive in this use case. You are correct that the correct package is the release one
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/


Locked

Return to “General Questions/New to Joomla! 3.x”