Skip to content

Add --no-headers to list subcommand for taskruns and pipelineruns#834

Merged
tekton-robot merged 2 commits intotektoncd:masterfrom
waveywaves:799-no-headers-taskrun-pipelinerun
Mar 31, 2020
Merged

Add --no-headers to list subcommand for taskruns and pipelineruns#834
tekton-robot merged 2 commits intotektoncd:masterfrom
waveywaves:799-no-headers-taskrun-pipelinerun

Conversation

@waveywaves
Copy link
Copy Markdown
Member

@waveywaves waveywaves commented Mar 25, 2020

Changes

partly fixes #799

Add --no-headers flag to list subcommand for taskruns and pipelineruns.

Note

In the future, will open PRs related to #799 #785 together. i.e. for PR related to task, pipeline will have changes wrt --all-namespaces and --no-headers

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes tests (if functionality changed/added)
  • Run the code checkers with make check
  • Regenerate the manpages, docs and go formatting with make generated
  • Commit messages follow commit message best practices

See the contribution guide
for more details.

Release Notes

Adds --no-headers flag for list subcommand under taskrun and pipelinerun

@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 25, 2020
@waveywaves
Copy link
Copy Markdown
Member Author

/meow

@tekton-robot
Copy link
Copy Markdown
Contributor

@waveywaves: cat image

Details

In response to this:

/meow

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@waveywaves waveywaves force-pushed the 799-no-headers-taskrun-pipelinerun branch 3 times, most recently from 718e159 to 633a46c Compare March 26, 2020 23:01
@waveywaves
Copy link
Copy Markdown
Member Author

/assign @danielhelfand

@waveywaves
Copy link
Copy Markdown
Member Author

/unassign @danielhelfand

@waveywaves
Copy link
Copy Markdown
Member Author

/assign @chmouel

@waveywaves waveywaves force-pushed the 799-no-headers-taskrun-pipelinerun branch from 633a46c to be2bdff Compare March 27, 2020 01:28
@tekton-robot tekton-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 27, 2020
Comment thread pkg/cmd/pipelinerun/list.go Outdated
Comment thread pkg/cmd/pipelinerun/list_test.go Outdated
Comment thread pkg/cmd/taskrun/testdata/TestListTaskRuns-empty_list.golden Outdated
@waveywaves waveywaves force-pushed the 799-no-headers-taskrun-pipelinerun branch 4 times, most recently from 942746e to 8c1d434 Compare March 28, 2020 23:48
@waveywaves
Copy link
Copy Markdown
Member Author

/retest

@waveywaves waveywaves force-pushed the 799-no-headers-taskrun-pipelinerun branch from 8c1d434 to f798ac6 Compare March 29, 2020 01:18
@waveywaves
Copy link
Copy Markdown
Member Author

@chmouel let me know as this is ready to be approved if there are not any changes to be made. I would like to split this commit into multiple commits considering the number of changes.

Copy link
Copy Markdown
Member

@danielhelfand danielhelfand left a comment

Choose a reason for hiding this comment

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

Just some minor feedback. Otherwise, looks good.

Comment thread pkg/cmd/pipelinerun/list.go Outdated
Comment thread pkg/cmd/taskrun/list.go Outdated
@waveywaves waveywaves force-pushed the 799-no-headers-taskrun-pipelinerun branch from f798ac6 to 8e3990d Compare March 30, 2020 22:59
@waveywaves waveywaves force-pushed the 799-no-headers-taskrun-pipelinerun branch 2 times, most recently from a9dfd02 to 4d9e4ce Compare March 30, 2020 23:19
@waveywaves
Copy link
Copy Markdown
Member Author

/test pull-tekton-cli-build-tests

This commit adds the --no-headers flag to the taskrun list subcommand.
The --no-headers flag will allow users to
omit the column headers of the output for `tkn taskrun list` (command will be `tkn
taskrun list --no-headers`)
which will intern allow them to parse the output easily for their own use cases.
Docs generated and included.
This commit adds the --no-headers flag to the pipelinerun list subcommand.
The --no-headers flag will allow users to
omit the column headers of the output for `tkn pipelinerun list` (command will be `tkn
pipelinerun list --no-headers`)
Docs generated and included.
@waveywaves waveywaves force-pushed the 799-no-headers-taskrun-pipelinerun branch from 4d9e4ce to 12395a8 Compare March 31, 2020 00:02
Copy link
Copy Markdown
Member

@danielhelfand danielhelfand left a comment

Choose a reason for hiding this comment

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

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 31, 2020
@waveywaves
Copy link
Copy Markdown
Member Author

/approve

Copy link
Copy Markdown
Contributor

@pradeepitm12 pradeepitm12 left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Copy Markdown
Contributor

@piyush-garg piyush-garg left a comment

Choose a reason for hiding this comment

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

/lgtm

@tekton-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: piyush-garg, pradeepitm12, waveywaves

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

The pull request process is described here

Details 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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 31, 2020
@tekton-robot tekton-robot merged commit c3d46f6 into tektoncd:master Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add --no-headers flag for all list commands

7 participants