Home
last modified time | relevance | path

Searched +full:base +full:- +full:repo (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/external/oss-fuzz/infra/
Dbuild_specified_commit.py7 # http://www.apache.org/licenses/LICENSE-2.0
45 """Repo of base-builder images."""
60 return self.digests[index - 1]
62 logging.error('Failed to find suitable base-builder.')
106 """Replace the base-builder digest in a Dockerfile."""
113 line = 'FROM gcr.io/oss-fuzz-base/base-builder@' + digest + '\n'
124 image_name = 'gcr.io/oss-fuzz/' + project_name
130 '-v',
134 '-r',
135 '-p',
[all …]
Drepo_manager.py7 # http://www.apache.org/licenses/LICENSE-2.0
17 a python API and manage the current state of the git repo.
21 r_man = RepoManager('https://github.com/google/oss-fuzz.git')
33 """Repo manager."""
39 """Test if the current repo dir is a git repo or not.
42 True if the current repo_dir is a valid git repo.
62 """Checks to see if a commit exists in the project repo.
73 _, _, err_code = self.git(['cat-file', '-e', commit])
85 out, _, _ = self.git(['show', '-s', '--format=%ct', commit],
89 def get_git_diff(self, base='origin...'): argument
[all …]
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dpresubmit.py7 # https://www.apache.org/licenses/LICENSE-2.0
101 def _title(msg, style=_SUMMARY_BOX) -> str:
102 msg = f' {msg} '.center(WIDTH - 2)
106 def _format_time(time_s: float) -> str:
114 def _box(style, left, middle, right, box=tools.make_box('><>')) -> str:
120 width2=WIDTH - _LEFT - _RIGHT - 4,
131 def colorized(self, width: int, invert: bool = False) -> str:
141 padding = (width - len(self.value)) // 2 * ' '
189 def all_steps(self) -> dict[str, Check]:
192 def __getitem__(self, item: str) -> Program:
[all …]
Dkeep_sorted.py7 # https://www.apache.org/licenses/LICENSE-2.0
40 _START = re.compile(r'keep-sorted: (begin|start)', re.IGNORECASE)
41 _END = re.compile(r'keep-sorted: (stop|end)', re.IGNORECASE)
42 _IGNORE_CASE = re.compile(r'ignore-case', re.IGNORECASE)
43 _ALLOW_DUPES = re.compile(r'allow-dupes', re.IGNORECASE)
44 _IGNORE_PREFIX = re.compile(r'ignore-prefix=(\S+)', re.IGNORECASE)
45 _STICKY_COMMENTS = re.compile(r'sticky-comments=(\S+)', re.IGNORECASE)
53 keep-sorted: start
54 keep-sorted: end
71 ) -> None:
[all …]
Dformat_code.py9 # https://www.apache.org/licenses/LICENSE-2.0
18 This uses clang-format, gn format, gofmt, and python -m yapf to format source
83 def _ensure_newline(orig: bytes) -> bytes:
89 def _diff(path, original: bytes, formatted: bytes) -> str:
107 ) -> str | None:
122 ) -> dict[Path, str]:
135 ) -> dict[Path, str]:
147 ) -> dict[Path, str]:
154 def clang_format_check(ctx: _Context) -> dict[Path, str]:
162 def clang_format_fix(ctx: _Context) -> dict[Path, str]:
[all …]
Dgit_repo.py7 # https://www.apache.org/licenses/LICENSE-2.0
37 *args: Path | str, show_stderr=False, repo: Path | str = '.'
38 ) -> str:
39 """Runs a git command in the specified repo."""
44 ['-C', str(repo), *args],
54 def find_git_repo(path_in_repo: Path) -> git_repo.GitRepo:
55 """Tries to find the root of the git repo that owns path_in_repo."""
63 ) -> str | None:
70 repo_path: repo path from which to run commands; defaults to Path.cwd()
78 repo = repo_path if repo_path is not None else Path.cwd()
[all …]
/external/pigweed/pw_build/py/pw_build/
Dgn_utils.py7 # https://www.apache.org/licenses/LICENSE-2.0
32 base: str | PurePosixPath | GnPath,
34 gn: str | None = None, # pylint: disable=invalid-name
35 ) -> None:
39 base: A base GN source path. Other parameters are used to define
40 this object relative to the base.
41 bazel: A Bazel path relative to `base`.
42 gn: A GN source path relative to `base`.
45 base_path = _as_path(base)
53 def __str__(self) -> str:
[all …]
/external/pigweed/third_party/fuchsia/
Dpigweed_adaptations.patch7 # https://www.apache.org/licenses/LICENSE-2.0
21 # - Use PW_ASSERT instead of __builtin_abort.
22 # - Temporarily disable sanitizers when invoking a function for b/241567321.
24 diff --git a/third_party/fuchsia/repo/sdk/lib/fit/include/lib/fit/internal/function.h b/third_party…
25 --- a/third_party/fuchsia/repo/sdk/lib/fit/include/lib/fit/internal/function.h
26 +++ b/third_party/fuchsia/repo/sdk/lib/fit/include/lib/fit/internal/function.h
27 @@ -18,6 +18,8 @@
36 @@ -88,7 +90,7 @@ inline const void* unshared_target_type_id(void* /*bits*/, const void* impl_ops)
40 - static void invoke(void* /*bits*/) { __builtin_abort(); }
45 @@ -507,7 +509,8 @@ class function_base<inline_target_size, require_inline, Result(Args...), Allocat
[all …]
/external/oss-fuzz/infra/cifuzz/
Dcontinuous_integration.py7 # http://www.apache.org/licenses/LICENSE-2.0
21 # pylint: disable=wrong-import-position,import-error
31 # pylint: disable=too-few-public-methods
44 'git', 'symbolic-ref', 'refs/remotes/origin/HEAD',
58 """Returns the source repo path, if it has been checked out. None is
63 # Note: this assumes there is only one repo checked out here.
66 raise RuntimeError('Invalid repo storage.')
70 raise RuntimeError('Repo is not a directory.')
80 """Returns the base to diff against with git to get the change under
86 base = self.get_diff_base()
[all …]
/external/bpftool/scripts/
Dsync-kernel.sh4 echo "USAGE: ./sync-kernel.sh <bpftool-repo> <kernel-repo>"
8 …echo " - Update the libbpf submodule, commit, and use its new checkpoints as target commits for b…
9 echo " - Cherry-pick commits from the bpf-next branch, up to the bpf-next target commit."
10 echo " - Cherry-pick commits from the bpf branch, up to the bpf target commit."
11 echo " - Create a new commit with the updated version and checkpoints."
12 echo " - Check consistency."
14 …echo "Set BPF_NEXT_BASELINE to override bpf-next tree commit, otherwise read from <bpftool-repo>/C…
15 …PF_BASELINE to override bpf tree commit, otherwise read from <bpftool-repo>/BPF-CHECKPOINT-COMMIT."
16 …t BPF_NEXT_TIP_COMMIT to override bpf-next tree target commit, otherwise read from <bpftool-repo>/…
17 … override bpf tree target commit, otherwise read from <bpftool-repo>/libbpf/BPF-CHECKPOINT-COMMIT,…
[all …]
/external/libbpf/scripts/
Dsync-kernel.sh4 echo "USAGE: ./sync-kernel.sh <libbpf-repo> <kernel-repo> <bpf-branch>"
6 …echo "Set BPF_NEXT_BASELINE to override bpf-next tree commit, otherwise read from <libbpf-repo>/CH…
7 …BPF_BASELINE to override bpf tree commit, otherwise read from <libbpf-repo>/BPF-CHECKPOINT-COMMIT."
8 echo "Set MANUAL_MODE to 1 to manually control every cherry-picked commits."
12 set -eu
14 LIBBPF_REPO=${1-""}
15 LINUX_REPO=${2-""}
16 BPF_BRANCH=${3-""}
17 BASELINE_COMMIT=${BPF_NEXT_BASELINE:-$(cat ${LIBBPF_REPO}/CHECKPOINT-COMMIT)}
18 BPF_BASELINE_COMMIT=${BPF_BASELINE:-$(cat ${LIBBPF_REPO}/BPF-CHECKPOINT-COMMIT)}
[all …]
/external/pigweed/pw_package/py/pw_package/packages/
Dchromium_verifier.py7 # https://www.apache.org/licenses/LICENSE-2.0
22 # The list is hand-picked. It is currently only tested locally (i.e. the list
27 'base/*',
28 '!base/check.h',
29 '!base/check_op.h',
30 '!base/logging.h',
34 'net/base',
40 'third_party/abseil-cpp',
67 ) -> pathlib.Path:
68 """Return the sub-path for repo checkout of chromium verifier"""
[all …]
/external/cronet/build/fuchsia/
Dupdate_product_bundles.py3 # Use of this source code is governed by a BSD-style license that can be
24 'core.x64-dfv2-release': 'core.x64-dfv2',
25 'qemu.arm64': 'terminal.qemu-arm64',
27 'workstation_eng.chromebook-x64-dfv2-release':
28 'workstation_eng.chromebook-x64-dfv2',
29 'workstation_eng.chromebook-x64-release': 'workstation_eng.chromebook-x64',
30 'workstation_eng.qemu-x64-release': 'workstation_eng.qemu-x64',
48 """Removes given repos from repo list.
49 Repo MUST be present in list to succeed.
52 repo_names_to_remove: List of repo names (as strings) to remove.
[all …]
/external/skia/infra/wasm-common/docker/
DREADME.md6 emsdk-base
7 ----------
19 docker build -t emsdk-base ./emsdk-base/
21 docker run -it emsdk-base /bin/bash
23 …docker run -v $SKIA_ROOT:/SRC -v $SKIA_ROOT/out/dockerpathkit:/OUT emsdk-base /SRC/infra/pathkit/b…
25 karma-chrome-tests
26 ------------------
32 it Skia-exclusive.
41 with the flag --shm-size=2gb.
45 docker build -t karma-chrome-tests ./karma-chrome-tests/
[all …]
/external/autotest/client/common_lib/
Drevision_control.py55 This class represents a git repo.
57 It is used to pull down a local copy of a git repo, check if the local
58 repo is up-to-date, if not update. It delegates the install to
66 @param repodir: destination repo directory.
67 @param giturl: main repo git url.
68 @param weburl: a web url for the main repo.
69 @param abs_work_tree: work tree of the git repo. In the
72 In such repos the -git-dir option should point to
73 the .git directory and -work-tree should point to
77 (.git) in the same directory. This class assumes non-bare
[all …]
Dsoftware_manager.py15 @copyright: IBM 2008-2009
16 @copyright: Red Hat 2009-2010
42 length -= 1
69 self.high_level_pms = ['apt-get', 'yum', 'zypper']
92 if 'apt-get' in list_supported and self.distro in ['Debian', 'Ubuntu']:
93 pm_supported = 'apt-get'
124 elif backend_type == 'apt-get':
178 Add package repo described by [url].
180 @param name: URL of the package repo.
187 Remove package repo described by [url].
[all …]
/external/wayland/
D.gitlab-ci.yml1 # This file uses the freedesktop ci-templates to build Wayland and run our
4 # ci-templates uses a multi-stage build process. First, the base container
8 # upstream repo (wayland/weston) or the user's downstream repo, it is
10 # quicker runtimes, however it means that any changes to the base container
21 # Apart from the 'variables', 'include', and 'stages' top-level anchors,
28 # by the ci-templates.
36 # For more information on ci-templates, see:
37 # - documentation at https://freedesktop.pages.freedesktop.org/ci-templates/
38 # - repo at https://gitlab.freedesktop.org/freedesktop/ci-templates/
40 # Here we use a fixed ref in order to isolate ourselves from ci-templates
[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
44 def __init__(self, base: pathlib.PurePath):
45 logging.debug("GitRepo base %s", base)
46 self._base = base
49 def base(self) -> pathlib.PurePath: member in GitRepo
50 """Gets the base path used the repo."""
56 check: bool = True) -> subprocess.CompletedProcess:
57 return subprocess.run(['git', '-C', self._base] + cmd,
62 def get_hash_for_version(self, version) -> str:
[all …]
/external/python/google-api-python-client/.github/workflows/
Dmain.yml7 # https://www.apache.org/licenses/LICENSE-2.0
22 - cron: '0 7 * * 2'
27 runs-on: ubuntu-latest
28 if: ${{github.repository == 'googleapis/google-api-python-client'}}
30 - name: Get current date
32 run: echo "::set-output name=current_date::$(date +'%Y-%m-%d')"
34 - name: Check out main branch
39 - name: Create branch
41 git checkout -b update-discovery-artifacts-${{ steps.date.outputs.current_date }}
43 - name: Set up Python 3.9
[all …]
/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/
DBaseTestCase.java12 * http://www.apache.org/licenses/LICENSE-2.0
40 * Base test case that provides utility methods for
53 protected String stringRepoName = "string.repo";
86 //by default, make the engine's log output go to the test-report in setUp()
105 StringResourceRepository repo = in getStringRepository() local
107 if (repo == null) in getStringRepository()
110 repo = in getStringRepository()
113 return repo; in getStringRepository()
157 System.out.println("Failed to log: "+msg+(t!=null?" - "+t: "")); in info()
174 engine.mergeTemplate(template, "utf-8", context, writer); in assertTmplEquals()
[all …]
/external/libbpf/
DSYNC.md2 …<source media="(prefers-color-scheme: dark)" srcset="assets/libbpf-logo-sideways-darkbg.png" width…
3 <img src="assets/libbpf-logo-sideways.png" width="40%">
9 Libbpf *authoritative source code* is developed as part of [bpf-next Linux source
10 tree](https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next) under
13 Most of the mundane mechanical things like bpf and bpf-next tree merge, Git
14 history transformation, cherry-picking relevant commits, re-generating
15 auto-generated headers, etc. are taken care by
16 [sync-kernel.sh script](https://github.com/libbpf/libbpf/blob/master/scripts/sync-kernel.sh).
20 This document goes over the process of syncing libbpf sources from Linux repo
25 ------------------
[all …]
/external/oss-fuzz/projects/example/
DDockerfile7 # http://www.apache.org/licenses/LICENSE-2.0
17 FROM gcr.io/oss-fuzz-base/base-builder
18 RUN apt-get update && apt-get install -y make
21 RUN git clone https://github.com/google/oss-fuzz.git my-git-repo
22 WORKDIR my-git-repo
/external/angle/build/fuchsia/
Dupdate_product_bundles.py3 # Use of this source code is governed by a BSD-style license that can be
25 'qemu.arm64': 'terminal.qemu-arm64',
41 if image.endswith('-release'):
42 image = image[:-len('-release')]
43 logging.warning(f'Image name {image}-release has been deprecated. Use '
50 """Removes given repos from repo list.
51 Repo MUST be present in list to succeed.
54 repo_names_to_remove: List of repo names (as strings) to remove.
70 'name': <repo name>,
79 common.run_ffx_command(cmd=('--machine', 'json', 'repository', 'list'),
[all …]
/external/skia/build/fuchsia/
Dsdk.gni2 # Use of this source code is governed by a BSD-style license that can be
16 # Path to GN-generated GN targets derived from parsing json file at
104 "--fidlc-bin",
106 "--fidlgen-bin",
108 "--sdk-base",
110 "--root",
112 "--json",
114 "--include-base",
116 "--output-base-cc",
118 "--output-c-header",
[all …]
/external/icu/
Dicu_version_upgrade.md4 https://github.com/unicode-org/icu/releases.
10 * See http://site.icu-project.org/repository
11 …* [git-lts](https://git-lfs.github.com/) has to be installed to pull binaries correctly from the g…
12 2. Generate a github read-access token and setup a local ~/.m2/setting.xml
16 * http://go/repo-init/aosp-main-with-phones
20 …* The branch is a staging branch to **rebase** Android-specific patches onto the new upstream vers…
21 … instruction at http://g3doc/company/teams/android-build-team/playbook/create_branch#creating-new-
26 We use the **`aosp/upstream-release-cldr** as the mirror of the upstream release branch.
39 export UPSTREAM_CLDR_GIT=/media/user/disk/icu-git/cldr
40 export UPSTREAM_ICU_GIT=/media/user/disk/icu-git/icu
[all …]

12345678910>>...14