Repository navigation
Features preamble: Add warnings for Feature renames & deprecation - #366
Merged
Samruddhi Khandale (samruddhikhandale) merged 8 commits intoJan 5, 2023
Merged
Samruddhi Khandale (samruddhikhandale) merged 8 commits into
Samruddhi Khandale (samruddhikhandale) merged 8 commits into
Conversation
Samruddhi Khandale (samruddhikhandale)
requested a review
from a team
as a code owner
January 4, 2023 23:46
joshspicer
reviewed
Jan 4, 2023
Co-authored-by: John Keech <jokeech@microsoft.com>
Samruddhi Khandale (samruddhikhandale)
requested review from
John Keech (jkeech) and
joshspicer
January 5, 2023 00:08
John Keech (jkeech)
previously approved these changes
Jan 5, 2023
John Keech (jkeech)
left a comment
Contributor
There was a problem hiding this comment.
Thanks for applying the changes. I left one more comment about continuing to use sh instead of bash, but otherwise looks good.
Samruddhi Khandale (samruddhikhandale)
requested a review
from John Keech (jkeech)
January 5, 2023 21:23
John Keech (jkeech)
previously approved these changes
Jan 5, 2023
John Keech (jkeech)
left a comment
Contributor
There was a problem hiding this comment.
LGTM. Left a minor suggestion to simplify the generated script a bit, particularly in the "no warning" case.
John Keech (jkeech)
approved these changes
Jan 5, 2023
Samruddhi Khandale (samruddhikhandale)
deleted the
samruddhikhandale/legacyIds-info
branch
January 5, 2023 23:08
eitsupi
reviewed
Jan 9, 2023
| } | ||
|
|
||
| if (feature?.legacyIds && feature.legacyIds.length > 0 && feature.currentId && feature.id !== feature.currentId) { | ||
| warningHeader += `(!) WARNING: This feature has been renamed. Please update the reference in devcontainer.json to "${escapeQuotesForShell(feature.currentId)}".`; |
There was a problem hiding this comment.
Wouldn't it be better to end with \n same as line 261?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deprecation msg

Renaming msg
