question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:

  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)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
dagoodcommented, Feb 17, 2020

I’ve gone ahead and added the issue template to the desc, with this:

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

The download table is the only reasonable way for external dotnet/runtime contributors to get the signed daily runtime installers.

1reaction
mmitchecommented, Sep 17, 2019

Not true for Core-Setup. The dev would also have to configure their random branch to have a default assignment to the BAR channel associated with the dotnetcli ‘latest’ channel.

Right, this is mainly a problem for core-sdk

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found