Skip to content

Conversation

michellemcdaniel
Copy link
Contributor

@michellemcdaniel michellemcdaniel commented Nov 16, 2021

To double check:

For repos that publish to the SDK band channels, we occasionally want to create aka.ms links using both the sdk band version and the release channel version (i.e. 7.0.1xx and 7.0). This change introduces the concept of an alternate channel name and alternate short url prefix that will allow us to create aka.ms links for both on specified channels. As new sdk channels are added, which channel creates the release channel aka.ms links will need to manually rolled forward.

Tested here, having temporarily added an alternate channel name for the general testing channel (gentest): https://dev.azure.com/dnceng/internal/_build/results?buildId=1472816&view=logs&j=ba23343f-f710-5af9-782d-5bd26b102304&t=6e277ba4-1c1e-552d-b96f-db0aeb4be20a

We want to be able to not only specify -Channel 7.0.1xx to install the sdk from daily links, but also -Channel 7.0. In order to do this, we need to be able to create multiple aka.ms links for repos that publish to the SDK channels.

This change adds the "AlternateAkaMSChannelName" property to TargetChannelConfig and "AlternateShortUrlPrefix" to TargetFeedConfig. We then use this alternate prefix, when it exists, to create an additional aka.ms link in the LatestLinksManager.
Copy link
Member

@mmitche mmitche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants