tektoncd / tektoncd/pipelines-as-code

tkn pac info install simply doesn't work

Open
#1,500 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority/medium
Dominant language
Go
Stars
214
Forks
144
Avg merge
2d 11h
Merged PRs (30d)
27

Description

% tkn pac info install
Pipelines as Code:
Install Version: devel
Install Namespace: pipelines-as-code

Github Application:
Name:
URL:
HomePage:
Description:
Error: template: Describe Repository:11:18: executing "Describe Repository" at <.Info.App.CreatedAt.Format>: error calling Format: runtime error: invalid memory address or nil pointer dereference

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running tkn pac info install and tracing the Describe Repository template named in the error, especially its use of .Info.App.CreatedAt.Format. Confirm how the command behaves when the GitHub Application fields are nil; done means the command no longer panics in this state and reports the installation information appropriately.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.