Closed jdkgabri closed 3 months ago
Hi @jdkgabri !
Thanks for raising this issue and thanks for contributing in making this project better!
Sorry to ear it is hard to reproduce and thanks for the bisect analysis, looking at the commit helps a lot to give some context.
Could you tell the context of execution please ?
$ uname -v ; yarn -v ; node -v ; git --version ; sfdx --version ; sfdx plugins
And also, does the --repo
parameter is the current folder (.
) or do you execute the plugin from different folder (other than .
) ?
Hi @jdkgabri !
Thanks for raising this issue and thanks for contributing in making this project better!
Sorry to ear it is hard to reproduce and thanks for the bisect analysis, looking at the commit helps a lot to give some context.
Could you tell the context of execution please ?
$ uname -v ; yarn -v ; node -v ; git --version ; sfdx --version ; sfdx plugins
And also, does the
--repo
parameter is the current folder (.
) or do you execute the plugin from different folder (other than.
) ?
I have just added the execution context to the description.
The --repo
parameter I have not been using it,, so it runs with the default value, in the current repository always.
Couple of examples of the commands I tried:
sfdx sgd:source:delta --from HEAD^ --to HEAD --output deltas
sf sgd source delta --from origin/main --to HEAD --output deltas --source . --ignore .forceignore --ignore-destructive .forceignore --generate-delta
Ok great, I see the issue occurs in Windows Any chance you could run that on unixlike os and see if it has the same issue please ? (it would help a lot)
Ok great, I see the issue occurs in Windows Any chance you could run that on unixlike os and see if it has the same issue please ? (it would help a lot)
In a unix system it also happened, however, I managed to discovered that the issues happens when the --source
flag has the value "."
Thank you very much for your analysis here @jdkgabri, it is greatly helpful I'm able to reproduce the issue and I'll try to fix it asap
Stay tuned
Shipped in release v5.40.1
.
You can install the new version using the version number or the latest-rc
channel
$ sfdx plugins:install sfdx-git-delta@latest-rc
$ sfdx plugins:install sfdx-git-delta@v5.40.1
Happy incremental deployment!
What is the problem?
version 5.38.1 works fine, however, starting 5.38.2 (I believe a926a881818f01d85f21246bac4e5f9b7b5062a2 introduced the issue), when I try to generate the deltas, the result package.xml is empty.
What is the parameter and the value you used with it?
I face it with --to HEAD , and several variations of the --from flag.
What is the expected result?
The expected result, as it happens i 5.38.1 is the following package.xml:
What is the actual result?
Steps to reproduce
I am not sure to be honest. I do not do anything special to reproduce, and I guess this was tested and worked when the changes were done, however, the issue happens to me at least.
Execution context
$ uname -v ; yarn -v ; node -v ; git --version ; sfdx --version ; sfdx plugins