matrix-org / matrix-org/matrix-spec

Redirect /latest to the latest version instead of symlinking

Open
#915 0 comments 0 reactions 0 assignees View on GitHub
meta
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

Synlinking `latest -> v1.1` (or whatever version) has the benefit of being super easy to deploy, but the downside of people trying to use https://spec.matrix.org/latest as permalinks in MSCs/PRs/conversations/etc. Redirecting at least lowers the chances of that happening.

Some options for deployment are:
1. Infrastructure PR for each release to set up the new 302 (please no).
2. Small HTML page at `/latest/*` which does a "If you are not redirected in 10 seconds, click here" sort of deal.
3. ???

Contributor guide

Open the contributing guide

Research direction

Start by examining how spec.matrix.org currently deploys and serves /latest and its versioned paths. Compare the listed deployment options, then verify that /latest redirects to the current version without requiring a release-specific infrastructure change and that paths under /latest behave as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.