diff options
| author | Fuwn <[email protected]> | 2024-10-12 14:07:11 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-12 14:07:11 +0000 |
| commit | c2edb2e1cd76eb1c1cb3b679c960ce90e39bc1ca (patch) | |
| tree | 128a09c07c1bd5f9eb1f0da8f83aac0fc77bdee3 | |
| parent | refactor(yae): rename updated list flags (diff) | |
| download | yae-c2edb2e1cd76eb1c1cb3b679c960ce90e39bc1ca.tar.xz yae-c2edb2e1cd76eb1c1cb3b679c960ce90e39bc1ca.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 { |