Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/yocto/poky/scripts/
H A Dcombo-layer3 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
6 # Authored-by: Yu Ke <ke.yu@intel.com>
10 # SPDX-License-Identifier: GPL-2.0-only
42 # Repo not created yet (i.e. during init) so just assume master
44 branchname = runcmd("git symbolic-ref HEAD 2>/dev/null", repodir).strip()
55 For an example config file, see combo-layer.conf.example
62 def readsection(parser, section, repo): argument
63 for (name, value) in parser.items(section):
65 self.repos[repo][name] = eval(value.strip("@"))
70 if name in types:
[all …]
H A Doe-build-perf-report7 # SPDX-License-Identifier: GPL-2.0-only
39 log = logging.getLogger('oe-build-perf-report')
41 def list_test_revs(repo, tag_name, verbosity, **kwargs): argument
45 fields, revs = gitarchive.get_test_runs(log, repo, tag_name, **valid_kwargs)
75 new_row[i:-len(extra_fields)] = cols[i:]
83 new_row[-2] = commit_cnt
84 new_row[-1] = test_run_cnt
90 def is_xml_format(repo, commit): argument
92 if repo.rev_parse(commit + ':results.xml'):
99 def read_results(repo, tags, xml=True): argument
[all …]
H A Dtest-remote-image5 # SPDX-License-Identifier: GPL-2.0-only
12 # test-remote-image --image-type core-image-sato --repo-link http://192.168.10.2/images --required-
14 # Translation: Build the 'rpm' and 'pslash' packages and test a remote core-image-sato image using …
16 # You can also use the '-h' option to see some help information.
60 formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
77 …gument('--image-types', required=True, action="store", nargs='*', dest="image_types", default=None…
78 …parser.add_argument('--repo-link', required=True, action="store", type=str, dest="repo_link", defa…
79 …parser.add_argument('--required-packages', required=False, action="store", nargs='*', dest="requir…
80 …parser.add_argument('--targetprofile', required=False, action="store", nargs=1, dest="targetprofil…
81 …parser.add_argument('--repoprofile', required=False, action="store", nargs=1, dest="repoprofile", …
[all …]
H A Dcombo-layer.conf.example1 # combo-layer example configuration file
6 # Add 'Signed-off-by' to all commits that get imported automatically.
9 # component name
19 # the directory to clone the component repo
22 # the relative dir within the combo repo to put the component files
29 # Note that this value will get updated by "update" if the component repo's
35 # branch: specify the branch in the component repo to pull from
48 # Each entry must match a file name. In contrast do file_filter, matching
61 # repo.
64 # hook = combo-layer-hook-default.sh
[all …]
H A Doe-publish-sdk5 # Copyright (C) 2015-2016 Intel Corporation
7 # SPDX-License-Identifier: GPL-2.0-only
44 return -1
46 logger.error("%s is a directory - expected path to SDK installer file" % target_sdk)
47 return -1
63 cmd = "ssh %s 'mkdir -p %s'" % (host, destdir)
88 cmd = "sh %s -p -y -d %s" % (dest_sdk, destination)
97 rm_or_not = " && rm -f %s" % dest_sdk
100 cmd = "ssh %s 'sh %s -p -y -d %s%s'" % (host, dest_sdk, destdir, rm_or_not)
108 # Setting up the git repo
[all …]
H A Dautobuilder-worker-prereq-tests4 # Designed to be run in a repo where bitbake/oe-core are already present.
6 # SPDX-License-Identifier: GPL-2.0-only
10 # Add python3-git test
15 # test buildistory git repo works?
18 if [ ! -x $HOME/yocto-autobuilder-helper/scripts/checkvnc ]; then
19 echo "$HOME/yocto-autobuilder-helper should be created."
22 $HOME/yocto-autobuilder-helper/scripts/checkvnc
24 . ./oe-init-build-env > /dev/null
28 git config --global user.name > /dev/null
30 echo "Please set git config --global user.name"
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3-git/
H A D0001-python3-git-CVE-2022-24439-fix-from-PR-1521.patch4 Subject: [PATCH] python3-git: CVE-2022-24439 fix from PR 1521
6 Forbid unsafe protocol URLs in Repo.clone{,_from}()
7 Since the URL is passed directly to git clone, and the remote-ext helper
10 (CVE-2022-24439)
14 CVE: CVE-2022-24439
16 Upstream-Status: Backport [https://github.com/gitpython-developers/GitPython/pull/1521]
18 Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
19 ---
20 git/cmd.py | 51 ++++++++++++++++++++++++--
22 git/objects/submodule/base.py | 19 ++++++----
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/
H A Dgitarchive.py7 # SPDX-License-Identifier: GPL-2.0-only
34 raise ArchiveError("Invalid Git repo at {}: path exists but is not a "
38 raise ArchiveError("No git repo at {}, refusing to create "
46 log.info("Initializing a new Git repo at %s", path)
47 repo = GitRepo.init(path, bare)
49 repo = GitRepo(path, is_topdir=True)
51 raise ArchiveError("Non-empty directory that is not a Git repository "
53 "an empty directory or a non-existing directory "
55 return repo
58 def git_commit_data(repo, data_dir, branch, message, exclude, notes, log): argument
[all …]
H A Dmetadata.py3 # SPDX-License-Identifier: MIT
20 Data will be gathered using bitbake -e thanks to get_bb_vars.
64 from git import Repo, InvalidGitRepositoryError, NoSuchPathError
68 …'branch'] = subprocess.check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"], cwd=path).decode…
72 …info['commit'] = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=path).decode('utf-8').s…
76 …_count'] = int(subprocess.check_output(["git", "rev-list", "--count", "HEAD"], cwd=path).decode('u…
81 repo = Repo(path, search_parent_directories=True)
84 info['commit'] = repo.head.commit.hexsha
85 info['commit_count'] = repo.head.commit.count()
87 info['branch'] = repo.active_branch.name
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/
H A Drepository.c1 // SPDX-License-Identifier: GPL-2.0-only
66 * make_first_field - Make the first field of a repository node name.
70 * This routine sets the vendor id to zero (non-vendor specific).
83 * make_field - Make subsequent fields of a repository node name.
99 * read_node - Read a repository node from raw fields.
100 * @n1: First field of node name.
101 * @n2: Second field of node name. Use zero for 'don't care'.
102 * @n3: Third field of node name. Use zero for 'don't care'.
103 * @n4: Fourth field of node name. Use zero for 'don't care'.
129 return -ENOENT; in read_node()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/templates/
H A Dimportlayer.html5 {% block title %} Import layer - {{project.name}} - Toaster {% endblock %}
29 <form class="col-md-11">
30 …<span class="help-block">The layer you are importing must be compatible with <strong>{{project.rel…
31 <div class="alert alert-error" id="import-error" style="display:none">
32 <button type="button" class="close" data-dismiss="alert">&times;</button>
38 <div class="form-group" id="layer-name-ctrl">
39 <label class="control-label" for="import-layer-name">
40 Layer name
41 …<span class="glyphicon glyphicon-question-sign get-help" title="Something like 'meta-mylayer'. You…
43 …<input class="form-control" id="import-layer-name" type="text" required autofocus data-autocomplet…
[all …]
H A Dlayerdetails.html6 {% block title %} {{layerversion.layer.name}} - {{project.name}} - Toaster {% endblock %}
9 <div id="delete-layer-modal" class="modal fade" tabindex="-1" role="dialog"
10 data-keyboard="false" data-backdrop="static">
11 <div class="modal-dialog" role="document">
12 <div class="modal-content">
13 <div class="modal-body">
14 Are you sure you want to delete the <strong>{{layerversion.layer.name}}</strong> layer?
16 <div class="modal-footer">
17 <button type="button" id="layer-delete-confirmed" class="btn
18 btn-primary">Delete layer</button>
[all …]
/OK3568_Linux_fs/yocto/poky/meta-selftest/lib/oeqa/runtime/cases/
H A Ddnf_runtime.py11 cls.temp_dir = tempfile.TemporaryDirectory(prefix="oeqa-remotefeeds-")
12 cls.repo_server = HTTPService(os.path.join(cls.tc.td['WORKDIR'], 'oe-rootfs-repo'),
28 2. Update recovers packages from host's repo
34 temp_file = os.path.join(self.temp_dir.name, 'tmp.repo')
35 self.tc.target.copyFrom("/etc/yum.repos.d/oe-remote-repo.repo", temp_file)
39 self.tc.target.copyTo(temp_file, "/etc/yum.repos.d/oe-remote-repo.repo")
42 # Use '-y' for non-interactive mode: automatically import the feed signing key
43 output_makecache = self.dnf('-vy makecache')
44 …makecache, re.DOTALL) is None, msg = "dnf makecache failed to synchronize repo: %s" %(output_makec…
47 output_repoinfo = self.dnf('-v repoinfo')
[all …]
/OK3568_Linux_fs/yocto/meta-clang/.github/workflows/
H A Dyoe.yml1 name: Yoe Distro CI
8 - master
11 - master
14 name: Yoe Build
15 runs-on: [self-hosted, Linux]
16 timeout-minutes: 720
18 - name: Fetch Repo Name
19 id: repo-name
20 … run: echo "::set-output name=value::$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')"
21 - name: Checkout
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/openocd/
H A Dopenocd_git.bb1 SUMMARY = "Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing"
2 LICENSE = "GPL-2.0-only"
4 DEPENDS = "libusb-compat libftdi"
8 git://repo.or.cz/openocd.git;protocol=http;name=openocd;branch=master \
9 git://repo.or.cz/r/git2cl.git;protocol=http;destsuffix=tools/git2cl;name=git2cl;branch=master \
10 git://repo.or.cz/r/jimtcl.git;protocol=http;destsuffix=git/jimtcl;name=jimtcl;branch=master \
11 …git://repo.or.cz/r/libjaylink.git;protocol=http;destsuffix=git/src/jtag/drivers/libjaylink;name=li…
23 inherit pkgconfig autotools-brokensep gettext
27 EXTRA_OECONF = "--enable-ftdi --disable-doxygen-html --disable-werror"
31 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/jimtcl/autosetup
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dimportlayer.js5 var layerDepBtn = $("#add-layer-dependency-btn");
6 var importAndAddBtn = $("#import-and-add-btn");
7 var layerNameInput = $("#import-layer-name");
8 var vcsURLInput = $("#layer-git-repo-url");
9 var gitRefInput = $("#layer-git-ref");
10 var layerDepInput = $("#layer-dependency");
11 var layerNameCtrl = $("#layer-name-ctrl");
12 var duplicatedLayerName = $("#duplicated-layer-name-hint");
13 var localDirPath = $("#local-dir-path");
18 var validLayerName = /^(\w|-)+$/;
[all …]
H A Dlayerdetails.js5 var layerDepInput = $("#layer-dep-input");
6 var layerDepBtn = $("#add-layer-dependency-btn");
7 var layerDepsList = $("#layer-deps-list");
9 var addRmLayerBtn = $("#add-remove-layer-btn");
10 var targetTab = $("#targets-tab");
11 var machineTab = $("#machines-tab");
12 var detailsTab = $("#details-tab");
13 var editLayerSource = $("#edit-layer-source");
14 var saveSourceChangesBtn = $("#save-changes-for-switch");
15 var layerGitRefInput = $("#layer-git-ref");
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/classes/
H A Dsocorro-syms.bbclass11 # inherit socorro-syms
18 PACKAGES =+ "${PN}-socorro-syms"
19 FILES:${PN}-socorro-syms = "/usr/share/socorro-syms"
28 bb.error("Package %s depends on Breakpad via socorro-syms. See "
36 package_dir, "usr", "share", "breakpad-syms")
38 package_dir, "usr", "share", "socorro-syms")
108 "git rev-parse --show-toplevel", os.path.dirname(source_file_path))
131 # (1): VCS URL, (2): branch, (3): repo root directory name, (4): repo file,
139 "git config --get remote.origin.url", source_file_dir)
146 "git config --file %s --get remote.origin.url" % git_config_file,
[all …]
/OK3568_Linux_fs/u-boot/tools/patman/
H A Dgitutil.py3 # SPDX-License-Identifier: GPL-2.0+
17 # True to use --no-decorate - we check this in Setup()
27 oneline: True to use --oneline, else False
28 reverse: True to reverse the log (--reverse)
35 cmd += ['--git-dir', git_dir]
36 cmd += ['--no-pager', 'log', '--no-color']
38 cmd.append('--oneline')
40 cmd.append('--no-decorate')
42 cmd.append('--reverse')
44 cmd.append('-n%d' % count)
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/runtime/cases/
H A Ddnf.py2 # SPDX-License-Identifier: MIT
26 @skipIfNotFeature('package-management',
27 'Test requires package-management to be in IMAGE_FEATURES')
33 self.dnf('--help')
37 self.dnf('--version')
55 cls.repo_server = HTTPService(os.path.join(cls.tc.td['WORKDIR'], 'oe-testimage-repo'),
65 pkgarchs = os.listdir(os.path.join(self.tc.td['WORKDIR'], 'oe-testimage-repo'))
67 …cmdlinerepoopts = ["--repofrompath=oe-testimage-repo-%s,%s%s" %(arch, deploy_url, arch) for arch i…
69 output = self.dnf(" ".join(cmdlinerepoopts) + " --nogpgcheck " + command)
77 # Does not work when repo is specified on the command line
[all …]
/OK3568_Linux_fs/buildroot/support/scripts/
H A Dsetlocalversion8 # <nico-linuxsetlocalversion -at- schottelius.org>.
17 cd "${1:-.}" || usage
19 # Check for git and a git repo.
20 if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
24 # Show -g<commit> if we have no tag, or just the tag
26 if [ -z "${atag}" ] ; then
27 printf "%s%s" -g ${head}
33 if git config --get svn-remote.svn.url >/dev/null; then
34 printf -- '-svn%s' "`git svn find-rev $head`"
38 [ -w . ] && git update-index --refresh --unmerged > /dev/null
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/resulttool/
H A Dresultutils.py1 # resulttool - common library/utility functions
6 # SPDX-License-Identifier: GPL-2.0-only
56 data = json.loads(response.read().decode('utf-8'))
92 for name in files:
93 f = os.path.join(root, name)
94 if name == "testresults.json":
128 data = base64.b64decode(data.encode("utf-8"))
130 return data.decode("utf-8", errors='ignore')
174 with open(dst.replace(fn, "ptest-raw.log"), "w+") as f:
180 with open(dst.replace(fn, "ptest-%s.log" % i), "w+") as f:
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/
H A Dgit.py9 - branch
13 separated by commas. In multiple branches case, the name option
17 SRC_URI="git://some.host/somepath;branch=branchX,branchY;name=nameX,nameY"
21 - tag
24 - protocol
28 - rebaseable
29 rebaseable indicates that the upstream git repo may rebase in the future,
30 and current revision may disappear from upstream repo. This option will
32 The default value is "0", set rebaseable=1 for rebaseable git repo.
34 - nocheckout
[all …]
/OK3568_Linux_fs/kernel/tools/memory-model/scripts/
H A Dnewlitmushist.sh2 # SPDX-License-Identifier: GPL-2.0+
4 # Runs the C-language litmus tests matching the specified criteria
10 # Run from the Linux kernel tools/memory-model directory.
20 trap 'rm -rf $T' 0
23 if test -d litmus
27 echo Run scripts/initlitmushist.sh first, need litmus repo.
32 # repo since the last run.
35 find litmus -type d -print |
36 ( cd "$LKMM_DESTDIR"; sed -e 's/^/mkdir -p /' | sh )
39 # Create a list of the C-language litmus tests previously run.
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dvidioc-dbg-g-chip-info.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 Name chapter
13 VIDIOC_DBG_G_CHIP_INFO - Identify the chips on a TV card
42 contact the linux-media mailing list
50 ``match.addr`` or ``match.name`` fields of a struct
53 the driver stores information about the selected chip in the ``name``
61 the PCI or USB bus. Non-zero numbers identify specific parts of the
65 selects the nth sub-device. This allows you to enumerate over all
66 sub-devices.
68 On success, the ``name`` field will contain a chip name and the
[all …]

12345