diff options
| author | Jeff Carr <[email protected]> | 2025-09-25 21:35:59 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-25 21:35:59 -0500 |
| commit | 44bc7f6508769b43e28ab5de06e150a177b228ee (patch) | |
| tree | dcb974e30c9234b5c2a8c34ac416157ada936e9b | |
| parent | d331af80e098dcead00b19b36eb607b0ad862690 (diff) | |
change outputv0.25.31
| -rw-r--r-- | doPatch.go | 9 | ||||
| -rw-r--r-- | helperPatches.go | 2 |
2 files changed, 5 insertions, 6 deletions
@@ -123,7 +123,7 @@ func doPatchList() error { for patch := range pset.Patches.IterAll() { changed = true if err := isPatchIdApplied(patch); err == nil { - log.Info("patchId already applied", patch.PatchId, patch.Filename) + log.Infof("%s patchId already applied %s\n", patch.PatchId, patch.Filename) pset.Patches.Delete(patch) changed = true continue @@ -131,9 +131,9 @@ func doPatchList() error { if patch.NewHash == "" || patch.NewHash == "na" { if newpatches.Patches.AppendByPatchId(patch) { - log.Info("patchId added here", patch.PatchId) + log.Infof("%s patchId added here\n", patch.PatchId) } else { - log.Info("patchId already here", patch.PatchId) + log.Infof("%s patchId already here\n", patch.PatchId) pset.Patches.Delete(patch) changed = true } @@ -142,7 +142,7 @@ func doPatchList() error { log.Infof("%s bad check on patch failure %v\n", patch.Filename, err) return err } - log.Info("newhash set already here", patch.PatchId, patch.NewHash) + log.Infof("%s %s newhash set already here\n", patch.PatchId, patch.NewHash) } } } @@ -200,7 +200,6 @@ func doPatchList() error { newpb.PrintTable() return nil */ - return nil } // Shows repos that are: diff --git a/helperPatches.go b/helperPatches.go index 7bee637..a6e4809 100644 --- a/helperPatches.go +++ b/helperPatches.go @@ -194,7 +194,7 @@ func isPatchIdApplied(patch *forgepb.Patch) error { patch.PatchId = patchId patch.NewHash = newhash - log.Info("patch: found hash:", patch.CommitHash, newhash, patch.Namespace, comment) + log.Infof("%s %s patch: found hash: %s %s\n", patch.CommitHash, newhash, patch.Namespace, comment) return nil } |
