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

Sm/quiet-flag #259

Merged
merged 21 commits into from
Oct 27, 2021
Merged

Sm/quiet-flag #259

merged 21 commits into from
Oct 27, 2021

Conversation

mshanemc
Copy link
Contributor

What does this PR do?

same prerequisites as #258

when --quiet, returns empty json array or empty stdout

There's not a good way to change the json output of the command since it's not an object, but an array. I was going to do --concise but have no good solutions to not break JSON.

What issues does this PR fix or reference?

@W-6316493@
forcedotcom/cli#129

Base automatically changed from sm/status-shows-ignores to sm/source-tracking-beta October 23, 2021 00:08
@mshanemc mshanemc changed the title Sm/concise-flag Sm/quiet-flag Oct 25, 2021
@mshanemc mshanemc marked this pull request as ready for review October 25, 2021 15:18
@WillieRuemmele
Copy link
Contributor

do we need any tests/NUTs for this?

@mshanemc
Copy link
Contributor Author

do we need any tests/NUTs for this?

I made some

@WillieRuemmele WillieRuemmele merged commit 0697cab into sm/source-tracking-beta Oct 27, 2021
@WillieRuemmele WillieRuemmele deleted the sm/concise-flag branch October 27, 2021 17:21
mshanemc added a commit that referenced this pull request Oct 28, 2021
* refactor: redo open for sfdx-core dependency reasons

* test: ebikes for nuts

* feat: source tracking commands in source:beta

* test: nuts for source tracking commands

* docs: new subtopics

* chore: remove imported asserted project/org

* chore: restore breaking comma

* chore: bump source tracking version

* chore: rebuild with latest lockfile

* refactor: feedback from WR

* style: typo and cleaner concats

* chore: pr feedback

* refactor: pull more like retrieve

* refactor: status formatter

* test: remove unused export

* chore: bump stl

* fix: missing header for pull

* fix: show conflicts from both remote and local, including remote filename

* test: better output, workaroun for Audience type

* refactor: consistent naming of command classes

* refactor: push feedback

* style: comment is no longer a question

* test: ebikes from clone instead of fs

* fix: status flags are better

* test: nuts with conn adjusted for git checkout

* chore: bump sdr for Created state fix

* test: unignore profiles

* test: was not using ebikes, revert

* chore: change status' flags in snapshot

* feat: show conflicts from both remote and local, including remote filename

* fix: show conflicts from both remote and local, including remote filename

* test: better output, workaroun for Audience type

* fix: push gets its own formatter for json reasons

* fix: missing pull messages

* chore: bump SDR to 4.5.7 (#253)

* chore(release): 1.2.3 [ci skip]

* Updated/Added CODEOWNERS with ECCN

* chore(release): 1.2.4 [ci skip]

* chore: sync .gitignore [skip-validate-pr] (#251)

Authored via Leif

* test: parallelize nuts, exclude async deploy nut

* test: one NUT for special types

* test: remove tracking NUTs

* ci: custom nut commands

* test: fix folderTypes, cross-env for windows

* test:  cross-env for windows SEED_FILTER, nyc only top-level

* ci: no sha; change nut order

* test: deploy nuts in parallel

* ci: disable async nuts

* test: exclude async nuts

* test: revert async-exclude

* test: revert tsconfig, revert config.yml

* test: exclude env for seeds

* feat: mark ignores

* feat: status shows remote ignores

* refactor: consistent naming of command classes

* refactor: push feedback

* style: comment is no longer a question

* test: ebikes from clone instead of fs

* fix: status flags are better

* test: nuts with conn adjusted for git checkout

* chore: bump sdr for Created state fix

* test: unignore profiles

* test: was not using ebikes, revert

* chore: change status' flags in snapshot

* refactor: move status logic to STL

* test: update ignore nut

* style: formatting line length

* fix: push uses correct json

* test: update tests for new push json format

* test: ut on lts, not node17

* Wr/destructive deploy (#230)

* fix: implementing destructive change deploy, 1 NUT

* chore: add NUTs, fix UTs

* chore: post-review board updates

* chore: fix linting

* chore: minor updates to flag logic, redo NUT query method

* chore: remove unnecessary checks in NUTs

* chore: bump SDR to 5, include deploy:destructive in NUTs

* chore(release): 1.2.5 [ci skip]

* fix: use cross-env for test:nuts script (#260)

* chore(release): 1.2.6 [ci skip]

* chore: unhide beta commands

* chore: bump SDR and STL

* test: and tracking nuts

* ci: windows UT

* test: nuts are hub-auth-agnostic

* ci: windows only

* ci: restore windows tests

Co-authored-by: Willie Ruemmele <[email protected]>
Co-authored-by: SF-CLI-BOT <[email protected]>
Co-authored-by: svc-scm <[email protected]>
Co-authored-by: Steve Hetzel <[email protected]>

* Sm/quiet-flag (#259)

* fix: push gets its own formatter for json reasons

* fix: missing pull messages

* feat: mark ignores

* feat: status shows remote ignores

* refactor: move status logic to STL

* test: update ignore nut

* style: formatting line length

* fix: push uses correct json

* test: update tests for new push json format

* test: ut on lts, not node17

* test: include tracking nuts

* feat: quiet flag on push (for stdout and json)

* test: put the individual tracking nuts back

* feat: quiet shows only failures in json

* refactor: simplify quiet logic

* test: ut for formatter with quiet

* feat: show ignored if any

* refactor: ignored as first column

* fix: no spinner for conflict check on --overwrite

* fix: early exit when there are no results

* fix: handle no-result (deletes only, or no changes)

* chore: bump sdr and stl

Co-authored-by: Willie Ruemmele <[email protected]>
Co-authored-by: SF-CLI-BOT <[email protected]>
Co-authored-by: svc-scm <[email protected]>
Co-authored-by: Steve Hetzel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants