-
Notifications
You must be signed in to change notification settings - Fork 253
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
Use text/template Instead of html/template for PipelineRun Describe #780
Conversation
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.
/lgtm
/meow
🤓
In response to this:
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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester 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 |
/lgtm
😅
…On Thu, 5 Mar 2020, 21:09 Daniel Helfand, ***@***.***> wrote:
Closes #776 <#776>
We should be using text/template not html/template to avoid html showing
up in describe commands. An example of this issue is actually showing up in
one of our tests, which I have changed backed to text.
We should also update all other describe commands, but I think that should
be done in a separate pull request to isolate issues that may come up.
- Includes tests
<https://github.com/tektoncd/community/blob/master/standards.md#principles>
(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
<https://github.com/tektoncd/community/blob/master/standards.md#commit-messages>
Release Notes
Correct message output for tkn pipelinerun describe
------------------------------
You can view, comment on, or merge this pull request online at:
#780
Commit Summary
- use text/template instead of html/template for pipelinerun describe
File Changes
- *M*
pkg/cmd/pipelinerun/testdata/TestPipelineRunDescribe_cancelled_pipelinerun.golden
<https://github.com/tektoncd/cli/pull/780/files#diff-b226961fa63672805e99400d4e0923c2>
(2)
- *M* pkg/pipelinerun/description/description.go
<https://github.com/tektoncd/cli/pull/780/files#diff-0e4c632e39337cb949f4597f63fec76d>
(10)
Patch Links:
- https://github.com/tektoncd/cli/pull/780.patch
- https://github.com/tektoncd/cli/pull/780.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#780?email_source=notifications&email_token=AAAYFJA7HSUUREBCAEX77DTRGABFPA5CNFSM4LCRTNJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IS4W3SA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAYFJB5VM3A7L4KVKJRBDTRGABFPANCNFSM4LCRTNJA>
.
|
Closes #776
We should be using
text/template
nothtml/template
to avoid html codes showing up in describe commands. An example of this issue is actually showing up in one of our tests, which I have changed backed to text.make check
make generated
Release Notes