scolladon / sfdx-git-delta

Generate the sfdx content in source format from two git commits
Other
428 stars 115 forks source link

@salesforce/cli compatibility #673

Closed hungrypipo closed 1 year ago

hungrypipo commented 1 year ago

With sfdx-cli being now deprecated will this component be compatible as a plugin to the replacement cli @salesforce/cli?

This is the message on sfdx-cli in npm: sfdx-cli is deprecated, and no updates are planned. Use @salesforce/cli instead. See https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_move_to_sf_v2.htm

If I install the latest @salesforce/cli and try to install this plugin I get the error

pip@pip:~$ sfdx plugins:install sfdx-git-delta

NpmError: Failed to find @salesforce/plugin-sfdx-git-delta@latest in the 

registry

Code: NpmError

My steps were: Get NodeJS 18

sudo npm install -g @salesforce/cli

sfdx plugins:install sfdx-git-delta

scolladon commented 1 year ago

Hi @hungrypipo !

Thanks for raising this issue and thanks for contributing in making this project better!

We are aware that there may be some compatibility quirks with sf.

We are planning doing the migration but we don't know yet when nor how it will be released (which tag / version). We don't have yet automation to make sure it works and we barely tested it with various result.

Stay tuned, we plan to work on this subject at the earliest in September.

hungrypipo commented 1 year ago

Awesome thanks, I was hoping it was on your radar

scolladon commented 1 year ago

Hi @hungrypipo

We have tested the plugin with sf v2 and it works fine now. More information available in this discussion.

Please reopen this issue if you think you still have a problem and have more information. Until that, happy incremental deployment !