Replace the 'latest' links with something more sturdy
See original GitHub issue- 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:
- 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)
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Replace Symbolic Links with Files - linux
Another solution may be to mount the file system in question through something that hides the sym links (like samba), then just copy...
Read more >Hypertext Style: Cool URIs don't change.
There are no reasons at all in theory for people to change URIs (or stop maintaining documents), but millions of reasons in practice....
Read more >12 of the Best URL Shorteners for Sleek Links in 2023
A good URL shortener (a.k.a. link shortener) lets you do two things: 1. Share links that don't use too many characters. 2. Measure...
Read more >What you need to know about linking to files and pages in ...
SharePoint Online has some great capabilities when it comes to creating "durable" links to files. But, it turns out that the type of...
Read more >How to replace a sway bar link
To install the new sway bar link, use an Allen wrench to hold the stud on the end of the sway bar link...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve gone ahead and added the issue template to the desc, with this:
The download table is the only reasonable way for external dotnet/runtime contributors to get the signed daily runtime installers.
Right, this is mainly a problem for core-sdk