From c2edb2e1cd76eb1c1cb3b679c960ce90e39bc1ca Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 12 Oct 2024 14:07:11 +0000 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