⛩️ Powerful yet Minimal Nix Dependency Manager
flake flakes home-manager nixos go nix dependency dependencies
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(source): extra output logs

Fuwn 090157a0 1f843124

+11 -1
+11 -1
source.go
··· 21 21 } 22 22 23 23 func (source *Source) Update(sources *Sources, name string, show bool, force bool, forcePinned bool) (bool, error) { 24 + if show { 25 + log.Infof("checking %s", name) 26 + } 27 + 24 28 updated := false 25 29 26 30 if !sources.Exists(name) { 27 - return updated, fmt.Errorf("source does not exist") 31 + if show { 32 + log.Warnf("skipped %s: source does not exist", name) 33 + } 34 + 35 + return updated, nil 28 36 } 29 37 30 38 if source.Pinned && !forcePinned { ··· 36 44 } 37 45 38 46 if source.Type == "git" { 47 + log.Debugf("checking %s: remote git tag", name) 48 + 39 49 tag, err := source.fetchLatestGitTag() 40 50 41 51 if err != nil {