Home
last modified time | relevance | path

Searched +full:rev +full:- +full:parse (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/third_party/grpc/tools/internal_ci/helper_scripts/
Dprepare_build_macos_interop_rc8 # http://www.apache.org/licenses/LICENSE-2.0
21 git clone --recursive https://github.com/grpc/grpc-go ./../grpc-go && (cd ../grpc-go; git rev-parse
22 git clone --recursive https://github.com/grpc/grpc-java ./../grpc-java && (cd ../grpc-java; git rev…
23 git clone --recursive https://github.com/grpc/grpc-node ./../grpc-node && (cd ../grpc-node; git rev…
24 git clone --recursive https://github.com/grpc/grpc-dart ./../grpc-dart && (cd ../grpc-dart; git rev…
25 git clone --recursive https://github.com/grpc/grpc-dotnet ./../grpc-dotnet && (cd ../grpc-dotnet; g…
Dprepare_build_interop_rc8 # http://www.apache.org/licenses/LICENSE-2.0
19 export LANG=en_US.UTF-8
21 git submodule update --init
25 git clone --recursive https://github.com/grpc/grpc-go ./../grpc-go && (cd ../grpc-go; git rev-parse
26 git clone --recursive https://github.com/grpc/grpc-java ./../grpc-java && (cd ../grpc-java; git rev…
27 git clone --recursive https://github.com/grpc/grpc-node ./../grpc-node && (cd ../grpc-node; git rev…
28 git clone --recursive https://github.com/grpc/grpc-dart ./../grpc-dart && (cd ../grpc-dart; git rev…
29 git clone --recursive https://github.com/grpc/grpc-dotnet ./../grpc-dotnet && (cd ../grpc-dotnet; g…
33 …/73836_interop_to_prod_tests_service_account_key" ~/service_account/grpc-testing-ebe7c1ac7381.json…
/third_party/mesa3d/bin/ci/
Dupdate_traces_checksum.py7 # SPDX-License-Identifier: MIT
34 ) -> None:
37 target_jobs_regex = re.compile(".*-traces([:].*)?$")
64 with open(traces_file[0], 'r', encoding='utf-8') as target_file:
72 # parse artifact
74 results_json = bz2.decompress(results_json_bz2).decode("utf-8", errors="replace")
109 with open(traces_file[0], 'w', encoding='utf-8') as target_file:
114 def parse_args() -> None:
115 """Parse args"""
118 epilog="Example: update_traces_checksum.py --rev $(git rev-parse HEAD) "
[all …]
Dci_run_n_monitor.py2 # Copyright © 2020 - 2022 Collabora Ltd.
8 # SPDX-License-Identifier: MIT
71 ) -> None:
93 def job_duration(job: gitlab.v4.objects.ProjectPipelineJob) -> float:
102 return time.perf_counter() - time.mktime(job.started_at.timetuple())
106 def pretty_wait(sec: int) -> None:
108 for val in range(sec, 0, -1):
121 ) -> tuple[Optional[int], Optional[int], Dict[str, Dict[int, Tuple[float, str, str]]]]:
127 target_id: int = -1
132 # Pre-populate the stress status counter for already completed target jobs.
[all …]
/third_party/rust/rust/src/tools/
Dcherry-pick.sh2 set -euo pipefail
8 echo " git rev-parse --verify $1"
13 git rev-parse \
14 --verify \
15 --quiet \
20 message=$(git log --format=%B -n 1 $1)
21 echo $message | awk "NR==1{print; print \"\n(backport-of: $1)\"} NR!=1"
26 git cherry-pick $sha > /dev/null
28 --amend \
29 --file <(commit_message_with_backport_note $sha)
/third_party/skia/m133/infra/bots/
Dcheck_deps.py5 # Use of this source code is governed by a BSD-style license that can be
30 utils.WHICH, utils.GCLIENT]).decode('utf-8')
36 [python, gclient_py, 'revinfo'], cwd=SKIA_DIR).decode('utf-8')
44 'Failed to parse `gclient revinfo` output; invalid format: %s' % e)
51 'Failed to parse `gclient revinfo` output; invalid format: %s' % e)
54 rev = split[1]
55 if 'chrome-infra-packages' in repo:
60 'See http://go/new-skia-git-mirror' % repo)
61 if not re.match(r'^[a-z0-9]{40}$', rev):
62 errs.append('%s: "%s" does not look like a commit hash.' % (repo, rev))
/third_party/skia/infra/bots/
Dcheck_deps.py5 # Use of this source code is governed by a BSD-style license that can be
30 utils.WHICH, utils.GCLIENT]).decode('utf-8')
36 [python, gclient_py, 'revinfo'], cwd=SKIA_DIR).decode('utf-8')
44 'Failed to parse `gclient revinfo` output; invalid format: %s' % e)
51 'Failed to parse `gclient revinfo` output; invalid format: %s' % e)
54 rev = split[1]
55 if 'chrome-infra-packages' in repo:
60 'See http://go/new-skia-git-mirror' % repo)
61 if not re.match(r'^[a-z0-9]{40}$', rev):
62 errs.append('%s: "%s" does not look like a commit hash.' % (repo, rev))
/third_party/spirv-tools/utils/
Dupdate_build_version.py9 # http://www.apache.org/licenses/LICENSE-2.0
20 # Args: <changes-file> <output-file>
24 # - The software version deduced from the given CHANGES file.
25 # - A longer string with the project name, the software version number, and
28 # rev-parse HEAD" if that succeeds, or otherwise a message containing the
43 # "v2023.1", "SPIRV-Tools v2023.1 0fc5526f2b01a0cc89192c10cf8bef77f1007a62, 2023-01-18T14:51:49"
44 OUTPUT_FORMAT = '"{version_tag}", "SPIRV-Tools {version_tag} {description}"\n'
91 # Match the first well-formed version-and-date line
92 # Allow trailing whitespace in the checked-out source code has
93 # unexpected carriage returns on a linefeed-only system such as
[all …]
/third_party/grpc/tools/bazelify_tests/
Dworkspace_status_cmd.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -e
18 GRPC_GIT_COMMIT="$(git rev-parse HEAD)"
22 echo -n 'STABLE_GRPC_SUBMODULE_ARCHIVES'
23 git submodule --quiet foreach 'git_commit="$(git rev-parse HEAD)"; echo -n " ${name}/${git_commit}"…
26 if [ "$(git status --porcelain)" == "" ]
31 echo "STABLE_GRPC_UNCOMMITTED_PATCH_CHECKSUM $(git diff HEAD | sha256sum | cut -f1 -d' ')"
34 # Since only --workspace_status_command is allowed by bazel, also include
Dgrpc_repo_archive.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -e
24 mkdir -p "${ARCHIVES_DIR}"
25 rm -rf "${ARCHIVES_DIR}"/*
44 # extract STABLE_GIT_COMMIT from stable-status.txt
45 …MMIT_FROM_STABLE_STATUS=$(grep ^STABLE_GRPC_GIT_COMMIT bazel-out/stable-status.txt | cut -d' ' -f2)
49 … gRPC git commit from the bazel workspace. Make sure you invoke bazel with --workspace_status_comm…
53 …_STATUS=$(grep ^STABLE_GRPC_UNCOMMITTED_PATCH_CHECKSUM bazel-out/stable-status.txt | cut -d' ' -f2)
54 …_STABLE_STATUS=$(grep ^STABLE_GRPC_GIT_WORKSPACE_DIRTY bazel-out/stable-status.txt | cut -d' ' -f2)
58 if [ "${GRPC_GIT_COMMIT_FROM_STABLE_STATUS}" != "$(git rev-parse HEAD)" ]
[all …]
/third_party/mesa3d/bin/
Dgit_sha1_gen.py13 """Try to get the git SHA1 with git rev-parse."""
18 '--git-dir=' + git_dir,
19 'rev-parse',
42 parser.add_argument('--output', help='File to write the #define in',
48 write_if_different('#define MESA_GIT_SHA1 " (git-' + git_sha1 + ')"')
/third_party/ninja/misc/packaging/
Drpmbuild.sh4 GITROOT=$(git rev-parse --show-toplevel)
8 REL=$(git rev-parse --short HEAD)git
9 RPMTOPDIR=$GITROOT/rpm-build
13 mkdir -p $RPMTOPDIR/{SOURCES,SPECS}
14 git archive --format=tar --prefix=ninja-${VER}-${REL}/ HEAD | gzip -c > $RPMTOPDIR/SOURCES/ninja-${…
16 # Convert git log to RPM's ChangeLog format (shown with rpm -qp --changelog <rpm file>)
17 sed -e "s/%{ver}/$VER/" -e "s/%{rel}/$REL/" misc/packaging/ninja.spec > $RPMTOPDIR/SPECS/ninja.spec
18 git log --format="* %cd %aN%n- (%h) %s%d%n" --date=local | sed -r 's/[0-9]+:[0-9]+:[0-9]+ //' >> $R…
21 rpmbuild --quiet \
22 --define "_topdir $RPMTOPDIR" \
[all …]
/third_party/skia/m133/third_party/freetype2/
Droll-freetype.sh6 FT_BUILD_DIR="$(dirname -- "$0")"
10 if $(git -C "${FT_GIT_DIR}" rev-parse --is-shallow-repository); then
17 …FT_PREVIOUS_REV=$(git grep "${FT_GIT_REPO}" HEAD~1 -- DEPS | sed 's!.*'${FT_GIT_REPO}'@\([[:xdigit…
22 git -C "${FT_GIT_DIR}" fetch &&
23 FT_NEXT_REV=$(git -C "${FT_GIT_DIR}" rev-parse "${FT_GIT_REF}")
27 STEP="roll-deps" &&
28 sed -i'' -e "s!${FT_GIT_REPO}@${FT_PREVIOUS_REV}!${FT_GIT_REPO}@${FT_NEXT_REV}!" DEPS &&
29 tools/git-sync-deps &&
34 STEP="roll-bazel" &&
35 sed -i'' -e "s!commit = \"${FT_PREVIOUS_REV}\",!commit = \"${FT_NEXT_REV}\",!" bazel/deps.bzl &&
[all …]
/third_party/skia/third_party/externals/spirv-cross/
D.travis.yml1 # Copyright 2016-2021 The Khronos Group Inc.
2 # SPDX-License-Identifier: Apache-2.0
5 - cpp
6 - python
12 - os: linux
16 - GENERATOR="Unix Makefiles"
17 - ARTIFACT=gcc-trusty-64bit
18 - os: linux
22 - GENERATOR="Unix Makefiles"
23 - ARTIFACT=clang-trusty-64bit
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
Dupdate_build_version.py9 # http://www.apache.org/licenses/LICENSE-2.0
20 # Args: <spirv-tools_dir> <output-file>
24 # - The software version deduced from the CHANGES file in the given directory.
25 # - A longer string with the project name, the software version number, and
27 # is the output of "git describe" if that succeeds, or "git rev-parse HEAD"
83 # Match the first well-formed version-and-date line.
84 # Allow trailing whitespace in the checked-out source code has
85 # unexpected carriage returns on a linefeed-only system such as
87 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$')
101 Runs 'git describe', or alternately 'git rev-parse HEAD', in directory. If
[all …]
/third_party/skia/third_party/externals/spirv-tools/utils/
Dupdate_build_version.py9 # http://www.apache.org/licenses/LICENSE-2.0
20 # Args: <spirv-tools_dir> <output-file>
24 # - The software version deduced from the CHANGES file in the given directory.
25 # - A longer string with the project name, the software version number, and
27 # is the output of "git describe" if that succeeds, or "git rev-parse HEAD"
83 # Match the first well-formed version-and-date line.
84 # Allow trailing whitespace in the checked-out source code has
85 # unexpected carriage returns on a linefeed-only system such as
87 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$')
101 Runs 'git describe', or alternately 'git rev-parse HEAD', in directory. If
[all …]
/third_party/rust/crates/cxx/.github/workflows/
Dsite.yml6 - master
8 - book/**
9 - .github/workflows/site.yml
15 runs-on: ubuntu-latest
18 timeout-minutes: 30
20 - uses: actions/checkout@v3
22 - name: Get mdBook
25 export MDBOOK_TARBALL="mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
27 curl -Lf "${MDBOOK_URL}" | tar -xzC book
28 book/mdbook --version
[all …]
/third_party/rust/rust/src/bootstrap/
Dchannel.rs26 /// `git-commit-info` file.
38 pub fn new(omit_git_hash: bool, dir: &Path) -> GitInfo { in new()
48 match Command::new("git").arg("rev-parse").current_dir(dir).output() { in new()
64 .arg("-1") in new()
65 .arg("--date=short") in new()
66 .arg("--pretty=format:%cd"), in new()
68 let ver_hash = output(Command::new("git").current_dir(dir).arg("rev-parse").arg("HEAD")); in new()
70 Command::new("git").current_dir(dir).arg("rev-parse").arg("--short=9").arg("HEAD"), in new()
79 pub fn info(&self) -> Option<&Info> { in info()
87 pub fn sha(&self) -> Option<&str> { in sha()
[all …]
/third_party/flatbuffers/snap/
Dsnapcraft.yaml3 adopt-info: flatc
25 - -GUnix Makefiles
26 - -DCMAKE_BUILD_TYPE=Release
27 build-packages:
28 - g++
29 - git
30 override-pull: |
32 tag=$(git describe --tags --abbrev=0)
33 count=$(git rev-list $tag.. --count)
38 hash=$(git rev-parse --short HEAD)
[all …]
/third_party/mbedtls/scripts/
Dfootprint.sh4 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
13 # thread configs/config-thread.h
14 # suite-b configs/config-suite-b.h
15 # psk configs/config-ccm-psk-tls1_2.h
19 set -eu
23 if [ -r $CONFIG_H ]; then :; else
30 if grep -i cmake Makefile >/dev/null; then
35 if which arm-none-eabi-gcc >/dev/null 2>&1; then :; else
36 echo "You need the ARM-GCC toolchain in your path" >&2
37 echo "See https://launchpad.net/gcc-arm-embedded/" >&2
[all …]
/third_party/libwebsockets/cmake/
DFindGit.cmake16 # This file was originally developed by Jean-Christophe Fillion-Robin, Kitware Inc.
17 # and was partially funded by NIH grant 3P41RR013218-12S1
19 # AG 2013-02-18: I got it from here
27 # GIT_EXECUTABLE - path to git command line client
28 # GIT_FOUND - true if the command line client was found
31 # GIT_WC_INFO(<dir> <var-prefix>)
36 # <var-prefix>_WC_REVISION_HASH - Current SHA1 hash
37 # <var-prefix>_WC_REVISION - Current SHA1 hash
38 # <var-prefix>_WC_REVISION_NAME - Name associated with <var-prefix>_WC_REVISION_HASH
39 # <var-prefix>_WC_URL - output of command `git config --get remote.origin.url'
[all …]
/third_party/skia/third_party/externals/angle2/src/
Dcommit_id.py3 # Use of this source code is governed by a BSD-style license that can be
14 Usage: commit_id.py check - check if git is present
15 commit_id.py unpack <ref_file> - check if <ref_file> exists, and if not
16 create it based on .git/packed-refs
17 commit_id.py position - print commit position
18 commit_id.py gen <file_to_write> - generate commit.h"""
23 command, stdout=sp.PIPE, shell=True, cwd=cwd).communicate()[0].strip().decode('utf-8')
27 return grab_output('git rev-list HEAD --count', cwd)
38 # Parse lines (which are in the format <hash> <ref_file>) and find the input file
76 packed_refs_full_path = os.path.join(cwd, '.git', 'packed-refs')
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/
DMakefile3 # Top-level, not included from a subdir
15 # -O3 seems to trigger the following PNaCl ABI transform bug
16 # on method pointers, so override that with -O2:
18 CXX.Flags += -O2
20 CXX.Flags += -std=gnu++11
23 CPP.Defines += -DALLOW_DUMP=0 -DALLOW_LLVM_CL=0 -DALLOW_LLVM_IR=0 \
24 -DALLOW_TIMERS=0 -DALLOW_LLVM_IR_AS_INPUT=0 -DALLOW_MINIMAL_BUILD=1 \
25 -DALLOW_WASM=0 -DPNACL_BROWSER_TRANSLATOR=1
27 CPP.Defines += -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 -DALLOW_LLVM_IR=1 \
28 -DALLOW_TIMERS=1 -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_MINIMAL_BUILD=0 \
[all …]
/third_party/glslang/
Dbuild_info.py9 # http://www.apache.org/licenses/LICENSE-2.0
28 args: <project-dir> [<input-string>] [-i <input-file>] [-o <output-file>]
30 Either <input-string> or -i <input-file> needs to be provided.
35 <major> - The major version point parsed from the CHANGES.md file.
36 <minor> - The minor version point parsed from the CHANGES.md file.
37 <patch> - The point version point parsed from the CHANGES.md file.
38 <flavor> - The optional dash suffix parsed from the CHANGES.md file (excluding
40 <-flavor> - The optional dash suffix parsed from the CHANGES.md file (including
42 <date> - The optional date of the release in the form YYYY-MM-DD
43 <commit> - The git commit information for the directory taken from
[all …]
/third_party/gn/infra/recipes/
Dgn.py37 'xcrun', '--toolchain', 'clang', 'clang++', '-xc++', '-fsyntax-only',
38 '-Wp,-v', '/dev/null'
55 triple = '--target=%s' % target.triple
56 if target.triple == 'riscv64-linux-gnu':
57 sysroot = '--sysroot=%s' % cipd_dir.join('sysroot-focal')
59 sysroot = '--sysroot=%s' % cipd_dir.join('sysroot')
63 'AR': cipd_dir.join('bin', 'llvm-ar'),
65 'LDFLAGS': '%s %s -static-libstdc++' % (triple, sysroot),
68 triple = '--target=%s' % target.triple
69 sysroot = '--sysroot=%s' % api.step(
[all …]

12345678910>>...13