Home
last modified time | relevance | path

Searched +full:commit +full:- +full:message +full:- +full:check (Results 1 – 25 of 806) sorted by relevance

12345678910>>...33

/external/rust/crates/vsock/.github/workflows/
Dcommit-message-check.yaml1 name: Commit Message Check
5 - opened
6 - reopened
7 - synchronize
13 https://github.com/kata-containers/community/blob/master/CONTRIBUTING.md#patch-forma
16 commit-message-check:
17 runs-on: ubuntu-latest
18 name: Commit Message Check
20 - name: Get PR Commits
21 id: 'get-pr-commits'
[all …]
/external/vulkan-validation-layers/scripts/
Dcheck_commit_message_format.sh9 # http://www.apache.org/licenses/LICENSE-2.0
17 # Checks commit messages against project standards in CONTRIBUTING.md document
18 # Script to determine if commit messages in Pull Request are properly formatted.
22 shopt -s lastpipe
30 # Get user-supplied commit message text for applicable commits and insert
34 COMMIT_TEXT=$(git log ${TRAVIS_COMMIT_RANGE} --pretty=format:"XXXNEWLINEXXX"%n%B)
37 if [ -z "${COMMIT_TEXT}" ]; then
38 echo -e "${GREEN}No commit messgages to check for formatting.${NC}"
40 elif ! echo $TRAVIS_COMMIT_RANGE | grep -q "\.\.\."; then
41 echo -e "${GREEN}No commit messgages to check for formatting.${NC}"
[all …]
/external/google-cloud-java/owl-bot-postprocessor/synthtool/sources/
Dgit.py7 # https://www.apache.org/licenses/LICENSE-2.0
34 def make_repo_clone_url(repo: str) -> str:
35 """Returns a fully-qualified repo URL on GitHub from a string containing
47 def _local_default_branch(path: pathlib.Path) -> Union[str, None]:
55 path {pathlib.Path} - Path to the local git clone
58 string -- The inferred default branch.
62 ["git", "branch", "--sort=-committerdate", "--format=%(refname:short)"],
65 .decode("utf-8")
79 ) -> pathlib.Path:
87 url {str} -- Url pointing to remote git repo.
[all …]
/external/crosvm/tools/chromeos/
Dmerge_bot3 # Use of this source code is governed by a BSD-style license that can be
9 # account (and are enabled with --is-bot).
11 # See `./tools/chromeos/merge_bot -h` for details.
32 git_log = git("log --decorate=no --color=never")
33 curl = cmd("curl --silent --fail")
36 mkdir = cmd("mkdir -p")
44 MERGE_TAG = "testing-crosvm-merge"
45 DRY_RUN_TAG = "testing-crosvm-merge-dry-run"
47 MERGE_TAG = "crosvm-merge" # type: ignore
48 DRY_RUN_TAG = "crosvm-merge-dry-run" # type: ignore
[all …]
/external/robolectric/.github/workflows/
Dvalidate_commit_message.yml1 name: Validate commit message
8 group: ${{ github.workflow }}-${{ github.ref }}
9 cancel-in-progress: true
16 runs-on: ubuntu-22.04
19 - uses: actions/checkout@v4
23 - name: Validate commit title
25 # Check that the commit title isn't excessively long.
26 commit_title="$(git log -1 --pretty=format:'%s')"
27 if [ "${#commit_title}" -gt 120 ]; then
28 echo "Error: the title of the commit is too long (max: 120 characters)"
[all …]
/external/zstd/tests/
DDEPRECATED-test-zstd-speed.py2 # THIS BENCHMARK IS BEING REPLACED BY automated-bencmarking.py
8 # This source code is licensed under both the BSD-style license (found in the
11 # You may select, at your option, one of the above-listed licenses.
15 # - doesn't support filenames with spaces
16 # - dir1/zstd and dir2/zstd will be merged in a single results file
27 script_version = 'v1.1.2 (2017-03-26)'
48 print(time.strftime("%Y/%m/%d %H:%M:%S") + ' - ' + text)
56 stderr_lines = stderr_lines.decode("utf-8")
57 stdout_lines = stdout_lines.decode("utf-8")
85 execute('mutt -s "' + topic + '" ' + emails + ' < ' + logFileName, verbose)
[all …]
/external/lz4/tests/
Dtest-lz4-speed.py4 # Copyright (c) 2016-2020, Przemyslaw Skibinski, Yann Collet, Facebook, Inc.
7 # This source code is licensed under the BSD-style license found in the
13 # - doesn't support filenames with spaces
14 # - dir1/lz4 and dir2/lz4 will be merged in a single results file
24 script_version = 'v1.7.2 (2016-11-08)'
45 print(time.strftime("%Y/%m/%d %H:%M:%S") + ' - ' + text)
53 stderr_lines = stderr_lines.decode("utf-8")
54 stdout_lines = stdout_lines.decode("utf-8")
82 execute('mutt -s "' + topic + '" ' + emails + ' < ' + logFileName, verbose)
84 execute('mail -s "' + topic + '" ' + emails + ' < ' + logFileName, verbose)
[all …]
/external/crosvm/tools/tests/
Dcl_tests.py3 # Use of this source code is governed by a BSD-style license that can be
33 # Check out a detached head and delete all branches.
34 git("checkout -d HEAD").fg(quiet=True)
38 git("branch -D", branch).fg(quiet=True)
41 git("remote set-url origin https://chromium.googlesource.com/crosvm/crosvm").fg(quiet=True)
42 git("fetch -q origin main").fg(quiet=True)
43 git("fetch -q origin chromeos").fg(quiet=True)
45 def tearDown(self) -> None:
48 def create_test_commit(self, message: str, branch: str, upstream: str = "origin/main"):
49 git("checkout -b", branch, "--track", upstream).fg(quiet=True)
[all …]
/external/openthread/third_party/mbedtls/repo/tests/git-scripts/
Dpre-commit.sh3 # pre-commit.sh
6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
11 # - check that generated files are up-to-date.
13 # It is meant to be called as a git pre-commit hook, see README.md.
15 # From the git sample pre-commit hook:
16 # Called by "git commit" with no arguments. The hook should
17 # exit with non-zero status after issuing an appropriate message if
18 # it wants to stop the commit.
20 set -eu
22 tests/scripts/check-generated-files.sh
/external/angle/doc/
DContributingCode.md7 ([angleproject][ANGLE-website]).
11 fixes) should generally be tracked in the bug system. Please [file a bug][anglebug-new] and
13 * If you would like bug-editing rights, simply ask a team member via email or the discussion group.
15 [ANGLE-website]: https://groups.google.com/forum/?fromgroups#!forum/angleproject
17 [anglebug-new]: http://anglebug.com/new
23 1. Must conform to the [ANGLE style][ANGLE-style] guidelines.
27 [ANGLE-style]: CodingStandard.md
35 2. ANGLE's BUILD.gn script is used by [Chromium's gn build][gn-build-config]. If you change build
37 ANGLE's commit queue (CQ) will detect such breakage. Ask a project member for help with Chromium
45 [gn-build-config]: https://www.chromium.org/developers/gn-build-configuration
[all …]
/external/skia/site/docs/dev/contrib/
Dcqkeywords.md2 ---
3 title: "Commit Queue Keywords"
4 linkTitle: "Commit Queue Keywords"
6 ---
14 commit message to be used.
17 Commit section
18 ------
21 submitting the change via the CQ, then you can mark it with "Commit: false".
24 Run](https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/G5-X0_tfmok)
27 Commit: false
[all …]
/external/openthread/tools/gerrit/
Dgit-squash-merge.sh41 …echo "By default, the changes are committed with a commit message which includes the list of all s…
42 echo "(use --no-commit and --no-list options to change default behavior)."
44 echo "Usage: $(basename "$0") [--no-list] [--no-commit] <branch> [<commit msg>]"
47 echo " <commit msg> An optional parameter specifying text to add to the commit message"
49 echo " --no-list The commit message will not include the list of squashed commits"
50 echo " --no-commit Squash and stage the changes but do not commit "
59 --help | -h | -[?])
64 --no-list)
67 --no-commit)
70 --debug) set -x ;;
[all …]
/external/mesa3d/bin/
Dcommit_in_branch.py8 def print_(args: argparse.Namespace, success: bool, message: str) -> None:
33 s += message
41 def is_commit_valid(commit: str) -> bool:
42 ret = subprocess.call(['git', 'cat-file', '-e', commit],
48 def branch_has_commit(upstream_branch: str, commit: str) -> bool:
50 Returns True if the commit is actually present in the branch
52 ret = subprocess.call(['git', 'merge-base', '--is-ancestor',
53 commit, upstream_branch],
59 def branch_has_backport_of_commit(upstream_branch: str, commit: str) -> str:
61 Returns the commit hash if the commit has been backported to the branch,
[all …]
/external/mesa3d/docs/
Dsubmittingpatches.rst7 ----------------
9 - Patches should not mix code changes with code formatting changes
11 - Code patches should follow Mesa :doc:`coding
13 - Whenever possible, patches should only affect individual Mesa/Gallium
15 - Patches should never introduce build breaks and should be bisectable
17 - Patches should be properly :ref:`formatted <formatting>`.
18 - Patches should be sufficiently :ref:`tested <testing>` before
20 - Patches should be :ref:`submitted <submit>` via a merge request for
26 ----------------
28 - Lines should be limited to 75 characters or less so that Git logs
[all …]
/external/toolchain-utils/llvm_tools/
Dsetup_for_workon.py3 # Use of this source code is governed by a BSD-style license that can be
6 """Sets up src/third_party/llvm-project for cros workon from an LLVM ebuild."""
37 ) -> None:
42 f"--svn_version={current_rev.number}",
43 f"--src_path={llvm_dir.path}",
44 f"--patch_metadata_file={patch_metadata_file}",
46 check=True,
51 def find_ebuild_in_dir(ebuild_dir: Path) -> Path:
53 candidates = list(ebuild_dir.glob("*-9999.ebuild"))
62 def write_gentoo_cmake_hack(llvm_dir: LLVMSourceDir, ebuild_dir: Path) -> None:
[all …]
Dupdate_chromeos_llvm_hash.py3 # Use of this source code is governed by a BSD-style license that can be
35 DEFAULT_MANIFEST_PACKAGES = ["sys-devel/llvm"]
78 def find_package_ebuild(chroot_opts: ChrootOpts, package: str) -> Path:
92 def package_dir(self) -> Path:
109 # Working with a -9999 ebuild package here, no
131 def live_ebuild(self) -> Optional[Path]:
137 matches = self.package_dir().glob("*-9999.ebuild")
141 def defaultCrosRoot() -> Path:
151 if llvm_tools_path.endswith("src/third_party/toolchain-utils/llvm_tools"):
166 # Create parser and add optional command-line arguments.
[all …]
/external/armnn/profiling/client/src/
DSendTimelinePacket.cpp3 // SPDX-License-Identifier: MIT
14 void SendTimelinePacket::Commit() in Commit() function in arm::pipe::SendTimelinePacket
18 // Can't commit from a null buffer in Commit()
25 m_PacketDataLength = m_Offset - m_uint32_t_size * 2; in Commit()
29 // Add header before commit in Commit()
33 WriteUint32(m_WriteBuffer->GetWritableData(), m_Offset, m_PacketHeader.first); in Commit()
35 WriteUint32(m_WriteBuffer->GetWritableData(), m_Offset, m_PacketHeader.second); in Commit()
37 m_BufferManager.Commit(m_WriteBuffer, m_PacketDataLength + m_uint32_t_size * 2); in Commit()
43 m_BufferManager.Commit(m_WriteBuffer, m_Offset); in Commit()
46 // Commit the message in Commit()
[all …]
/external/pigweed/pw_cli/py/pw_cli/
Dgit_repo.py7 # https://www.apache.org/licenses/LICENSE-2.0
33 """A Git-raised exception."""
35 def __init__(self, message, returncode): argument
36 super().__init__(message)
45 def __call__(self, *args, **kwargs) -> str:
49 '-C',
76 ) -> str | None:
90 'rev-parse',
91 '--abbrev-ref',
92 '--symbolic-full-name',
[all …]
/external/elfutils/
DCONTRIBUTING7 elfutils-devel@sourceware.org.
8 https://sourceware.org/ml/elfutils-devel/
10 To subscribe send an email to elfutils-devel-subscribe@sourceware.org
11 Or use the form at https://sourceware.org/mailman/listinfo/elfutils-devel
13 Please supply patches using git format-patch or using git send-email.
17 To facilitate tracking of who did what, we've adopted a "sign-off"
21 The sign-off is a simple line at the end of the explanation for the
41 with it, including my sign-off) is maintained indefinitely
46 Signed-off-by: Random J Developer <random@developer.example.org>
52 git commit --signoff will add such a Signed-off-by line at the end of
[all …]
/external/llvm/docs/
DPhabricator.rst11 While Phabricator is a useful tool for some, the relevant -commits mailing list
14 to respond to free-form comments in mail sent to the commits list.
17 -------
24 to the relevant -commits mailing list. If you are not subscribed to the commit
32 ----------------------------------------
42 -----------------------------------------
57 * ``git diff -U999999 other-branch``
58 * ``svn diff --diff-cmd=diff -x -U999999``
68 in the form of a :ref:`commit message <commit messages>`.
71 for LLVM, add llvm-commits as a Subscriber; if your patch is for Clang,
[all …]
/external/wayland-protocols/
Dimport_snapshot.py8 # http://www.apache.org/licenses/LICENSE-2.0
32 # Check https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags
49 def base(self) -> pathlib.PurePath:
56 check: bool = True) -> subprocess.CompletedProcess:
57 return subprocess.run(['git', '-C', self._base] + cmd,
59 check=check,
62 def get_hash_for_version(self, version) -> str:
65 return self._git(['show-ref', '--hash',
68 def git_ref_name_for_version(self, version) -> str | None:
71 ref = self._git(['describe', '--all', '--exact-match', version],
[all …]
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp1 //===--- DiagnosticRenderer.cpp - Diagnostic Pretty-Printing --------------===//
8 //===----------------------------------------------------------------------===//
14 #include "clang/Edit/Commit.h"
53 edit::Commit commit(SM, LangOpts); in mergeFixits() local
59 commit.insertFromRange(Hint.RemoveRange.getBegin(), in mergeFixits()
63 commit.remove(Hint.RemoveRange); in mergeFixits()
67 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits()
69 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits()
75 if (Editor.commit(commit)) { in mergeFixits()
83 StringRef Message, in emitDiagnostic() argument
[all …]
/external/mockito-kotlin/.github/workflows/
Dci.yml5 # - skipping CI: add [skip ci] to the commit message
6 # - skipping release: add [skip release] to the commit message
13 - main
14 tags-ignore:
15- v* # release tags are automatically generated after a successful CI build, no need to run CI aga…
18 - main
23 # SINGLE-JOB
26 runs-on: ubuntu-latest
27 if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
31 - name: 1. Check out code
[all …]
/external/libusb/
DHACKING9 Please run make -C doc and check for any Doxygen warnings.
11 Commit messages should be formatted to 72 chars width and have a
12 free-standing summary line. See for instance "Commit Guidelines" on
13 https://git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project
14 or https://cbea.ms/git-commit/ about how to make well-formed commit
17 Put detailed information in the commit message itself, which will end
22 commit author field. Do not update the AUTHOR file yourself, the
/external/ltp/doc/
DC-Test-Case-Tutorial.asciidoc5 … https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines[Test Writing Guidelines],
6 https://github.com/linux-test-project/ltp/wiki/C-Test-API[C Test API].
8 This is a step-by-step tutorial on writing a simple C LTP test, where topics
20 -------------------------
31 ------------------
33 Git-clone the main LTP repository as described in
34 https://github.com/linux-test-project/ltp#quick-guide-to-running-the-tests[the +README.md+]
35 and change directory to the checked-out Git repository. We recommend installing the LTP
43 ------------------------------------------------------------------------------
45 ------------------------------------------------------------------------------
[all …]

12345678910>>...33