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

[LATEST-RC/5.38.1] [Error folder does not exist] #814

Closed
1 task done
arafesthain opened this issue Mar 18, 2024 · 4 comments · Fixed by #815
Closed
1 task done

[LATEST-RC/5.38.1] [Error folder does not exist] #814

arafesthain opened this issue Mar 18, 2024 · 4 comments · Fixed by #815
Assignees
Labels
bug Something isn't working

Comments

@arafesthain
Copy link
Contributor

arafesthain commented Mar 18, 2024

Issue verification check:

  • is the current repository fully deployable at the commit SHA provided with the 'from' parameter of the command?

What is the problem?

Unable to run the sgd delta command with success

What is the parameter and the value you used with it?

sfdx sgd:source:delta -d -t HEAD -f 2024_GR02.1_stopclock -r /home/vsts/work/1/salesforce_repo -i /home/vsts/work/1/salesforce_repo/.forceignore -o output

What is the expected result?

Command run without error (SGD version 5.34.0)

What is the actual result?

''\''home/vsts/work/1/salesforce_repo'\'' folder does not exist, '\''home/vsts/work/1/salesforce_repo/.forceignore'\'' file does not exist, '\''home/vsts/work/1/salesforce_repo'\'' is not a git repository'

Steps to reproduce

Go on develop24GR03 branch and try to compare with 2024_GR02.1_stopclock tag with the same folder structure as on the command line

Execution context

Node:
v18.19.1
Npm version :
10.2.4
@salesforce/cli/2.32.8 linux-x64 node-v18.19.1
system: Ubuntu 22.04.4 LTS

sfdx-git-delta 5.38.1

yarn v1.22.21

@arafesthain arafesthain added the bug Something isn't working label Mar 18, 2024
@arafesthain arafesthain changed the title [LATEST-RC/5.38.0] [Error folder does not exist] [LATEST-RC/5.38.1] [Error folder does not exist] Mar 18, 2024
@scolladon
Copy link
Owner

Hi @arafesthain !

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

The issue is because of the absolute path IMHO...
It works well with relative path
I'll fix it very soon (I hope today).

Stay tuned !

@arafesthain
Copy link
Contributor Author

Ahaha yep could be the root cause :)
As I'm on a virtual machine with fixed environment variables, I have to stick to the absolute path for my own sake :D

Copy link

Shipped in release v5.38.2.
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.38.2

Happy incremental deployment!

@arafesthain
Copy link
Contributor Author

@scolladon alright from here! thx :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants