diff options
| author | Jeff Carr <[email protected]> | 2025-09-03 21:37:55 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-03 21:37:55 -0500 |
| commit | 7081a04d5838ba33747208123f3cacfe2b63da0d (patch) | |
| tree | 48aa2f17526b331ff2901b7ac41c922bdecb5dc3 /doPatch.go | |
| parent | b847d9aa6ca4ee1b60687643cd04c9e6f46ad310 (diff) | |
stub in routines to find patches
Diffstat (limited to 'doPatch.go')
| -rw-r--r-- | doPatch.go | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -37,6 +37,21 @@ func doPatch() error { return nil } + if argv.Patch.Check != nil { + for pset := range me.forge.Patchsets.IterAll() { + log.Info(pset.Uuid) + for patch := range pset.Patches.IterAll() { + if repo, ok := me.forge.IsPatchApplied(patch); ok { + log.Info("found patch in repo", repo.Namespace, patch.Filename) + } else { + // log.Info("did not find patch", patch.CommitHash, patch.NewHash, patch.Filename) + } + } + } + // me.forge.Patchsets.PrintTable() + return nil + } + if argv.Patch.List != nil { me.forge.Patchsets.PrintTable() // return doPatchList() |
