| /external/pigweed/docs/_static/js/ |
| D | changelog.js | 7 // https://www.apache.org/licenses/LICENSE-2.0 16 // We use this tool to speed up the generation of bi-weekly changelog 17 // updates. It fetches the commits over a user-specified timeframe, derives 18 // a little metadata about each commit, organizes the commits, and renders 23 // Get the commits from the user-specified timeframe. 27 document.querySelector('#status').textContent = `Getting commit data...`; 41 'X-GitHub-Api-Version': '2022-11-28', 46 'An error occurred while fetching the commit data.'; 62 // Also, parse the "subject" of the commit, which is the first line 63 // of the commit message. [all …]
|
| /external/mesa3d/bin/pick/ |
| D | core_test.py | 1 # Copyright © 2019-2020 Intel Corporation 36 def unnominated_commit(self) -> 'core.Commit': 37 return core.Commit('abc123', 'sub: A commit', main_sha='45678') 40 def nominated_commit(self) -> 'core.Commit': 41 return core.Commit('abc123', 'sub: A commit', True, 46 def test_not_nominated(self, unnominated_commit: 'core.Commit'): argument 49 assert v == {'sha': 'abc123', 'description': 'sub: A commit', 'nominated': False, 53 def test_nominated(self, nominated_commit: 'core.Commit'): argument 57 'description': 'sub: A commit', 66 def test_not_nominated(self, unnominated_commit: 'core.Commit'): argument [all …]
|
| D | core.py | 1 # Copyright © 2019-2020 Intel Corporation 49 IS_FIX = re.compile(r'^\s*fixes:\s*([a-f0-9]{6,40})', flags=re.MULTILINE | re.IGNORECASE) 51 IS_CC = re.compile(r'^\s*cc:\s*["\']?([0-9]{2}\.[0-9])?["\']?\s*["\']?([0-9]{2}\.[0-9])?["\']?\s*\<… 53 IS_REVERT = re.compile(r'This reverts commit ([0-9a-f]{40})') 54 IS_BACKPORT = re.compile(r'^\s*backport-to:\s*(\d{2}\.\d),?\s*(\d{2}\.\d)?', 62 git_toplevel = subprocess.check_output(['git', 'rev-parse', '--show-toplevel'], 91 async def commit_state(*, amend: bool = False, message: str = 'Update') -> bool: 92 """Commit the .pick_status.json file.""" 104 cmd = ['--amend', '--no-edit'] 106 cmd = ['--message', f'.pick_status.json: {message}'] [all …]
|
| /external/executorch/build/ |
| D | pick_doc_commits.py | 5 # This source code is licensed under the BSD-style license found in the 11 pick_doc_commits.py --main=origin/main --release=origin/release/5.5 14 filter them down to the docs-only commits that should be cherrypicked. It will 34 # Controlled by the --verbose flag. 38 def debug_log(message: str): 39 """Prints a message to stderr if verbosity is greater than zero.""" 42 sys.stderr.write(f"VERBOSE: {message}\n") 45 def run_git(command: List[str]) -> List[str]: 54 A list of the non-empty lines printed to stdout, without trailing 66 # Remove empty and whitespace-only lines. [all …]
|
| /external/liburing/ |
| D | CONTRIBUTING.md | 18 than re-writing them in a saner format. Any change you make, please 21 Commit format 24 Each commit should do one thing, and one thing only. If you find yourself, 25 in the commit message, adding phrases like "Also do [...]" or "While in 29 commit, done first. That means this preparatory commit won't have any 30 functional changes, and hence should be a no-op. It also means that your 31 main commit, with the change that you actually care about, will be smaller 34 Each commit must stand on its own in terms of what it provides, and how it 35 works. Lots of changes are just a single commit, but for something a bit 37 commits. Make each commit as simple as possible, and not any simpler. We'd [all …]
|
| /external/rust/android-crates-io/crates/miette/ |
| D | cliff.toml | 1 # configuration file for git-cliff (0.1.0) 15 ## {{ version | replace(from="v", to="") }} ({{ timestamp | date(format="%Y-%m-%d") }}) 21 {% for commit in commits %} 22 {% if commit.scope %}\ 23 * **{{ commit.scope }}:** {{ commit.message }} ([{{ commit.id | truncate(length=8, end="") }}](http… 24 {%- if commit.breaking %} 25 * **BREAKING CHANGE**: {{ commit.breaking_description }} 26 {%- endif %}\ 37 # <!-- generated by git-cliff --> 46 { message = "^feat*", group = "Features"}, [all …]
|
| /external/skia/experimental/documentation/ |
| D | gerrit.md | 1 Using Gerrit without git-cl 5 ----- 9 This command sets up a Git commit-message hook to add a unique Change-Id to 10 each commit. Gerrit only accepts changes with a Change-Id and uses it to 13 experimental/tools/set-change-id-hook 20 git remote set-url origin 'https://skia.googlesource.com/skia.git' 24 -------------- 26 Go to [skia.googlesource.com/new-password](https://skia.googlesource.com/new-password) 31 ----------------- 35 git checkout -b TOPIC [all …]
|
| /external/pigweed/docs/style/ |
| D | commit_message.rst | 1 .. _docs-pw-style-commit-message: 4 Commit message style 6 Pigweed commit message bodies and summaries are limited to 72 characters wide to 8 commit is affecting. The commits should describe what is changed, and why. When 9 writing long commit messages, consider whether the content should go in the 12 .. code-block:: none 17 description of why the change is needed. Consider what parts of the commit 18 message are better suited for documentation or code. 20 - Added foo, to fix issue bar 21 - Improved speed of qux [all …]
|
| /external/libchrome/libchrome_tools/uprev/ |
| D | filtered_utils.py | 2 # Use of this source code is governed by a BSD-style license that can be 13 CROS_LIBCHROME_INITIAL_COMMIT = b'CrOS-Libchrome-History-Initial-Commit' 14 # Keyword to identify original commit in Chromium browser repository. 15 CROS_LIBCHROME_ORIGINAL_COMMIT = b'CrOS-Libchrome-Original-Commit' 18 # Stores metadata required for a git commit. 21 ['parents', 'original_commits', 'tree', 'authorship', 'title', 'message', 'is_root',] 25 # Stores information for a commit authorship. 33 """Returns the metadata of the commit specified by the commit_hash. 35 This function parses the commit message of the commit specified by the 37 The commit must be on the filtered branch, otherwise some metadata may be [all …]
|
| D | generate_filtered_tree.py | 3 # Use of this source code is governed by a BSD-style license that can be 21 # Verify the tree is consistent (diff-based, and actual) when a commit is made 42 return _TIMING_DISTANCE / (now - first) 46 """Returns the last commit committed by the script, and its metadata. 49 parent_filtered: the commit hash of the tip of the filtered branch. 62 def find_filtered_commit(commit, commits_map): argument 63 """Finds the corresponding parent of a browser commit in filtered branch. 65 If not found, the corresponding commit of its least ancestor is used. 68 commit: commit hash in browser repository. 69 commits_map: commit hash mapping from original commit to the one in the [all …]
|
| /external/drm_hwcomposer/hooks/ |
| D | check-non-public-commits | 3 # git pre-push hook to detect whether a developer is attempting to push 4 # non-public commits to a public repository. 10 if [[ "$url" = "sso://googleplex-android/platform/external/drm_hwcomposer" ]] || 22 commits=$(git rev-list $local_sha --not --remotes=$remote) 24 commits=$(git rev-list $remote_sha..$local_sha) 27 # Check each commit message for the prohibited prefix. 28 for commit in $commits; do 29 # Get the commit message. 30 message=$(git log -1 --pretty=%B $commit) 32 # Check if the commit message starts with "ANDROID:" [all …]
|
| /external/rust/android-crates-io/crates/mls-rs/src/group/interop_test_vectors/ |
| D | framing.rs | 3 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 23 AuthenticatedContent, Commit, Group, GroupContext, MlsMessage, Sender, 57 pub commit: Vec<u8>, field 72 async fn random<P: CipherSuiteProvider>(cs: &P) -> Self { in random() 108 fn random<P: CipherSuiteProvider>(cs: &P) -> Self { in random() 121 fn from(ctx: InteropGroupContext) -> Self { in from() 135 // https://github.com/mlswg/mls-implementations/blob/main/test-vectors/message-protection.json 177 for message in to_check { in framing_proposal() 178 match process_message(&test_case, &message, &cs).await { in framing_proposal() 187 // https://github.com/mlswg/mls-implementations/blob/main/test-vectors/message-protection.json [all …]
|
| D | serialization.rs | 3 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 17 Commit, GroupSecrets, MlsMessage, 52 commit: Vec<u8>, field 65 // https://github.com/mlswg/mls-implementations/blob/main/test-vectors/messages.json 71 let message = MlsMessage::from_bytes(&test_case.mls_welcome).unwrap(); in serialization() localVariable 72 message.clone().into_welcome().unwrap(); in serialization() 73 assert_eq!(&message.to_bytes().unwrap(), &test_case.mls_welcome); in serialization() 75 let message = MlsMessage::from_bytes(&test_case.mls_group_info).unwrap(); in serialization() localVariable 76 message.clone().into_group_info().unwrap(); in serialization() 77 assert_eq!(&message.to_bytes().unwrap(), &test_case.mls_group_info); in serialization() [all …]
|
| /external/wayland/ |
| D | CONTRIBUTING.md | 5 --------------- 8 [GitLab merge requests](https://docs.gitlab.com/ce/gitlab-basics/add-merge-request.html). 15 Wayland formerly accepted patches via `git-send-email`, sent to 16 **wayland-devel@lists.freedesktop.org**; these were 24 --------------------------------- 27 [linear, 'recipe' style history](http://www.bitsnbites.eu/git-history-work-log-vs-recipe/). 28 This means that every commit should be small, digestible, stand-alone, and 29 functional. Rather than a purely chronological commit history like this: 33 connection: init fds to -1 42 connection: Clear fds we shouldn't close to -1 [all …]
|
| /external/flashrom/util/git-hooks/ |
| D | applypatch-msg | 3 # A hook script to check the commit log message taken by 4 # applypatch from an e-mail message (via git-am). 5 # We simply do the same as for other commit messages 7 # The hook should exit with non-zero status after issuing an 8 # appropriate message if it wants to stop the commit. The hook is 9 # allowed to edit the commit message file. 12 . git-sh-setup 13 test -x "$GIT_DIR/hooks/commit-msg" && 14 exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
|
| /external/openthread/tools/gerrit/ |
| D | README.md | 1 # git-squash-merge tool 3 `git-squash-merge` is a bash script to help squash merge a given branch into the current branch. Th… 5 …into the current branch. By default the changes are committed with a commit message containing the… 10 git-squash-merge [--no-list] [--no-commit] <branch> [<commit msg>]" 15 - `<branch>` specifies the name of branch to merge into current branch. 16 - `<commit msg>` is an optional parameter specifying text to add to the commit message. 20 - `--no-list` when used the commit message will not include the list of squashed commits. 21 - `--no-commit` when used, the tool squashes and stages the changes but does not commit" 26 ~/sw/openthread $ ./tools/gerrit/git-squash-merge.sh github/master "OpenThread GitHub sync" 27 commit 977287e73a3fcae297306b1e68da50d4bbee0d14 (HEAD) [all …]
|
| D | git-squash-merge.sh | 41 …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/vulkan-validation-layers/scripts/ |
| D | check_commit_message_format.sh | 9 # 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/openscreen/discovery/mdns/ |
| D | mdns_writer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 28 for (size_t i = labels.size(); i-- > 0;) { in ComputeDomainNameSubhashes() 42 ptrdiff_t record_length = end - begin - sizeof(uint16_t); in UpdateRecordLength() 59 cursor.Commit(); in Write() 70 // See section 4.1.4. Message compression 87 // names that are longer than the currently processed sub-name. in Write() 90 if (!Write(find_result->second)) { in Write() 95 cursor.Commit(); in Write() 100 if (IsValidPointerLabelOffset(current() - begin())) { in Write() 102 std::make_pair(subhashes[i], MakePointerLabel(current() - begin()))); in Write() [all …]
|
| /external/crosvm/tools/tests/ |
| D | cl_tests.py | 3 # Use of this source code is governed by a BSD-style license that can be 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) 52 git("commit -a -m", quoted(message)).fg(quiet=True) [all …]
|
| /external/llvm/docs/ |
| D | Phabricator.rst | 11 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/pigweed/pw_cli/py/pw_cli/ |
| D | git_repo.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 36 """A Git-raised exception.""" 39 self, args: Iterable[str], message: str, returncode: int 40 ) -> None: 41 super().__init__(f'`git {shlex.join(args)}` failed: {message}') 46 def __init__(self, tool_runner: ToolRunner, working_dir: Path) -> None: 50 def __call__(self, *args, **kwargs) -> str: 51 cmd = ('-C', str(self._working_dir), *args) 74 ) -> str | None: 88 'rev-parse', [all …]
|
| /external/llvm/utils/git-svn/ |
| D | git-svnrevert | 3 if [ $# -ne 1 ]; then 5 echo "$0 <rNNNNNN | git-hash>" 9 if [ -n "$(git status -uno -s --porcelain)" ]; then 11 git status -uno 15 COMMIT=$1 16 OTHER=$(git svn find-rev "$COMMIT") 17 if [ $? -ne 0 ] || [ "$OTHER" = "" ]; then 18 echo "Error! Could not find an svn/git revision for commit $COMMIT!" 21 echo " * Your revision number ($COMMIT) is wrong" 22 echo " * This tree is not up to date (before that commit)" [all …]
|
| /external/liburing/.github/ |
| D | pull_request_template.md | 2 <!-- Explain your changes here... --> 4 ---- 5 ## git request-pull output: 7 <!-- START REPLACE ME --> 10 git remote add axboe-tree https://github.com/axboe/liburing 11 git fetch axboe-tree 12 git request-pull axboe-tree/master your_fork_URL your_branch_name 14 Then replace this with the output of `git request-pull` command. 16 <!-- END REPLACE ME --> 18 ---- [all …]
|
| /external/rust/android-crates-io/crates/mls-rs/examples/ |
| D | basic_server_usage.rs | 3 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 23 fn cipher_suite_provider() -> impl CipherSuiteProvider { in cipher_suite_provider() 29 fn crypto_provider() -> impl CryptoProvider + Clone { in crypto_provider() 42 fn create_group(group_info: &[u8]) -> Result<Self, MlsError> { in create_group() 57 fn upload_proposal(&mut self, proposal: Vec<u8>) -> Result<(), MlsError> { in upload_proposal() 66 panic!("expected proposal message!") in upload_proposal() 77 // Client uploads a commit. This changes the server's group state, so in a real application, 79 fn upload_commit(&mut self, commit: Vec<u8>) -> Result<(), MlsError> { in upload_commit() 88 let commit_msg = MlsMessage::from_bytes(&commit)?; in upload_commit() 91 let ExternalReceivedMessage::Commit(_commit_desc) = res else { in upload_commit() [all …]
|