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

hardis:org:data:delete doesn't support full range of delete operations #787

Open
readeral opened this issue Sep 20, 2024 · 2 comments
Open

Comments

@readeral
Copy link
Contributor

readeral commented Sep 20, 2024

Currently SFDMU offers the following deletion options:

  • Delete
  • HardDelete
  • DeleteSource
  • DeleteHierarchy

DeleteSource operates on the source only, but the rest all require a target org. sfdx-hardis delete command only works with deletesource as it only uses the --sourceusername flag.

Related to #786 using the 'delete' option enables cleaning up the target before uploading data from source using objectSets. Supporting the full range of options would require a refactor, I can have a look at all this eventually.

@readeral
Copy link
Contributor Author

I've removed my two paragraphs about safety.. I see you've got plenty of checks to ensure you can't accidentally run it in production!

@nvuillam
Copy link
Member

@readeral indeed i wanted to make sure to avoid accidents in production :)
I didn't know about the other options, plz be my guest for a PR to branch migrate-sf-plugin :)

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

No branches or pull requests

2 participants