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

project deploy validate should support validation with destructive packages #2099

Closed
dobrusia opened this issue Apr 27, 2023 · 3 comments
Closed
Labels
feature Issue or pull request for a new feature

Comments

@dobrusia
Copy link

Is your feature request related to a problem? Please describe.
As force:source:deploy is planned to be deprecated in the future it would be nice that "project deploy validate" supported destructive packages like fotce:source:deploy does.

What are you trying to do
Validations that include destructive packages are highly useful in automated pipelines and code deployments. It would be regression comparing to force:source:deploy -c if destructive packages support was not included and it is actual blocker from migration to newer command.

Describe the solution you'd like
sfdx project deploy validate -x .\package.xml --pre-destructive-changes .\destructiveChangesPre.xml --post-destructive-changes .\destructiveChangesPost.xml

Describe alternatives you've considered
None.

Additional context
N/A

@dobrusia dobrusia added the feature Issue or pull request for a new feature label Apr 27, 2023
@github-actions
Copy link

Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments.

@git2gus
Copy link

git2gus bot commented Apr 27, 2023

This issue has been linked to a new work item: W-13112437

@shetzel
Copy link
Contributor

shetzel commented May 1, 2023

This is supported by the project deploy start command and the --dry-run parameter. It would be:
project deploy start --dry-run -x .\package.xml --pre-destructive-changes .\destructiveChangesPre.xml --post-destructive-changes .\destructiveChangesPost.xml

@shetzel shetzel closed this as completed May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issue or pull request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants