Home
last modified time | relevance | path

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

12345678910

/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/flutter/skia/infra/bots/
Dcheck_deps.py5 # Use of this source code is governed by a BSD-style license that can be
42 'Failed to parse `gclient revinfo` output; invalid format: %s' % e)
48 'Failed to parse `gclient revinfo` output; invalid format: %s' % e)
50 rev = split[1]
54 if not re.match(r'^[a-z0-9]{40}$', rev):
55 errs.append('%s: "%s" does not look like a commit hash.' % (repo, rev))
/third_party/node/deps/npm/node_modules/npm-cache-filename/
Dindex.js10 u = url.parse(u);;
12 // Strip off any /-rev/... or ?rev=... bits
13 var revre = /(\?rev=|\?.*?&rev=|\/-rev\/).*$/;;
/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/node/deps/npm/node_modules/JSONStream/test/
Ddoubledot1.js5 , it = require('it-is')
7 var expected = JSON.parse(fs.readFileSync(file))
8 , parser = JSONStream.parse('rows..rev')
27 it(parsed[i]).deepEqual(expected.rows[i].value.rev)
/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/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/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/flutter/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"
85 # Match the first well-formed version-and-date line.
86 # Allow trailing whitespace in the checked-out source code has
87 # unexpected carriage returns on a linefeed-only system such as
89 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$')
103 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
14 runs-on: ubuntu-latest
17 timeout-minutes: 30
19 - uses: actions/checkout@v3
21 - name: Get mdBook
24 export MDBOOK_TARBALL="mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
26 curl -Lf "${MDBOOK_URL}" | tar -xzC book
27 book/mdbook --version
[all …]
/third_party/node/deps/npm/node_modules/JSONStream/
Dreadme.markdown3 streaming JSON.parse and stringify
5 ![](https://secure.travis-ci.org/dominictarr/JSONStream.png?branch=master)
16 , es = require('event-stream')
19 .pipe(JSONStream.parse('rows.*'))
26 ## JSONStream.parse(path)
28 parse stream of values that match a path
31 JSONStream.parse('rows.*.doc')
44 If you want to have keys emitted, you can prefix your `*` operator with `$`: `obj.$*` - in this cas…
51 curl -sS localhost:5984/tests/_all_docs&include_docs=true
59 , "value":{"rev":"1-e240bae28c7bb3667f02760f6398d508"}
[all …]
/third_party/node/deps/npm/node_modules/libnpmpublish/
Dunpublish.js3 const figgyPudding = require('figgy-pudding')
4 const npa = require('npm-package-arg')
5 const npmFetch = require('npm-registry-fetch')
26 return npmFetch(`${pkgUri}/-rev/${pkg._rev}`, opts.concat({
41 return npmFetch(`${pkgUri}/-rev/${pkg._rev}`, opts.concat({
46 const latestVer = pkg['dist-tags'].latest
47 Object.keys(pkg['dist-tags']).forEach(tag => {
48 if (pkg['dist-tags'][tag] === version) {
49 delete pkg['dist-tags'][tag]
54 pkg['dist-tags'].latest = Object.keys(
[all …]
/third_party/node/tools/actions/
Dcommit-queue.sh3 set -xe
14 COMMIT_QUEUE_LABEL='commit-queue'
15 COMMIT_QUEUE_FAILED_LABEL='commit-queue-failed'
34 curl -fsL --request "$method" \
35 --url "$url" \
36 --header "authorization: Bearer ${GITHUB_TOKEN}" \
37 --header 'content-type: application/json' "$@"
41 gitHubCurl "$(labelsUrl "${1}")" POST --data '{"labels": ["'"${COMMIT_QUEUE_FAILED_LABEL}"'"]}'
45 …jq -n --arg content "<details><summary>Commit Queue failed</summary><pre>$(cat output)</pre><a hre…
48 gitHubCurl "$(commentsUrl "${1}")" POST --data @output.json
[all …]
/third_party/mesa3d/.gitlab-ci/bin/
Dci_run_n_monitor.py2 # Copyright © 2020 - 2022 Collabora Ltd.
8 # SPDX-License-Identifier: MIT
48 "debian/x86_build-base",
50 "debian/x86_test-base",
51 "debian/x86_test-gl",
57 "debian-testing",
58 "debian-arm64",
83 def print_job_status(job) -> None:
99 def print_job_status_change(job) -> None:
115 def pretty_wait(sec: int) -> None:
[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/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/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/mbedtls/scripts/
Dfootprint.sh4 # SPDX-License-Identifier: Apache-2.0
10 # http://www.apache.org/licenses/LICENSE-2.0
25 # thread configs/config-thread.h
26 # suite-b configs/config-suite-b.h
27 # psk configs/config-ccm-psk-tls1_2.h
31 set -eu
35 if [ -r $CONFIG_H ]; then :; else
42 if grep -i cmake Makefile >/dev/null; then
47 if which arm-none-eabi-gcc >/dev/null 2>&1; then :; else
48 echo "You need the ARM-GCC toolchain in your path" >&2
[all …]
/third_party/flutter/flutter/packages/flutter_goldens/test/
Dflutter_goldens_test.dart2 // Use of this source code is governed by a BSD-style license that can be
53 // Verify that we only spawned `git rev-parse HEAD`
57 expect(verifyProcessRun.captured.first, <String>['git', 'rev-parse', 'HEAD']);
127 await comparator.compare(Uint8List.fromList(<int>[1, 2, 3]), Uri.parse('test.png'));
130 expect(error.message, contains('Could not be compared against non-existent file'));
138 …final bool result = await comparator.compare(Uint8List.fromList(<int>[1, 2, 3]), Uri.parse('test.p…
146 …final bool result = await comparator.compare(Uint8List.fromList(<int>[1, 2, 3]), Uri.parse('test.p…
155 await comparator.update(Uri.parse('test.png'), Uint8List.fromList(<int>[1, 2, 3]));
164 await comparator.update(Uri.parse('test.png'), Uint8List.fromList(<int>[1, 2, 3]));
171 final Uri key = comparator.getTestUri(Uri.parse('foo.png'), 1);
[all …]
/third_party/gn/infra/recipes/
Dgn.py39 'amd64': 'x86-64',
48 'xcrun', '--toolchain', 'clang', 'clang++', '-xc++', '-fsyntax-only',
49 '-Wp,-v', '/dev/null'
66 triple = '--target=%s' % target.triple
67 sysroot = '--sysroot=%s' % cipd_dir.join('sysroot')
71 'AR': cipd_dir.join('bin', 'llvm-ar'),
73 'LDFLAGS': '%s %s -static-libstdc++' % (triple, sysroot),
76 triple = '--target=%s' % target.triple
77 sysroot = '--sysroot=%s' % api.step(
78 'xcrun sdk-path', ['xcrun', '--show-sdk-path'],
[all …]
/third_party/cef/tools/
Dgit_util.py2 # reserved. Use of this source code is governed by a BSD-style license that
24 cmd = "%s merge-base --is-ancestor %s %s" % (git_exe, commit1, commit2)
31 cmd = "%s rev-parse %s" % (git_exe, branch)
42 cmd = "%s rev-parse --abbrev-ref %s" % (git_exe, branch)
52 cmd = "%s log -n 1 --pretty=%%d %s" % (git_exe, branch)
55 return result['out'].strip()[1:-1].split(', ')[-1]
61 cmd = "%s config --get remote.origin.url" % git_exe
70 cmd = "%s rev-list --count %s" % (git_exe, branch)
80 cmd = "%s diff --name-only" % git_exe
82 cmd = "%s diff --name-only --cached" % git_exe
[all …]
/third_party/flutter/engine/flutter/sky/tools/roll/
Droll.py3 # Use of this source code is governed by a BSD-style license that can be
43 'third_party/freetype-android',
44 'third_party/harfbuzz-ng',
47 'third_party/jsr-305',
92 def rev(source_dir, dest_dir, dirs_to_rev, name, revision_file=None): function
101 system(["git", "rm", "-r", d], cwd=dest_dir)
107 files = system(["git", "ls-files", d], cwd=source_dir).splitlines()
116 system(["mkdir", "-p", os.path.dirname(dest_path)], cwd=source_dir)
123 src_commit = system(["git", "rev-parse", "HEAD"], cwd=source_dir).strip()
136 parser.add_argument("--mojo-dir", type=str)
[all …]

12345678910