Skip to content

fix: template of Other runs in tkn-pac describe command#2018

Merged
pipelines-as-code[bot] merged 1 commit intotektoncd:mainfrom
PuneetPunamiya:fix-tkn-pac-desc-template
Apr 8, 2025
Merged

fix: template of Other runs in tkn-pac describe command#2018
pipelines-as-code[bot] merged 1 commit intotektoncd:mainfrom
PuneetPunamiya:fix-tkn-pac-desc-template

Conversation

@PuneetPunamiya
Copy link
Copy Markdown
Member

@PuneetPunamiya PuneetPunamiya commented Mar 24, 2025

  • Before this patch the output of other runs in the tkn pac describe command was not aligned properly

  • Hence, with this patch it fixes and aligns the output

  • Screenshots

Before the fix
image

After the patch fix
image

Changes

Submitter Checklist

  • 📝 Ensure your commit message is clear and informative. Refer to the How to write a git commit message guide. Include the commit message in the PR body rather than linking to an external site (e.g., Jira ticket).

  • ♽ Run make test lint before submitting a PR to avoid unnecessary CI processing. Consider installing pre-commit and running pre-commit install in the repository root for an efficient workflow.

  • ✨ We use linters to maintain clean and consistent code. Run make lint before submitting a PR. Some linters offer a --fix mode, executable with make fix-linters (ensure markdownlint and golangci-lint are installed).

  • 🧪 While 100% coverage isn't required, we encourage unit tests for code changes where possible.

  • 🔎 Address any CI test flakiness before merging, or provide a valid reason to bypass it (e.g., token rate limitations).

    (update the documentation accordingly)

@zakisk
Copy link
Copy Markdown
Member

zakisk commented Mar 24, 2025

/test

@chmouel
Copy link
Copy Markdown
Member

chmouel commented Mar 24, 2025

e2e test is not running for puneet at the moment which is expected since not yet in allowed list

@vdemeester
Copy link
Copy Markdown
Member

e2e test is not running for puneet at the moment which is expected since not yet in allowed list

But should it be successful ? because one could merge this, without the test running (vs having something failing or in pending that "would" prevent that)

@chmouel chmouel added the e2e label Mar 25, 2025
@chmouel
Copy link
Copy Markdown
Member

chmouel commented Mar 25, 2025

i solved it differently see #2024


{{ $.ColorScheme.Underline "Other Runs:" }}

{{ $.ColorScheme.Bold "STATUS:" }} {{ $.ColorScheme.Bold "Event" }} {{ $.ColorScheme.Bold "Branch" }} {{ $.ColorScheme.Bold "SHA" }} {{ $.ColorScheme.Bold "STARTED TIME" }} {{ $.ColorScheme.Bold "DURATION" }} {{ $.ColorScheme.Bold "PIPELINERUN" }}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@PuneetPunamiya why colon is removed?

Copy link
Copy Markdown
Member Author

@PuneetPunamiya PuneetPunamiya Apr 7, 2025

Choose a reason for hiding this comment

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

There's no such reason, considering UX I removed it, I can add it back again if we don't want to change

@chmouel
Copy link
Copy Markdown
Member

chmouel commented Apr 7, 2025

can you add a screenshot before after please? that would help for review and release note.

@PuneetPunamiya
Copy link
Copy Markdown
Member Author

can you add a screenshot before after please? that would help for review and release note.

yep, added!

Before this patch the output of other runs in the tkn pac
describe command was not aligned properly

Hence, with this patch it fixes and aligns the output

Signed-off-by: PuneetPunamiya <ppunamiy@redhat.com>
@PuneetPunamiya PuneetPunamiya force-pushed the fix-tkn-pac-desc-template branch from 83ffa1f to f0e81c0 Compare April 7, 2025 16:16
@chmouel
Copy link
Copy Markdown
Member

chmouel commented Apr 8, 2025

/merge

@pipelines-as-code pipelines-as-code bot merged commit 26f65c3 into tektoncd:main Apr 8, 2025
4 checks passed
@pipelines-as-code
Copy link
Copy Markdown

✅ PR Successfully Merged

  • Merge method: rebase
  • Merged by: @chmouel
  • Total approvals: 1/1

Approvals Summary:

Reviewer Permission Status
@chmouel admin

Thank you @PuneetPunamiya for your valuable contribution! 🎉

Automated by the PAC Boussole 🧭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants