The logic is already in place for https://www.drupal.org/8/download to redirect to 9.0.0 once it is released, making the 8 in the path not quite right. It should be replaced with something like

  • …/latest-core-release
  • …/latest-drupal-release
  • …/current/download

Proposed resolution

  1. Create a new redirect https://www.drupal.org/latest-release with the same target as the current one: it will go to the latest stable release of the current major version of Drupal.
  2. Replace links to https://www.drupal.org/8/download on d.o with the new link.

Comments

drumm created an issue. See original summary.

drumm credited benjifisher.

drumm’s picture

benjifisher raised this issue in Slack.

benjifisher’s picture

The status is NR, but I am not sure how to test this.

The existing redirect (/8/download) is used on https://www.drupal.org/download (with the link text "read release notes"). Maybe the IS should mention that we should update that once the new redirect is created.

drumm’s picture

We need to review & pick one of the 3 options, or something else.

The implementation is straightforward and can be deployed within 15 minutes, including redirecting 8/download to the new path and updating https://www.drupal.org/download.

berdir’s picture

Not sure if I understand the goal here.

For this to be useful for the critical core issue #3098475: Add more strict checking of hook_update_last_removed() and better explanation we _need_ it to point to the latest D8 release, because we want to point people to the best release they should update to before updating to D9. Sounds to me like the goal is now to change the URL to make it consistent with the current implementation and not the other way round :)

Could we make it download/ or something like that, so we can do download/8, download/9, ...?

drumm’s picture

Ah, I didn’t undertand the scope of the original request.

Currently, /8/download is misleading, not restricted to Drupal 8.*, and we should fix that. That’s this issue.

And there should be something to link to for “the latest/last Drupal 8.* release.” Currently, there is https://www.drupal.org/project/drupal/releases?api_version%5B%5D=7234, but that will be changing in the next few weeks, too. “API version” does not make sense when projects are all using semantic versioning, and are compatible with arbitrary ranges of Drupal core versions.

  • drumm committed 51ea1fa on 7.x-3.x
    Issue #3111136: Replace /8/download path with latest-release, since it...

  • drumm committed ad2879a on 7.x-3.x
    Issue #3111136: Also update links to /8/download
    
drumm’s picture

Status: Needs review » Fixed

The canonical path for this is now https://www.drupal.org/latest-release

benjifisher’s picture

Issue summary: View changes

I am updating the IS with a more detailed description of what (I think) has already been done. @drumm, can you confirm that my description is accurate?

I believe that we all have the same thing in mind, but #6 shows that there is still some uncertainty.

drumm’s picture

Issue summary: View changes

Once Drupal 9.0.0 is released, they will be different.

This is just making the link more accurate. It goes to the latest version of Drupal, 8, 9, or whatever. Wherever we can, we’re removing the concept of Drupal 8/9/etc, since the major version doesn’t matter as much.

If we do need some sort of redirect to the last 8 version, that’ll be a separate issue. If it can work, I recommend linking to https://www.drupal.org/project/drupal/releases?api_version%5B%5D=7234 for now, and watching #3104886: Update/remove API version filter on “All releases” pages.

benjifisher’s picture

Issue summary: View changes

In that case, I will update the IS again, and we will use a different link in #3098475: Add more strict checking of hook_update_last_removed() and better explanation.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.