summaryrefslogtreecommitdiff
path: root/doPatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPatch.go')
-rw-r--r--doPatch.go26
1 files changed, 15 insertions, 11 deletions
diff --git a/doPatch.go b/doPatch.go
index 5b47c34..b41f6a7 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -63,16 +63,20 @@ func doPatch() error {
}
if argv.Patch.Check != nil {
- old := findExpired()
- // old.PrintTable()
- for p := range old.IterAll() {
- log.Info("patch", p.Filename, p.Namespace)
- }
- newpb, err := old.HttpPostVerbose(myServer(), "check")
- if err != nil {
- return err
- }
- newpb.PrintTable()
+ /*
+ old := findExpired()
+ // old.PrintTable()
+ for p := range old.IterAll() {
+ log.Info("patch", p.Filename, p.Namespace)
+ }
+ newpb, err := old.HttpPostVerbose(myServer(), "check")
+ if err != nil {
+ return err
+ }
+ newpb.PrintTable()
+ */
+ log.Info("do something here to find patches merged to devel")
+ doMergeReport()
return nil
}
@@ -126,7 +130,7 @@ func doPatch() error {
// return doPatchList()
applied := findApplied()
if applied.Len() == 0 {
- log.Info("no patches have to appled to the devel branch yet")
+ log.Info("no patches have been appled to the devel branch yet")
return nil
}
// for patch := range applied.IterAll() {