#8 delete cobra, add micro-config-flag #11

Merged
vtolstov merged 53 commits from kgorbunov/pkgdash:master into master 2024-04-02 22:54:17 +03:00
Showing only changes of commit 284496213c - Show all commits

View File

@ -143,8 +143,6 @@ func main() {
}
}
logger.Info(ctx, fmt.Sprintf("Load config... %s", cfg.Source.Repository))
if cfg.PullRequestBody == "" {
cfg.PullRequestBody = DefaultPullRequestBody
}
@ -225,9 +223,6 @@ func main() {
logger.Error(ctx, err.Error())
}
logger.Debugf(ctx, fmt.Sprintf("cfg: %v", cfg))
logger.Debugf(ctx, fmt.Sprintf("cfg cli: %s", cliCfg))
gitSource := source.NewSourceControl(*cfg)
Execute(ctx, gitSource, mvs, *cliCfg, *cfg)
@ -309,6 +304,8 @@ func Execute(ctx context.Context, gitSource source.SourceControl, mvs map[string
prList[branch] = rMap
}
logger.Info(ctx, fmt.Sprintf("for %s:\n%s", cfg.Source.Repository, prList))
default:
logger.Info(ctx, initMsg)
}
}