Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: confirmation and warnings for convert behavior #1130

Merged
merged 12 commits into from
Aug 16, 2024

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Aug 13, 2024

uses the prerelease of forcedotcom/source-deploy-retrieve#1392 12.3.0-qa.1. Before merging this, go back to SDR main (it's not required for this change, just helpful for QA) and remove the yarn resolutions

What does this PR do?

adds a warning to make sure people don't have uncommited work before doing project modifications
adds a warning if people don't have main/default folders telling them that we're going to use them anyway
"reset" the sfProject Singleton instance to avoid stale presets during the conversion

QA notes:
yarn resolutions is there temporarily to force STL to also use that SDR prerel
you can use this command to go from "normal" to CL beta or CL beta2, or from one beta to the other.

What issues does this PR fix or reference?

@W-16486531@

@mshanemc mshanemc requested a review from a team as a code owner August 13, 2024 17:33
Copy link
Contributor

@jshackell-sfdc jshackell-sfdc left a comment

Choose a reason for hiding this comment

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

Teeny edits. Thx.

messages/convert.source-behavior.md Outdated Show resolved Hide resolved
messages/convert.source-behavior.md Outdated Show resolved Hide resolved
@shetzel
Copy link
Contributor

shetzel commented Aug 16, 2024

QA Notes: I see the warnings, with dry-run and without. Looks great!

@shetzel shetzel merged commit ad3bc40 into main Aug 16, 2024
41 checks passed
@shetzel shetzel deleted the sm/convert-source-behavior-confirmation branch August 16, 2024 16:47
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.

3 participants