Home
last modified time | relevance | path

Searched +full:close +full:- +full:pr (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/openbmc/poky/meta/lib/oe/
H A Dprservice.py4 # SPDX-License-Identifier: GPL-2.0-only
17 … bb.fatal("Connecting to PR service %s:%s failed: %s" % (host_params[0], host_params[1], str(exc)))
23 bb.error("Not using network based PR service")
28 bb.error("Making connection failed to remote PR service")
37 conn.close()
42 bb.error("Not using network based PR service")
47 bb.error("Making connection failed to remote PR service")
72 conn.close()
88 f.write("#----------\t --------\t --------\t --------\t ----\n")
127 conn.close()
/openbmc/qemu/.github/workflows/
H A Dlockdown.yml1 # Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown
10 pull-requests: write
14 runs-on: ubuntu-latest
16 - uses: dessant/repo-lockdown@v2
18 pr-comment: |
21 This repository is a read-only mirror of the project's repostories hosted
22 on https://gitlab.com/qemu-project/qemu.git.
29 lock-pr: true
30 close-pr: true
/openbmc/openbmc/poky/bitbake/lib/bb/asyncrpc/
H A Dclient.py4 # SPDX-License-Identifier: GPL-2.0-only
133 "needs-headers: %s" % ("true" if self.needs_server_headers else "false")
162 await self.socket.close()
165 async def close(self): member in AsyncClient
186 await self.close()
190 if isinstance(msg, dict) and "invoke-error" in msg:
191 raise InvokeError(msg["invoke-error"]["message"])
209 await self.close()
217 # Override any pre-existing loop.
218 # Without this, the PR server export selftest triggers a hang
[all …]
/openbmc/openbmc/poky/bitbake/lib/prserv/
H A Dserv.py4 # SPDX-License-Identifier: GPL-2.0-only
29 "get-pr": self.handle_get_pr,
30 "test-pr": self.handle_test_pr,
31 "test-package": self.handle_test_package,
32 "max-package-pr": self.handle_max_package_pr,
33 "import-one": self.handle_import_one,
35 "is-readonly": self.handle_is_readonly,
48 …'''Finds the PR value corresponding to the request. If not found, returns None and doesn't insert …
66 …'''Finds the greatest PR value for (version, pkgarch) in the db. Returns None if no entry was foun…
130 # The package is not known upstream, must be a local-only package
[all …]
H A Dtests.py5 # SPDX-License-Identifier: GPL-2.0-only
23 version = "dummy-1.0-r0"
24 pkgarch = "core2-64"
41 logging.basicConfig(level=logging.DEBUG, filename='prserv-%s.log' % name, filemode='w',
44 sys.stdout = open('prserv-stdout-%s.log' % name, 'w')
69 client.close()
79 self.temp_dir = tempfile.TemporaryDirectory(prefix='bb-prserv')
149 self.temp_dir = tempfile.TemporaryDirectory(prefix='bb-prserv')
152 dbfile = os.path.join(self.temp_dir.name, "prtest-basic.sqlite3")
162 self.assertIsNone(result, "test_pr should return 'None' for a non existing PR")
[all …]
H A Ddb.py4 # SPDX-License-Identifier: GPL-2.0-only
19 # "No History" mode - for a given query tuple (version, pkgarch, checksum),
21 # (version, pkgarch). This means the PR value returned can NOT be decremented.
23 # "History" mode - Return a new higher value for previously unseen query
33 # Creating the table even if the server is read-only.
35 # is accessed by a read-only server first.
183 … # "no history" mode - If the value is not the maximum value for the package, need to increase it.
263 """Object representing the PR database"""
284 self.connection.close()
/openbmc/qemu/qapi/
H A Dblock.json1 # -*- Mode: Python -*-
10 { 'include': 'block-core.json' }
42 # @rechs: Same as @large, but first convert a 16-head geometry to
43 # 15-head, by proportionally scaling up the number of
87 # @query-pr-managers:
97 { 'command': 'query-pr-managers', 'returns': ['PRManagerInfo'],
98 'allow-preconfig': true }
117 # - If @device is not a valid block device, DeviceNotFound
123 # .. qmp-example::
125 # -> { "execute": "eject", "arguments": { "id": "ide1-0-1" } }
[all …]
/openbmc/docs/
H A Dcommunity-membership.md8------------------- | ------------------------------------------------------ | -------------------…
11 … | [OWNERS] entry within the meta-\* subfolder for the …
27 Role-specific expectations, responsibilities, and requirements are enumerated
34 Gerrit, and pre-submit tests are automatically run for their reviews. Members
41 - Have made multiple contributions to the project or community. Contribution may
43 - Authoring or reviewing code reviews on Gerrit
44 - Filing or commenting on issues on GitHub
45 - Contributing to design review, subproject, or community discussions (e.g.
47 - Subscribed to the [mailing list]
48 - Have read the [contributor guide]
[all …]
/openbmc/openbmc/poky/meta/classes-global/
H A Dpackage_rpm.bbclass4 # SPDX-License-Identifier: MIT
15 PKGWRITEDIRRPM = "${WORKDIR}/deploy-rpms"
35 if var and srcname.startswith("nativesdk-"):
77 # OE-core dependencies a.k.a. RPM requires
84 dependsfile.close()
87 # OE-core / RPM Provides
94 providesfile.close()
132 # In RPM, dependencies are of the format: pkg <>= Epoch:Version-Release
134 # characters that can be in a field. In the Version field, "-"
135 # characters are not allowed. "-" is allowed in the Release field.
[all …]
H A Dpackage_ipk.bbclass4 # SPDX-License-Identifier: MIT
12 IPKGCONF_SDK = "${WORKDIR}/opkg-sdk.conf"
13 IPKGCONF_SDK_TARGET = "${WORKDIR}/opkg-sdk-target.conf"
15 PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks"
18 OPKGBUILDCMD ??= 'opkg-build -Z zstd -a "${ZSTD_DEFAULTS}"'
20 OPKG_ARGS += "--force-postinstall --prefer-arch-to-version"
21 OPKG_ARGS += "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS") == "1"]}"
22 OPKG_ARGS += "${@['', '--add-exclude ' + ' --add-exclude '.join((d.getVar('PACKAGE_EXCLUDE') or "")…
95 # Keep -dbg, -dev, -doc, -staticdev, -locale and -locale-* packages
98 if pkgname[-4:] in ('-dbg', '-dev', '-doc'):
[all …]
H A Dpackage_deb.bbclass2 # Copyright 2006-2008 OpenedHand Ltd.
4 # SPDX-License-Identifier: MIT
11 DPKG_BUILDCMD ??= "dpkg-deb"
16 PKGWRITEDIRDEB = "${WORKDIR}/deploy-debs"
20 APT_ARGS = "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS") == "1"]}"
44 return arch + ["el", "hf"]["callconvention-hard" in tune_features]
103 …bb.note("Not creating empty archive for %s-%s-%s" % (pkg, localdata.getVar('PKGV'), localdata.getV…
110 ctrlfile = codecs.open(os.path.join(controldir, 'control'), 'w', 'utf-8')
115 fields.append(["Version: %s:%s-%s\n", ['PKGE', 'PKGV', 'PKGR']])
117 fields.append(["Version: %s-%s\n", ['PKGV', 'PKGR']])
[all …]
H A Dpackage.bbclass4 # SPDX-License-Identifier: MIT
16 # a) package_convert_pr_autoinc - convert AUTOINC in PKGV to ${PRSERV_PV_AUTOINC}
18 # b) perform_packagecopy - Copy D into PKGD
20 # c) package_do_split_locales - Split out the locale files, updates FILES and PACKAGES
22 # d) split_and_strip_files - split the files into runtime and debug and strip them.
23 # Debug files include debug info split, and associated sources that end up in -dbg packages
25 # e) fixup_perms - Fix up permissions in the package before we split it.
27 # f) populate_packages - Split the files in PKGD into separate packages in PKGDEST/<pkgname>
28 # Also triggers the binary stripping code to put files in -dbg packages.
30 # g) package_do_filedeps - Collect perfile run-time dependency metadata
[all …]
H A Dsstate.bbclass4 # SPDX-License-Identifier: MIT
11 SSTATE_MANIFESTS ?= "${TMPDIR}/sstate-control"
12 SSTATE_MANFILEPREFIX = "${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}-${PN}"
19 limit = 254 - 8
31 …ail = (limit - len(hash + "_" + taskname + extension) - len(components[0]) - len(components[1]) -
42 SSTATE_PKGSPEC = "sstate:${PN}:${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}:${PV}:${PR}:${SSTATE…
43 SSTATE_SWSPEC = "sstate:${PN}::${PV}:${PR}::${SSTATE_VERSION}:"
60 # sdk-provides-dummy-nativesdk and nativesdk-buildtools-perl-dummy overlap for different SDKMACHINE
61 …= "${DEPLOY_DIR_RPM}/sdk_provides_dummy_nativesdk/ ${DEPLOY_DIR_IPK}/sdk-provides-dummy-nativesdk/"
62 …ES += "${DEPLOY_DIR_RPM}/buildtools_dummy_nativesdk/ ${DEPLOY_DIR_IPK}/buildtools-dummy-nativesdk/"
[all …]
/openbmc/qemu/scsi/
H A Dqemu-pr-helper.c24 #include <linux/dm-ioctl.h>
28 #include <cap-ng.h>
39 #include "qemu/help-texts.h"
42 #include "qemu/main-loop.h"
44 #include "qemu/error-report.h"
45 #include "qemu/config-file.h"
51 #include "io/channel-socket.h"
53 #include "qemu-version.h"
56 #include "block/thread-pool.h"
60 #include "pr-helper.h"
[all …]
/openbmc/openbmc/poky/meta/lib/patchtest/tests/
H A Dtest_metadata.py5 # SPDX-License-Identifier: GPL-2.0-only
14 # Data store commonly used to share values between pre and post-merge tests
48 fd.close()
50 fd.write(''.join(lines[:-1]))
90 …self.fail('LIC_FILES_CHKSUM changed without "License-Update:" tag and description in commit messag…
121 if 'core-image' in pn:
125 "%s-%s-%s" % (self.shortid(), patchtest_patterns.metadata_src_uri, pn)
138 if 'core-image' in pn:
142 "%s-%s-%s" % (self.shortid(), patchtest_patterns.metadata_src_uri, pn)
147 "pre%s-%s-%s" % (self.shortid(), patchtest_patterns.metadata_src_uri, pn)
[all …]
/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A Dsqlite.py5 # SPDX-License-Identifier: GPL-2.0-only
33 ("PR", "TEXT", ""),
180 self.logger.info("Upgrading Unihashes V2 -> V3...")
215 await self.close()
241 async def close(self): member in Database
242 self.db.close()
313 -- Select any matching output hash except the one we just inserted
315 -- Pick the oldest hash
358 return await self._get_config(cursor, "gc-mark")
365 gc_mark=COALESCE((SELECT value FROM config WHERE name='gc-mark'), '')
[all …]
H A Dsqlalchemy.py5 # SPDX-License-Identifier: GPL-2.0-only
66 PR = Column(Text) variable in OuthashesV2
134 self.engine = create_async_engine(self.url, max_overflow=-1)
144 self.logger.info("Upgrading Unihashes V2 -> V3...")
200 await self.close()
202 async def close(self): member in Database
203 await self.db.close()
369 return await self._get_config("gc-mark")
373 gc_mark_subquery = self._get_config_subquery("gc-mark", "")
389 return (keep_rows, remove_rows, await self._get_config("gc-mark"))
[all …]
H A Dserver.py3 # SPDX-License-Identifier: GPL-2.0-only
26 DB_ADMIN_PERM = "@db-admin"
27 USER_ADMIN_PERM = "@user-admin"
62 self.sample.add(time.perf_counter() - self.start_time)
117 self.m = last_m + (elapsed - last_m) / self.num
118 self.s = self.s + (elapsed - last_m) * (elapsed - self.m)
138 return math.sqrt(self.s / (self.num - 1))
162 return base64.b64encode(raw, b"._").decode("utf-8")
171 h.update(salt.encode("utf-8"))
172 h.update(token.encode("utf-8"))
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Dwget.py11 # SPDX-License-Identifier: GPL-2.0-only
35 Note: relies on --progress=dot (with -v or without -q/-nv) being
44 percs = re.findall(r'(\d+)%\s+([\d.]+[A-Z])', line)
46 progress = int(percs[-1][0])
47 rate = percs[-1][1] + '/s'
74 …raise bb.fetch2.ParameterError("Invalid protocol - if you wish to fetch from a git repository usin…
85 self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget --tries=2 --timeout=100"
88 self.basecmd += " --passive-ftp"
91 self.basecmd += " --no-check-certificate"
99 … runfetchcmd(command + ' --progress=dot --verbose', d, quiet, log=progresshandler, workdir=workdir)
[all …]
H A D__init__.py11 # SPDX-License-Identifier: GPL-2.0-only
239 # file://foo.diff -> file:foo.diff
376 if locidx != -1 and type.lower() != 'file':
447 # 0 - type, 1 - host, 2 - path, 3 - user, 4- pswd, 5 - params
495 result_decoded[loc] = path[1:-len(uri_basename)] + basename
578 passed in as precomputed parameter in a later call to avoid re-computing
668 a re-download.
680 # must be incorrect, re-trigger the download
691 # Only re-use the precomputed checksums if the donestamp is newer than the
719 # Checksums failed to verify, trigger re-download and remove the
[all …]
/openbmc/qemu/target/ppc/
H A Dmachine.c6 #include "mmu-hash64.h"
10 #include "power8-pmu.h"
15 target_ulong msr = env->msr; in post_load_update_msr()
21 env->msr ^= env->msr_mask & ~((1ULL << MSR_TGPR) | MSR_HVB); in post_load_update_msr()
30 v->u64[0] = qemu_get_be64(f); in get_avr()
31 v->u64[1] = qemu_get_be64(f); in get_avr()
41 qemu_put_be64(f, v->u64[0]); in put_avr()
42 qemu_put_be64(f, v->u64[1]); in put_avr()
63 v->VsrD(0) = qemu_get_be64(f); in get_fpr()
73 qemu_put_be64(f, v->VsrD(0)); in put_fpr()
[all …]
H A Dkvm.c13 * See the COPYING file in the top-level directory.
25 #include "qemu/error-report.h"
27 #include "cpu-models.h"
33 #include "mmu-hash64.h"
39 #include "migration/qemu-file-types.h"
47 #include "qemu/main-loop.h"
48 #include "qemu/mmap-alloc.h"
52 #include "accel/accel-cpu-target.h"
56 #define PROC_DEVTREE_CPU "/proc/device-tree/cpus/"
106 * Check whether we are running with KVM-PR (instead of KVM-HV). This
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dsiggen.py4 # SPDX-License-Identifier: GPL-2.0-only
42 bb.fatal("Siggen from metadata (OE-Core?) is too old, please update it (no version found)")
44 …bb.fatal("Siggen from metadata (OE-Core?) is too old, please update it (%s vs %s)" % (siggen.find_…
110 flag = d.getVarFlag(t, "stamp-extra-info")
130 self.taskhash[tid] = hashlib.sha256(tid.encode("utf-8")).hexdigest()
262 cmd = "$ bitbake %s -c%s" % (d.getVar('PN'), task)
264 bb.error("%s -Snone" % cmd)
266 bb.error("%s -Sprintdiff\n" % cmd)
401 h = hashlib.sha256(data.encode("utf-8")).hexdigest()
403 #d.setVar("BB_TASKHASH:task-%s" % task, taskhash[task])
[all …]
H A Dutils.py7 # SPDX-License-Identifier: GPL-2.0-only
64 alpha_regexp = re.compile(r'^([a-zA-Z]+)(.*)$')
78 r.append((-1, s[0]))
85 """Split a version string into its constituent parts (PE, PV, PR).
89 - ``s``: version string. The format of the input string should be::
91 ${PE}:${PV}-${PR}
93 Returns a tuple ``(pe, pv, pr)``.
101 if s.count('-'):
102 r = s.rsplit("-", 1)[1]
103 s = s.rsplit("-", 1)[0]
[all …]
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Ddram_sun9i.c1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2007-2015
10 * Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
26 * Allwinner as part of the open-source bootloader release (refer to
27 * https://github.com/allwinner-zh/bootloader.git) and augments the upstream
36 * Note that the Zynq-documentation provides a very close match for the DDR
42 * (i.e. the rules for MEMC_FREQ_RATIO=2 from the Zynq-documentation apply).
48 * 1) Only DDR3 support is implemented, as our test platform (the A80-Q7
50 * 2) Only 2T-mode has been implemented and tested.
62 * The driver should be driven from a device-tree based configuration that
[all …]

12