/tools/repohooks/rh/ |
D | hooks.py | 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)) [all …]
|
D | git.py | 89 def get_patch(commit): argument 91 cmd = ['git', 'format-patch', '--stdout', '-1', commit] 95 def get_file_content(commit, path): argument 105 cmd = ['git', 'show', '%s:%s' % (commit, path)] 164 def get_affected_files(commit): argument 170 return raw_diff(os.getcwd(), '%s^!' % commit) 181 def get_commit_desc(commit): argument 183 cmd = ['git', 'log', '--format=%B', commit + '^!']
|
D | results.py | 32 def __init__(self, hook, project, commit, error, files=(), fixup_func=None): argument 49 self.commit = commit 69 def __init__(self, hook, project, commit, result, files=(), argument 71 HookResult.__init__(self, hook, project, commit,
|
D | config_test.py | 42 def check_commit_id(commit): argument 44 assert len(commit) == 40, 'commit "%s" must be 40 chars' % (commit,) 45 assert re.match(r'^[a-f0-9]+$', commit), \ 46 'commit "%s" must be all hex' % (commit,)
|
/tools/repohooks/ |
D | pre-upload.py | 98 def commit_start(self, commit, commit_summary): argument 105 status_line = '[%s %s] %s' % (self.COMMIT, commit[0:12], commit_summary) 225 hook_name, commit, fixup_func = fixup_func_list[0] 227 if commit != commit_list[0]: 242 (hook_name, commit, result), 303 for commit in commit_list: 305 os.environ['PREUPLOAD_COMMIT'] = commit 306 diff = rh.git.get_affected_files(commit) 307 desc = rh.git.get_commit_desc(commit) 311 output.commit_start(commit=commit, commit_summary=commit_summary) [all …]
|
D | README.md | 91 branch. This is typically latest commit in the remote-tracking branch. 95 * `PREUPLOAD_COMMIT`: The commit that is currently being checked. 130 With a commit that changes `path1/file1` and `path2/file2`, then this will run 142 that are merged. Hooks will still run on the merge commit itself. 164 some cat = formatter --cat-commit ${PREUPLOAD_COMMIT} 165 some dog = tool --no-cat-in-commit-message ${PREUPLOAD_COMMIT_MESSAGE} 175 * `clang_format`: Run git-clang-format against the commit. The default style is 186 `Relnote:` field in the commit message. 202 files match in a specific commit, then the hook will be skipped for that commit.
|
D | PREUPLOAD.cfg | 13 py2_config_test = python2 ./rh/config_test.py --check-env --commit-id ${PREUPLOAD_COMMIT} --commit-… 14 py3_config_test = python3 ./rh/config_test.py --check-env --commit-id ${PREUPLOAD_COMMIT} --commit-…
|
/tools/external_updater/ |
D | git_utils.py | 87 def get_commit_time(proj_path: Path, commit: str) -> datetime.datetime: 89 out = _run(['git', 'show', '-s', '--format=%ct', commit], cwd=proj_path) 122 def is_commit(commit: str) -> bool: 124 return bool(COMMIT_RE.match(commit)) 152 def commit(proj_path: Path, message: str) -> None: function
|
D | external_updater.py | 114 git_utils.commit(full_path, msg)
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | BugreportParser.java | 142 commit(); in parse() 161 commit(); in parse() 192 protected void commit() { in commit() method in BugreportParser 194 super.commit(); in commit()
|
D | ActivityServiceParser.java | 54 commit(); in parse() 70 protected void commit() { in commit() method in ActivityServiceParser 72 super.commit(); in commit()
|
D | DumpsysBatteryStatsParser.java | 64 commit(); in parse() 82 protected void commit() { in commit() method in DumpsysBatteryStatsParser 84 super.commit(); in commit()
|
D | DumpsysParser.java | 59 commit(); in parse() 79 protected void commit() { in commit() method in DumpsysParser 81 super.commit(); in commit()
|
D | BatteryStatsDetailedInfoParser.java | 121 commit(); in parse() 153 protected void commit() { in commit() method in BatteryStatsDetailedInfoParser 155 super.commit(); in commit()
|
D | KernelLogParser.java | 101 commit(); in parse() 117 commit(); in parse() 206 private void commit() { in commit() method in KernelLogParser
|
D | LogcatParser.java | 182 commit(); in parse() 197 commit(); in parse() 339 private void commit() { in commit() method in LogcatParser
|
D | AbstractSectionParser.java | 82 protected void commit() { in commit() method in AbstractSectionParser
|
/tools/metalava/ |
D | FORMAT.md | 297 method public static void edit(android.content.SharedPreferences, boolean commit); 301 name to be specified; "commit" in the above. 313 public static void edit(SharedPreferences prefs, @ParameterName("commit") boolean ct) {…} 329 method public static void edit(SharedPreferences, boolean commit = false);
|
/tools/tradefederation/core/res/jacoco/ |
D | version.txt | 1 This is the distribution of version 0.8.4 created on 2019/05/08 based on commit 2 https://github.com/jacoco/jacoco/commit/723a1acc6b4ab23556554568025c97c69035b120
|
/tools/repohooks/tools/ |
D | clang-format.py | 81 cmd.extend(['%s^' % opts.commit, opts.commit])
|
D | android_test_mapping_format.py | 191 if opts.commit: 192 json_data = rh.git.get_file_content(opts.commit, filename)
|
D | checkpatch.pl | 907 my ($commit, $id, $desc) = @_; 911 my $output = `git log --no-color --format='%H %s' -1 $commit 2>&1`; 917 if ($lines[0] =~ /^error: short SHA1 $commit is ambiguous\./) { 927 …} elsif ($lines[0] =~ /^fatal: ambiguous argument '$commit': unknown revision or path not in the w…
|
D | spelling.txt | 262 comit||commit 268 committ||commit
|
D | google-java-format.py | 84 diff_cmd = ['git', 'diff', '--no-ext-diff', '-U0', '%s^!' % opts.commit]
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | AbstractSectionParserTest.java | 40 commit(); in setUp()
|