From 052aa14a8acebb60ee6f439b9a592b8b39f032de Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 12 Oct 2024 07:07:11 -0700 Subject: feat(source): extra debug logs --- source.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source.go b/source.go index 93b5157..490b17c 100644 --- a/source.go +++ b/source.go @@ -59,6 +59,8 @@ func (source *Source) Update(sources *Sources, name string, force bool, forcePin if strings.Contains(source.URLTemplate, "{version}") { source.URL = strings.ReplaceAll(source.URLTemplate, "{version}", source.Version) + + log.Debugf("patched %s: substituted url template", name) } } else { log.Infof("skipped %s: version remains unchanged", name) @@ -67,6 +69,8 @@ func (source *Source) Update(sources *Sources, name string, force bool, forcePin } } + log.Debugf("checking %s: sha256", name) + sha256, err := fetchSHA256(source.URL, source.Unpack) if err != nil { -- cgit v1.2.3