generated from salesforcecli/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Sm/status-shows-ignores #258
Merged
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
6e6942e
fix: show conflicts from both remote and local, including remote file…
mshanemc 524aca5
test: better output, workaroun for Audience type
mshanemc 9c2504c
fix: push gets its own formatter for json reasons
mshanemc 25a9473
fix: missing pull messages
mshanemc 1c65488
chore: bump SDR to 4.5.7 (#253)
WillieRuemmele 5b60b4a
chore(release): 1.2.3 [ci skip]
055aed6
Updated/Added CODEOWNERS with ECCN
svc-scm ef527a9
chore(release): 1.2.4 [ci skip]
4b01ad3
chore: sync .gitignore [skip-validate-pr] (#251)
9542a72
test: parallelize nuts, exclude async deploy nut
mshanemc ce89056
feat: mark ignores
mshanemc 74813b6
Merge branch 'sm/conflicts-for-labels' into sm/status-shows-ignores
mshanemc 7b22865
feat: status shows remote ignores
mshanemc 06408a7
refactor: consistent naming of command classes
mshanemc 79380b8
refactor: push feedback
mshanemc 5d32ca6
style: comment is no longer a question
mshanemc 5cba146
test: ebikes from clone instead of fs
mshanemc f9b37e3
fix: status flags are better
mshanemc 6444789
test: nuts with conn adjusted for git checkout
mshanemc 1123f5a
Merge branch 'sm/conflicts-for-labels' into sm/source-tracking-beta
mshanemc 6f0ced3
chore: bump sdr for Created state fix
mshanemc 455bd1e
test: unignore profiles
mshanemc 3fcf98f
test: was not using ebikes, revert
mshanemc 695336a
chore: change status' flags in snapshot
mshanemc 1334eda
refactor: move status logic to STL
mshanemc abe020c
test: update ignore nut
mshanemc 6c9d550
Merge branch 'sm/push-json' into sm/status-shows-ignores
mshanemc 8ee541a
Merge branch 'sm/source-tracking-beta' into sm/status-shows-ignores
mshanemc 8a6bc74
style: formatting line length
mshanemc ef2d662
fix: push uses correct json
mshanemc 67fb9f9
test: update tests for new push json format
mshanemc 0da51c5
test: ut on lts, not node17
mshanemc e18c197
Wr/destructive deploy (#230)
WillieRuemmele 4a47789
chore(release): 1.2.5 [ci skip]
76627fb
fix: use cross-env for test:nuts script (#260)
shetzel 84396b7
chore(release): 1.2.6 [ci skip]
76cadc8
chore: unhide beta commands
mshanemc 6f2496b
chore: bump SDR and STL
mshanemc 152d0cd
Merge remote-tracking branch 'origin/main' into sm/status-shows-ignores
mshanemc f3c71ca
test: and tracking nuts
mshanemc bb0b30a
ci: windows UT
mshanemc 27c8f7f
test: nuts are hub-auth-agnostic
mshanemc 77e5e7b
ci: windows only
mshanemc 2b29e0a
ci: restore windows tests
mshanemc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,7 @@ $ npm install -g @salesforce/plugin-source | |
$ sfdx COMMAND | ||
running command... | ||
$ sfdx (-v|--version|version) | ||
@salesforce/plugin-source/1.2.0 linux-x64 node-v12.22.6 | ||
@salesforce/plugin-source/1.2.5 linux-x64 node-v12.22.7 | ||
$ sfdx --help [COMMAND] | ||
USAGE | ||
$ sfdx COMMAND | ||
|
@@ -96,7 +96,7 @@ USAGE | |
|
||
- [`sfdx force:source:convert [-r <directory>] [-d <directory>] [-n <string>] [-p <array> | -x <string> | -m <array>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcesourceconvert--r-directory--d-directory--n-string--p-array---x-string---m-array---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) | ||
- [`sfdx `](#sfdx-) | ||
- [`sfdx force:source:deploy [--soapdeploy] [-w <minutes>] [-q <id> | -x <filepath> | -m <array> | -p <array> | -c | -l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcesourcedeploy---soapdeploy--w-minutes--q-id---x-filepath---m-array---p-array---c---l-notestrunrunspecifiedtestsrunlocaltestsrunalltestsinorg---r-array---o---g--u-string---apiversion-string---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) | ||
- [`sfdx force:source:deploy [--soapdeploy] [-w <minutes>] [-q <id> | -x <filepath> | -m <array> | -p <array> | -c | -l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g] [--predestructivechanges <filepath> ] [--postdestructivechanges <filepath> ] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcesourcedeploy---soapdeploy--w-minutes--q-id---x-filepath---m-array---p-array---c---l-notestrunrunspecifiedtestsrunlocaltestsrunalltestsinorg---r-array---o---g---predestructivechanges-filepath----postdestructivechanges-filepath---u-string---apiversion-string---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) | ||
- [`sfdx force:source:deploy:cancel [-w <minutes>] [-i <id>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcesourcedeploycancel--w-minutes--i-id--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) | ||
- [`sfdx force:source:deploy:report [-w <minutes>] [-i <id>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcesourcedeployreport--w-minutes--i-id--u-string---apiversion-string---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) | ||
- [`sfdx force:source:manifest:create [-m <array> | -p <array>] [-n <string> | -t pre|post|destroy|package] [-o <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcesourcemanifestcreate--m-array---p-array--n-string---t-prepostdestroypackage--o-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) | ||
|
@@ -123,7 +123,7 @@ USAGE | |
|
||
OPTIONS | ||
-d, --outputdir=outputdir [default: | ||
metadataPackage_1633397509876] | ||
metadataPackage_1634849032196] | ||
output directory to store the | ||
Metadata API–formatted files in | ||
|
||
|
@@ -161,7 +161,7 @@ EXAMPLES | |
$ sfdx force:source:convert -r path/to/source -d path/to/outputdir -n 'My Package' | ||
``` | ||
|
||
_See code: [src/commands/force/source/convert.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.0/src/commands/force/source/convert.ts)_ | ||
_See code: [src/commands/force/source/convert.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.5/src/commands/force/source/convert.ts)_ | ||
|
||
## `sfdx ` | ||
|
||
|
@@ -217,9 +217,9 @@ EXAMPLES | |
$ sfdx force:source:delete -p path/to/source | ||
``` | ||
|
||
_See code: [src/commands/force/source/delete.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.0/src/commands/force/source/delete.ts)_ | ||
_See code: [src/commands/force/source/delete.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.5/src/commands/force/source/delete.ts)_ | ||
|
||
## `sfdx force:source:deploy [--soapdeploy] [-w <minutes>] [-q <id> | -x <filepath> | -m <array> | -p <array> | -c | -l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` | ||
## `sfdx force:source:deploy [--soapdeploy] [-w <minutes>] [-q <id> | -x <filepath> | -m <array> | -p <array> | -c | -l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g] [--predestructivechanges <filepath> ] [--postdestructivechanges <filepath> ] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` | ||
|
||
deploy source to an org | ||
|
||
|
@@ -235,12 +235,13 @@ To run the command asynchronously, set --wait to 0, which immediately returns th | |
To check the status of the job, use force:source:deploy:report. | ||
|
||
If the comma-separated list you’re supplying contains spaces, enclose the entire comma-separated list in one set of double quotes. On Windows, if the list contains commas, also enclose the entire list in one set of double quotes. | ||
|
||
If you use the --manifest, --predestructivechanges, or --postdestructivechanges parameters, run the force:source:manifest:create command to easily generate the different types of manifest files. | ||
|
||
USAGE | ||
$ sfdx force:source:deploy [--soapdeploy] [-w <minutes>] [-q <id> | -x <filepath> | -m <array> | -p <array> | -c | -l | ||
NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g] [-u <string>] [--apiversion | ||
<string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] | ||
NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g] [--predestructivechanges <filepath> | ||
] [--postdestructivechanges <filepath> ] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel | ||
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] | ||
|
||
OPTIONS | ||
-c, --checkonly validate deploy but don’t save to | ||
|
@@ -284,6 +285,16 @@ OPTIONS | |
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for | ||
this command invocation | ||
|
||
--postdestructivechanges=postdestructivechanges file path for a manifest | ||
(destructiveChangesPost.xml) of | ||
components to delete after the | ||
deploy | ||
|
||
--predestructivechanges=predestructivechanges file path for a manifest | ||
(destructiveChangesPre.xml) of | ||
components to delete before the | ||
deploy | ||
|
||
--soapdeploy deploy metadata with SOAP API | ||
instead of REST API | ||
|
||
|
@@ -303,6 +314,8 @@ DESCRIPTION | |
|
||
If the comma-separated list you’re supplying contains spaces, enclose the entire comma-separated list in one set of | ||
double quotes. On Windows, if the list contains commas, also enclose the entire list in one set of double quotes. | ||
If you use the --manifest, --predestructivechanges, or --postdestructivechanges parameters, run the | ||
force:source:manifest:create command to easily generate the different types of manifest files. | ||
|
||
EXAMPLES | ||
To deploy the source files in a directory: | ||
|
@@ -326,10 +339,14 @@ EXAMPLES | |
To check whether a deployment would succeed (to prepare for Quick Deploy): | ||
$ sfdx force:source:deploy -m ApexClass -l RunAllTestsInOrg -c | ||
To deploy an already validated deployment (Quick Deploy): | ||
$ sfdx force:source:deploy -q 0Af9A00000FTM6pSAH`, | ||
$ sfdx force:source:deploy -q 0Af9A00000FTM6pSAH` | ||
To run a destructive operation before the deploy occurs: | ||
$ sfdx force:source:deploy --manifest package.xml --predestructivechanges destructiveChangesPre.xml | ||
To run a destructive operation after the deploy occurs: | ||
$ sfdx force:source:deploy --manifest package.xml --postdestructivechanges destructiveChangesPost.xml | ||
``` | ||
|
||
_See code: [src/commands/force/source/deploy.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.0/src/commands/force/source/deploy.ts)_ | ||
_See code: [src/commands/force/source/deploy.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.5/src/commands/force/source/deploy.ts)_ | ||
|
||
## `sfdx force:source:deploy:cancel [-w <minutes>] [-i <id>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` | ||
|
||
|
@@ -384,7 +401,7 @@ EXAMPLES | |
$ sfdx force:source:deploy:report | ||
``` | ||
|
||
_See code: [src/commands/force/source/deploy/cancel.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.0/src/commands/force/source/deploy/cancel.ts)_ | ||
_See code: [src/commands/force/source/deploy/cancel.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.5/src/commands/force/source/deploy/cancel.ts)_ | ||
|
||
## `sfdx force:source:deploy:report [-w <minutes>] [-i <id>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` | ||
|
||
|
@@ -434,7 +451,7 @@ EXAMPLES | |
$ sfdx force:source:deploy:report | ||
``` | ||
|
||
_See code: [src/commands/force/source/deploy/report.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.0/src/commands/force/source/deploy/report.ts)_ | ||
_See code: [src/commands/force/source/deploy/report.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.5/src/commands/force/source/deploy/report.ts)_ | ||
|
||
## `sfdx force:source:manifest:create [-m <array> | -p <array>] [-n <string> | -t pre|post|destroy|package] [-o <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` | ||
|
||
|
@@ -513,7 +530,7 @@ EXAMPLES | |
$ sfdx force:source:manifest:create --sourcepath force-app --manifestname myNewManifest | ||
``` | ||
|
||
_See code: [src/commands/force/source/manifest/create.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.0/src/commands/force/source/manifest/create.ts)_ | ||
_See code: [src/commands/force/source/manifest/create.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.5/src/commands/force/source/manifest/create.ts)_ | ||
|
||
## `sfdx force:source:open -f <filepath> [-r] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` | ||
|
||
|
@@ -563,7 +580,7 @@ EXAMPLES | |
$ sfdx force:source:open -f path/to/source -u [email protected] | ||
``` | ||
|
||
_See code: [src/commands/force/source/open.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.0/src/commands/force/source/open.ts)_ | ||
_See code: [src/commands/force/source/open.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.5/src/commands/force/source/open.ts)_ | ||
|
||
## `sfdx force:source:retrieve [-p <array> | -x <filepath> | -m <array>] [-w <minutes>] [-n <array>] [-u <string>] [-a <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` | ||
|
||
|
@@ -651,6 +668,6 @@ EXAMPLES | |
$ sfdx force:source:retrieve -n MyPackageName -x path/to/package.xml | ||
``` | ||
|
||
_See code: [src/commands/force/source/retrieve.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.0/src/commands/force/source/retrieve.ts)_ | ||
_See code: [src/commands/force/source/retrieve.ts](https://github.com/salesforcecli/plugin-source/blob/v1.2.5/src/commands/force/source/retrieve.ts)_ | ||
|
||
<!-- commandsstop --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
{ | ||
"command": "force:source:beta:status", | ||
"plugin": "@salesforce/plugin-source", | ||
"flags": ["all", "apiversion", "json", "local", "loglevel", "remote", "targetusername"] | ||
"flags": ["apiversion", "json", "local", "loglevel", "remote", "targetusername"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we able to remove the 'all' flag without deprecation? |
||
}, | ||
{ | ||
"command": "force:source:beta:tracking:clear", | ||
|
@@ -58,6 +58,8 @@ | |
"loglevel", | ||
"manifest", | ||
"metadata", | ||
"postdestructivechanges", | ||
"predestructivechanges", | ||
"runtests", | ||
"soapdeploy", | ||
"sourcepath", | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node latest is v17 and there's an temporary issue with that