/openbmc/openbmc/poky/meta/lib/patchtest/tests/ |
H A D | test_mbox.py | 46 for commit in self.commits: 48 if patchtest_patterns.mbox_revert_shortlog_regex.search_string(commit.shortlog): 50 if not patchtest_patterns.signed_off_by.search_string(commit.payload): 52 … 'Mbox is missing Signed-off-by. Add it manually or with "git commit --amend -s"', 53 commit=commit, 57 for commit in self.commits: 58 shortlog = commit.shortlog 68 …self.fail('Commit shortlog (first line of commit message) should follow the format "<target>: <sum… 69 commit=commit) 72 for commit in self.commits: [all …]
|
/openbmc/u-boot/scripts/ |
H A D | fill_scrapyard.py | 8 Fill the "Commit" and "Removed" fields of doc/README.scrapyard 13 doc/README.scrapyard leaving "Commit" and "Removed" fields blank. 15 The "Commit" field is the commit hash in which the board was removed 29 The "Commit" and "Removed" fields must be "-". The other fields should 30 have already been filled in by a former commit. 44 """Get the commit that last modified the given line. 47 file and returns the commit hash that last modified it. 55 Commit hash that last modified the line. The number of digits is 56 long enough to form a unique commit. 60 commit = result.split()[0] [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 258.out | 3 === Commit and stream finish concurrently (letting stream write) === 9 …lock-commit", "arguments": {"auto-finalize": false, "base-node": "node0", "device": "node4", "filt… 11 {"execute": "block-stream", "arguments": {"base-node": "commit-filter", "device": "node3", "job-id"… 13 {"execute": "job-finalize", "arguments": {"id": "commit"}} 15 {"data": {"id": "commit", "type": "commit"}, "event": "BLOCK_JOB_PENDING", "timestamp": {"microseco… 16 {"data": {"device": "commit", "len": 67108864, "offset": 67108864, "speed": 0, "type": "commit"}, "… 19 === Commit and stream finish concurrently (letting commit write) === 25 …lock-commit", "arguments": {"auto-finalize": false, "base-node": "node0", "device": "node4", "filt… 27 {"execute": "block-stream", "arguments": {"base-node": "commit-filter", "device": "node3", "job-id"… 30 {"execute": "job-finalize", "arguments": {"id": "commit"}} [all …]
|
H A D | 260.out | 10 {"execute": "block-commit", "arguments": {"device": "drive0", "top": "TEST_DIR/PID-top"}} 12 {"data": {"device": "drive0", "len": 65536, "offset": 65536, "speed": 0, "type": "commit"}, "event"… 15 {"data": {"device": "drive0", "len": 65536, "offset": 65536, "speed": 0, "type": "commit"}, "event"… 16 check bitmap after commit: name=bitmap0 dirty-clusters=2 27 {"execute": "block-commit", "arguments": {"device": "drive0", "top": "TEST_DIR/PID-top"}} 29 {"data": {"device": "drive0", "len": 65536, "offset": 65536, "speed": 0, "type": "commit"}, "event"… 32 {"data": {"device": "drive0", "len": 65536, "offset": 65536, "speed": 0, "type": "commit"}, "event"… 33 check bitmap after commit: name=bitmap0 dirty-clusters=2 45 {"execute": "block-commit", "arguments": {"device": "drive0", "top": "TEST_DIR/PID-top"}} 47 {"data": {"device": "drive0", "len": 65536, "offset": 65536, "speed": 0, "type": "commit"}, "event"… [all …]
|
H A D | 258 | 4 # Very specific tests for adjacent commit/stream block jobs 60 log('=== Commit and stream finish concurrently (letting %s write) ===' % \ 61 ('stream' if write_to_stream_node else 'commit')) 64 # All chosen in such a way that when the commit job wants to 66 # and the other way around, depending on whether the commit job 87 # This is what (most of the time) makes commit finish 119 vm.qmp_log('block-commit', 120 job_id='commit', 122 filter_node_name='commit-filter', 130 base_node='commit-filter') [all …]
|
H A D | 040 | 4 # Tests for image block commit. 22 # Test for live block commit 37 '''Abstract base class for image commit test cases''' 46 self.assert_qmp(event, 'data/type', 'commit') 54 self.assert_qmp(event, 'data/type', 'commit') 64 self.vm.cmd('block-commit', device='drive0', top_node=top, base_node=base) 66 self.vm.cmd('block-commit', device='drive0', top=top, base=base) 71 self.vm.cmd('block-commit', device='drive0') 123 self.vm.cmd('block-commit', device='drive0') 134 self.vm.cmd('block-commit', device='drive0') [all …]
|
/openbmc/u-boot/tools/patman/ |
H A D | patchstream.py | 12 import commit 18 '|Reviewed-on:|Commit-\w*:') 35 # Commit series tag 36 re_commit_tag = re.compile('^Commit-([a-z-]*): *(.*)') 38 # Commit tags that we want to collect and keep 41 # The start of a new commit in the git log 42 re_commit = re.compile('^commit ([0-9a-f]*)$') 49 STATE_PATCH_SUBJECT = 1 # In patch subject (first line of log for a commit) 76 self.commit = None # Current commit 93 self.series.AddTag(self.commit, line, name, value) [all …]
|
H A D | series.py | 24 commits: List of Commit objects, one for each patch 53 def AddTag(self, commit, line, name, value): argument 69 (commit.hash, line, values, self[name])) 80 "options are %s" % (commit.hash, line, name, 83 def AddCommit(self, commit): argument 84 """Add a commit into our list of commits 86 We create a list of tags in the commit subject also. 89 commit: Commit object to add 91 commit.CheckTags() 92 self.commits.append(commit) [all …]
|
/openbmc/webui-vue/src/store/modules/Operations/ |
H A D | ControlStore.js | 52 async getLastPowerOperationTime({ commit }) { field in ControlStore.actions.AnonymousClass03369a010101 59 commit('setLastPowerOperationTime', lastPowerOperationTime); 64 async getLastBmcRebootTime({ commit }) { field in ControlStore.actions.AnonymousClass03369a010201 70 commit('setLastBmcRebootTime', lastBmcRebootTime); 89 async serverPowerOn({ dispatch, commit }) { 93 commit('setOperationInProgress', false); 96 async serverSoftReboot({ dispatch, commit }) { 100 commit('setOperationInProgress', false); 103 async serverHardReboot({ dispatch, commit }) { 107 commit('setOperationInProgress', false); [all …]
|
H A D | BootSettingsStore.js | 33 async getBootSettings({ commit }) { field in BootSettingsStore.actions.AnonymousClassc677f5850101 37 commit( 41 commit('setOverrideEnabled', Boot.BootSourceOverrideEnabled); 42 commit('setBootSource', Boot.BootSourceOverrideTarget); 47 { commit, dispatch }, field in BootSettingsStore.actions.AnonymousClassc677f5850301 64 // If request success, commit the values 65 commit('setBootSource', data.Boot.BootSourceOverrideTarget); 66 commit('setOverrideEnabled', data.Boot.BootSourceOverrideEnabled); 76 async getTpmPolicy({ commit }) { field in BootSettingsStore.actions.AnonymousClassc677f5850501 85 }) => commit('setTpmPolicy', TPMEnable), [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | gitarchivetests.py | 22 def create_fake_repository(commit, tag_list=[], add_remote=True): argument 25 Initialize a simple git repository with one initial commit, and as many 26 tags on this commit as listed in tag_list 28 If commit is true, fake data will be commited, otherwise it will stay in staging area 29 If commit is true and tag_lsit is non empty, all tags in tag_list will be 30 created on the initial commit 40 if commit: 42 repo.run_cmd(["commit", "-m", "\"Add fake data\""]) 70 …keywords = {'commit': self.TEST_COMMIT, 'branch': self.TEST_BRANCH, "commit_count": self.TEST_COMM… 74 … "Results of {branch}:{commit}", "branch: {branch}\ncommit: {commit}", "{branch}", [all …]
|
/openbmc/telemetry/tests/src/ |
H A D | test_trigger_actions.cpp | 59 void commit() in commit() function in action::numeric::TestActionNumeric 61 sut->commit("MyTrigger", std::nullopt, "MySensor", in commit() 77 EXPECT_NO_THROW(commit()); in TEST_P() 87 EXPECT_ANY_THROW(commit()); in TEST_P() 99 EXPECT_NO_THROW(commit()); in TEST_P() 111 EXPECT_ANY_THROW(commit()); in TEST_P() 153 void commit() const in commit() function in action::discrete::TestLogToJournalDiscrete 156 sut->commit("MyTrigger", std::cref(thresholdName), "MySensor", in commit() 169 EXPECT_NO_THROW(commit()); in TEST_P() 180 EXPECT_ANY_THROW(commit()); in TEST_P() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | gitarchive.py | 59 """Commit data into a Git repository""" 74 # Create new commit object from the tree 78 git_cmd = ['commit-tree', tree, '-m', message] 81 commit = repo.run_cmd(git_cmd, env_update) 87 '-F', os.path.abspath(filename), commit]) 90 git_cmd = ['update-ref', 'refs/heads/' + branch, commit] 95 log.info("Updating %s HEAD to latest commit", repo.top_dir) 98 return commit 184 # Commit data 185 commit = git_commit_data(data_repo, data_dir, branch_name, [all …]
|
/openbmc/webui-vue/src/store/modules/SecurityAndAccess/ |
H A D | PoliciesStore.js | 32 async getNetworkProtocolStatus({ commit }) { field in PoliciesStore.actions.AnonymousClass7ccaa9510101 38 commit('setSshProtocolEnabled', sshProtocol); 39 commit('setIpmiProtocolEnabled', ipmiProtocol); 43 async getBiosStatus({ commit }) { field in PoliciesStore.actions.AnonymousClass7ccaa9510201 47 commit('setRtadEnabled', response.data.Attributes.pvm_rtad); 48 commit('setVtpmEnabled', response.data.Attributes.pvm_vtpm); 52 async getSessionTimeout({ commit }) { field in PoliciesStore.actions.AnonymousClass7ccaa9510301 57 commit('setSessionTimeoutValue', sessionTimeoutValue); 61 async saveIpmiProtocolState({ commit }, protocolEnabled) { field in PoliciesStore.actions.AnonymousClass7ccaa9510401 62 commit('setIpmiProtocolEnabled', protocolEnabled); [all …]
|
/openbmc/bmcweb/docs/ |
H A D | REDFISH_CHECKLIST.md | 10 that have been added or are used in the commit. 12 2. Document any client-facing changes in behavior in the commit message. Note, 19 4. Document in the commit message what these property additions are used for. 24 commit message. Redfish-Service-Validator is the MINIMUM required for any 26 validator. If testing was performed on a previous commit in the series, but 27 not the present commit, note that explicitly with "Tested on prior commit". 36 to the gerrit review for phosphor-dbus-interfaces in the commit message.
|
/openbmc/openbmc/poky/scripts/ |
H A D | oe-git-archive | 35 description="Commit data to git and push upstream", 56 … default='{hostname}/{branch}/{machine}/{commit_count}-g{commit}/{tag_number}', 58 parser.add_argument('--commit-msg-subject', 59 default='Results of {branch}:{commit} on {hostname}', 60 help="Subject line (pattern) to use in the commit message") 61 parser.add_argument('--commit-msg-body', 62 default='branch: {branch}\ncommit: {commit}\nhostname: {hostname}', 63 help="Commit message body (pattern)") 65 default='Test run #{tag_number} of {branch}:{commit} on {hostname}', 71 help="Glob to exclude files from the commit. Relative " [all …]
|
H A D | oe-build-perf-report | 49 ignore_fields.extend(['commit_number', 'commit']) 61 commit_field = fields.index('commit') 90 def is_xml_format(repo, commit): argument 91 """Check if the commit contains xml (or json) data""" 92 if repo.rev_parse(commit + ':results.xml'): 93 log.debug("Detected report in xml format in %s", commit) 96 log.debug("No xml report in %s, assuming json formatted results", commit) 155 ('Commit number', 'commit_num', 'layers.meta.commit_count'), 156 ('Commit', 'commit', 'layers.meta.commit'), 189 rows = [['', 'CURRENT COMMIT', 'COMPARING WITH']] [all …]
|
/openbmc/openbmc/poky/meta/lib/patchtest/ |
H A D | repo.py | 20 def __init__(self, patch, repodir, commit=None, branch=None): argument 32 # Target Commit 34 # 1. commit given at cmd line 38 self._commit = self._get_commitid(commit) or \ 65 def _get_commitid(self, commit): argument 67 if not commit: 71 return self.repo.rev_parse(commit).hexsha 73 print(f"Couldn't find commit {commit} in repo")
|
/openbmc/webui-vue/src/store/modules/Authentication/ |
H A D | AuthenticanStore.js | 64 login({ commit }, { username, password }) { field in AuthenticationStore.actions.AnonymousClassdd0a6d100201 65 commit('authError', false); 72 commit('authSuccess', { 76 setSessionPrivilege(commit, data); 80 commit('authError'); 84 logout({ commit, state }) { field in AuthenticationStore.actions.AnonymousClassdd0a6d100701 92 .then(() => commit('logout')) 96 getSessionPrivilege({ commit, state }) { field in AuthenticationStore.actions.AnonymousClassdd0a6d100801 99 .then(({ data }) => setSessionPrivilege(commit, data)); 109 const setSessionPrivilege = (commit, data) => { [all …]
|
/openbmc/openbmc/poky/scripts/lib/build_perf/html/ |
H A D | measurement_chart.html | 5 … sample.commit_num }}, {{ sample.mean.gv_value() }}, {{ sample.start_time }}, '{{sample.commit}}'], 20 const data = rawData.map(([commit, value, time]) => { 29 const commitCountList = rawData.map(([commit, value, time]) => { 30 return commit 33 const commitCountData = rawData.map(([commit, value, time]) => { 47 const sample = rawData.filter(([commit, dataValue]) => updateValue(dataValue) === value) 50 // Add commit hash to the tooltip as a link 51 const commitLink = `https://git.yoctoproject.org/poky/commit/?id=${sample[0][3]}` 56 …return `<strong>Duration:</strong> ${hours}:${minutes}:${seconds}, <strong>Commit number:</strong>… 58 …return `<strong>Size:</strong> ${value.toFixed(2)} MB, <strong>Commit number:</strong> <a href="${… [all …]
|
/openbmc/phosphor-ipmi-blobs/test/ |
H A D | ipmi_commit_unittest.cpp | 17 // The commit command supports an optional commit blob. This test verifies in TEST() 35 // The commit packet is valid and the manager's commit call returns failure. in TEST() 47 EXPECT_CALL(mgr, commit(req.sessionId, _)).WillOnce(Return(false)); in TEST() 53 // Commit called with no data and everything returns success. in TEST() 64 EXPECT_CALL(mgr, commit(req.sessionId, _)).WillOnce(Return(true)); in TEST() 72 // Commit called with extra data and everything returns success. in TEST() 86 EXPECT_CALL(mgr, commit(req.sessionId, ElementsAreArray(expectedBlob))) in TEST()
|
/openbmc/phosphor-logging/lib/include/phosphor-logging/ |
H A D | elog.hpp | 95 /** @fn commit() 102 uint32_t commit(const char* name); 104 /** @fn commit() - override that accepts error level 108 uint32_t commit(const char* name, Entry::Level level); 112 /** @fn commit() 113 * \deprecated use commit<T>() 120 uint32_t commit(std::string&& name); 122 /** @fn commit() 129 uint32_t commit() in commit() function 138 return details::commit(T::errName); in commit() [all …]
|
/openbmc/phosphor-host-ipmid/docs/ |
H A D | contributing.md | 10 A good commit does exactly one thing. We prefer many small, atomic commits to 11 one large commit which makes many functional changes. 21 possible, your commit should stand alone on top of master - "Fix whitespace in 35 When someone makes a comment on your commit in Gerrit, modify that commit and 37 `git commit --amend`, for which there are many guides online. As mentioned in 43 include a unit test to exercise that change, within the same commit. Unit tests 50 ## Formatting Commit Messages 52 Your commit message should explain: 55 spelling" This first line of your commit message is the subject line. 60 your commit message and is required for all code changes in the IPMI stack. It [all …]
|
/openbmc/openbmc-build-scripts/config/ |
H A D | .gitlint | 26 # commit message to gitlint via stdin or --commit-msg. Disabled by default. 29 # Hard fail when the target commit range is empty. Note that gitlint will 30 # already fail by default on invalid commit ranges. This option is specifically 31 # to tell gitlint to fail on *valid but empty* commit ranges. 62 # python-style regex that the commit-msg title must match 81 # it in the commit message. 85 # python-style regex that the commit-msg body must match. 86 # E.g. body must end in My-Commit-Tag: foo 87 # regex=My-Commit-Tag: foo$ 90 # python-style regex that the commit author email address must match. [all …]
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | patchtest.sh | 87 # loop through parent to HEAD and execute patchtest on each commit 88 for commit in $(git rev-list master..HEAD --reverse) 90 shortlog="$(git log "$commit^1..$commit" --pretty='%h: %aN: %cd: %s')" 91 …log="$(git format-patch "$commit^1..$commit" --stdout | patchtest - -r $pokydir -s $PTOE/tests --b…
|