Closed ronantakizawa closed 6 months ago
I was using this today and I think that it's also important to provide some feedback that validation is in progress. A lot of our commands automatically commit and push. Because push is using subprocess
(subprocess.run(command, **options)
), all of the output we get when we run git push
through the command line is not visible. Because validation is started from the first commit if there is no last_validated_commit
, it can take a while. It would make sense to check if there is a git hook here and log "Validating and pushing"
Description (e.g. "Related to ...", etc.)
When running taf repo create, a git hook that validates the repo before pushing is made. Resolves issue #393
Code review checklist (for code reviewer to complete)