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

logformatter: hide --db-backend #17855

Merged

Conversation

edsantiago
Copy link
Member

@edsantiago edsantiago commented Mar 20, 2023

  • There's a new --db-backend option. Hide it, and actually
    just assume that any new --foo-backend option will
    have an arg that needs to be hidden.

  • Friendly-ize "Running: quadlet ..." because those messages
    include a "with QUADLET_FOO=bar" string that looks like
    it's part of the command line but is not, and it's really
    hard for a human eye to see what's command line and what's
    extra comment.

Add tests.

Signed-off-by: Ed Santiago [email protected]

None

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 20, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: edsantiago

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 20, 2023
@rhatdan
Copy link
Member

rhatdan commented Mar 20, 2023

LGTM

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/hold

@openshift-ci openshift-ci bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Mar 20, 2023
@edsantiago edsantiago removed the lgtm Indicates that a PR is ready to be merged. label Mar 20, 2023
@edsantiago edsantiago force-pushed the logformatter_db_backend branch from 2c618d6 to 9ee765f Compare March 20, 2023 16:07
* There's a new --db-backend option. Hide it, and actually
  just assume that any new --foo-backend option will
  have an arg that needs to be hidden.

* Friendly-ize "Running: quadlet ..." because those messages
  include a "with QUADLET_FOO=bar" string that looks like
  it's part of the command line but is not, and it's really
  hard for a human eye to see what's command line and what's
  extra comment.

Add tests.

Signed-off-by: Ed Santiago <[email protected]>
@edsantiago edsantiago force-pushed the logformatter_db_backend branch from 9ee765f to 5447e88 Compare March 20, 2023 18:37
@edsantiago
Copy link
Member Author

I removed the LGTM tag because I discovered more work to be done, basically, formatting quadlet. Here is an example of the new working log, showing friendlier quadlet and hiding the --db-backend.

I updated commit message and github description to reflect new changes.

@edsantiago edsantiago removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 20, 2023
@rhatdan
Copy link
Member

rhatdan commented Mar 21, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 21, 2023
@openshift-merge-robot openshift-merge-robot merged commit 74c5a01 into containers:main Mar 21, 2023
@edsantiago edsantiago deleted the logformatter_db_backend branch March 21, 2023 12:15
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 5, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants