Skip to content

Replace the 'latest' links with something more sturdy #3963

@mmitche

Description

@mmitche
  • Is this issue blocking: yes
  • Is this issue causing unreasonable pain: yes

The latest link in various repos point to blobs in various repos based on the latest build. This is typically done by copying the build output to a set of -latest- files in blob storage.

This is a bad practice for a number of reasons:

  • The copy strips off the version info of the file
  • The target location in blob storage is based in source. Which means it branches with the source. A custom build run on someone's random branch could accidentally overwrite the latest links.

Instead, what we should do is:

  1. For each channel that is public, automatically generate a set of aka.ms links for all published blobs, with the channel info in the link. For instance:
aka.ms/dotnet/dotnet3/sdk/sdk-x86.zip -> https://dotnetcli.blob.core.windows.net/dotnet/sdk/sdk-x86-12346.zip

This would redirect to the target blob location. At the same time, this also gives us an an opportunity to generate a README.md which could be checked into a repo, update a web page, etc.

This should be simple to implement and no changes should be required in the repos (though they can remove their existing latest copy steps when dependent systems are updated)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions