#8 Checkout, auth. #16

Closed
kgorbunov wants to merge 104 commits from kgorbunov:dev into master
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 == "" { if cfg.PullRequestBody == "" {
cfg.PullRequestBody = DefaultPullRequestBody cfg.PullRequestBody = DefaultPullRequestBody
} }
@ -225,9 +223,6 @@ func main() {
logger.Error(ctx, err.Error()) 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) gitSource := source.NewSourceControl(*cfg)
Execute(ctx, gitSource, mvs, *cliCfg, *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 prList[branch] = rMap
} }
logger.Info(ctx, fmt.Sprintf("for %s:\n%s", cfg.Source.Repository, prList)) logger.Info(ctx, fmt.Sprintf("for %s:\n%s", cfg.Source.Repository, prList))
default:
logger.Info(ctx, initMsg)
} }
} }