diff options
| author | Fuwn <[email protected]> | 2024-10-12 07:07:11 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-12 07:07:11 -0700 |
| commit | 052aa14a8acebb60ee6f439b9a592b8b39f032de (patch) | |
| tree | 128a09c07c1bd5f9eb1f0da8f83aac0fc77bdee3 | |
| parent | c86889bf6fcda2031374fff8fdb74def19e4e014 (diff) | |
| download | yae-052aa14a8acebb60ee6f439b9a592b8b39f032de.tar.xz yae-052aa14a8acebb60ee6f439b9a592b8b39f032de.zip | |
feat(source): extra debug logs
| -rw-r--r-- | source.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 { |