Summary
Remote metadata (e.g. custom fields, list views) are not being ignored for force:source:status in the same way that they are for force:source:pull when they are specifically mentioned. They show as remote changes for status even when they will not be pulled by pull, but they are not shown when for example ignoring with Account** or *.listView
Steps To Reproduce:
- Create new list view called All on account on a scratch org.
- Run
force:source:status, you will see the remote change (correct)
- Add
Account.All into .forceignore file
- Run
force:source:status, you will still see the remote change (incorrect)
- Add
*.listView into .forceignore file
- Run
force:source:status, you will not still see the remote change; it is ignored correctly
- Remove
*.listView from .forceignore file
- Run
force:source:pull, you will not still see the remote change pulled down; it is ignored correctly
Additional information
Video of the issue being reproduced.
SFDX CLI Version - sfdx-cli/7.11.2-4a5bf6aa97 linux-x64 node-v10.15.3:
SFDX plugin Version
@oclif/plugin-commands 1.2.2 (core)
@oclif/plugin-help 2.2.0 (core)
@oclif/plugin-not-found 1.2.2 (core)
@oclif/plugin-plugins 1.7.8 (core)
@oclif/plugin-update 1.3.9 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.5 (core)
analytics 1.1.2 (core)
generator 1.1.0 (core)
salesforcedx 46.1.5 (core)
├─ force-language-services 46.3.0 (core)
└─ salesforce-alm 46.3.0 (core)
OS and version:
Linux - Ubuntu 18.04
Summary
Remote metadata (e.g. custom fields, list views) are not being ignored for
force:source:statusin the same way that they are forforce:source:pullwhen they are specifically mentioned. They show as remote changes forstatuseven when they will not be pulled bypull, but they are not shown when for example ignoring withAccount**or*.listViewSteps To Reproduce:
force:source:status, you will see the remote change (correct)Account.Allinto .forceignore fileforce:source:status, you will still see the remote change (incorrect)*.listViewinto .forceignore fileforce:source:status, you will not still see the remote change; it is ignored correctly*.listViewfrom .forceignore fileforce:source:pull, you will not still see the remote change pulled down; it is ignored correctlyAdditional information
Video of the issue being reproduced.
SFDX CLI Version - sfdx-cli/7.11.2-4a5bf6aa97 linux-x64 node-v10.15.3:
SFDX plugin Version
OS and version:
Linux - Ubuntu 18.04