Lines Matching refs:commit

284 def _check_cmd(hook_name, project, commit, cmd, fixup_func=None, **kwargs):  argument
286 return [rh.results.HookCommandResult(hook_name, project, commit,
299 def check_custom(project, commit, _desc, diff, options=None, **kwargs): argument
301 return _check_cmd(options.name, project, commit, options.args((), diff),
305 def check_bpfmt(project, commit, _desc, diff, options=None): argument
315 data = rh.git.get_file_content(commit, d.file)
319 'bpfmt', project, commit, error=result.stdout,
324 def check_checkpatch(project, commit, _desc, diff, options=None): argument
329 return _check_cmd('checkpatch.pl', project, commit, cmd,
330 input=rh.git.get_patch(commit))
333 def check_clang_format(project, commit, _desc, diff, options=None): argument
340 options.args(('--style', 'file', '--commit', commit), diff))
343 return _check_cmd('clang-format', project, commit, cmd,
347 def check_google_java_format(project, commit, _desc, _diff, options=None): argument
355 '--commit', commit] + options.args()
358 return _check_cmd('google-java-format', project, commit, cmd,
362 def check_commit_msg_bug_field(project, commit, desc, _diff, options=None): argument
383 project, commit, error=error)]
386 def check_commit_msg_changeid_field(project, commit, desc, _diff, options=None): argument
410 project, commit, error=error)]
435 def check_commit_msg_prebuilt_apk_fields(project, commit, desc, diff, argument
467 project, commit, error=error)]
499 def check_commit_msg_test_field(project, commit, desc, _diff, options=None): argument
519 project, commit, error=error)]
554 def check_commit_msg_relnote_field_format(project, commit, desc, _diff, argument
589 project, commit, error=error))
614 project, commit,
646 project, commit,
673 def check_commit_msg_relnote_for_current_txt(project, commit, desc, diff, argument
703 project, commit, error=error)]
706 def check_cpplint(project, commit, _desc, diff, options=None): argument
716 return _check_cmd('cpplint', project, commit, cmd)
719 def check_gofmt(project, commit, _desc, diff, options=None): argument
729 data = rh.git.get_file_content(commit, d.file)
733 'gofmt', project, commit, error=result.stdout,
738 def check_json(project, commit, _desc, diff, options=None): argument
749 data = rh.git.get_file_content(commit, d.file)
754 'json', project, commit, error=str(e),
759 def _check_pylint(project, commit, _desc, diff, extra_args=None, options=None): argument
773 return _check_cmd('pylint', project, commit, cmd)
776 def check_pylint2(project, commit, desc, diff, options=None): argument
778 return _check_pylint(project, commit, desc, diff, options=options)
781 def check_pylint3(project, commit, desc, diff, options=None): argument
783 return _check_pylint(project, commit, desc, diff,
788 def check_rustfmt(project, commit, _desc, diff, options=None): argument
796 return _check_cmd('rustfmt', project, commit, cmd)
799 def check_xmllint(project, commit, _desc, diff, options=None): argument
840 return _check_cmd('xmllint', project, commit, cmd)
843 def check_android_test_mapping(project, commit, _desc, diff, options=None): argument
852 testmapping_args = ['--commit', commit]
855 return _check_cmd('android-test-mapping-format', project, commit, cmd)