tkn pac info install simply doesn't work
Opened this issue · 2 comments
chmouel commented
% 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
savitaashture commented
I see its working for me
$ tkn pac info install
Pipelines as Code:
Install Version: devel
Install Namespace: pipelines-as-code
Github Application:
Name: testgitopspr
URL: https://github.com/apps/testgitopspr
HomePage: https://hook.pipelinesascode.com/PCoifdgYPYpS
Description: Pipeline as Code Application
Created: Tue, 14 Nov 2023
Installations Count: 1
Webhook URL: https://hook.pipelinesascode.com/PCoifdgYPYpS
No repos CR installed on Cluster
rkn pac version is
$ tkn pac version
0.19.6
chmouel commented
yeah I should have say it crashes when using it with GHE, but:
1) it should not crash
2) we should add a flag to query app information on a ghe url endpoint
3) instead of crashing offer to the user to use the flag to set url (no
interactiveness just an error message)
you should not leak your hook.pac.com url to the public