-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Custom Fields not recognized in latest version #869
Comments
Hi @JulienDryepondt ! Thanks for raising this issue and thanks for contributing in making this project better! I just had a look to our E2E test and there does not seems to be a regression there Could you help us reproduce the issue by providing the steps to reproduce it please ? |
It's a gitlab runner doing the commands The runner does
I entered in the case where the Delta is empty so it doesn't find anything. By changing the pluging version and not taking the lastest, i don't enter in my custom error message. I hoped this is the reason. But it might be a combination of different versions of tools since you don't have the issue. |
I see. Could you show us the result of this command please: $ git diff --name-status --no-renames $LAST_DEPLOYED_COMMIT HEAD And if you could replicate the issue inside a fork of our reproduction playground and give me access to your fork it would be greatly helpful ! |
Here's my script logs on latest version :
And lower with the command
I'll try to reproduce on a fork tommorow |
Thanks for that already, could you show the content of the forceignore file before doing the reproduction setup in the fork please ? |
forceignore is the standard one at the creation of an sfdx project
|
Hi @JulienDryepondt Could you try renaming the file |
Hello, sorry for the delay. You pointed my error, thanks. It's working as expected now |
What is the problem?
While doing
mkdir output && sfdx sgd:source:delta -d -t HEAD -f $LAST_DEPLOYED_COMMIT -i .forceignore -o output
my custom fields aren't inside the package.xml or in the force-app/main/default
What is the expected result?
Fields should be included inside the force-app folder.
Steps to reproduce
Download latest plugin (tested with 5.39 and 5.40) with
echo y | sfdx plugins:install -f sfdx-git-delta
and launch command using SHA1 including fields
sfdx sgd:source:delta -d -t HEAD -f $LAST_DEPLOYED_COMMIT -i .forceignore -o output
More information (optional)
I found a workaround, i changed the version installed of the plugins.
echo y | sfdx plugins:install -f sfdx-git-delta@5.3.0
And then i found my field TEST__c.field-meta.xml inside the force-app folder.
The text was updated successfully, but these errors were encountered: