#
5f07fa36 |
| 17-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: Ib9913e28d2bd3a9cf98e47326a57d9b35ab223ef Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
#
32dff21b |
| 09-Feb-2023 |
Patrick Williams <patrick@stwcx.xyz> |
config-file: search multiple directories
Restricting the config file to `/usr/share` makes testing difficult and prevents the config file from being present on a, typically for the BMC, read-write v
config-file: search multiple directories
Restricting the config file to `/usr/share` makes testing difficult and prevents the config file from being present on a, typically for the BMC, read-write volume. Change the config loading code to search:
1. pwd 2. /var/lib/phosphor-virtual-sensor 3. /usr/share/phosphor-virtual-sensor
Tested:
Ran strace on the changes and observed the expected file search. ``` getcwd("pwd/phosphor-virtual-sensor/builddir", 4096) = 75 newfstatat(AT_FDCWD, "pwd/phosphor-virtual-sensor/builddir/virtual_sensor_config.json", 0x7fff60a0af90, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/var/lib/phosphor-virtual-sensor/virtual_sensor_config.json", 0x7fff60a0af90, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/phosphor-virtual-sensor/virtual_sensor_config.json", 0x7fff60a0af90, 0) = -1 ENOENT (No such file or directory) ```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I70854d565a3b13cd48c27a80da84de54c00a0603
show more ...
|
#
bbf22d81 |
| 27-Oct-2022 |
Clyde Huang <chuang31@lenovo.com> |
fix the wrong URL link
Signed-off-by: Clyde Huang <chuang31@lenovo.com> Change-Id: Idf447173d0b6f7cdc719b4850a15fcc88c5decdc
|
#
aedd2e2b |
| 21-May-2022 |
Jiaqing Zhao <jiaqing.zhao@intel.com> |
README: Update Type for D-Bus config
According to entity-manager schema, the first M of ModifiedMedian should be capitalized. Also adds a hyperlink to the schema.
Tested: Configure phosphor-virtual
README: Update Type for D-Bus config
According to entity-manager schema, the first M of ModifiedMedian should be capitalized. Also adds a hyperlink to the schema.
Tested: Configure phosphor-virtual-sensor with "Type": "ModifiedMedian", the sensor defined in entity-manager json is exposed successfully.
Change-Id: I90fa91d3c45e24914610245eec43dd2924957855 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
show more ...
|
#
190e4bf8 |
| 15-Dec-2021 |
Patrick Williams <patrick@stwcx.xyz> |
README: format changes suggested by markdownlint
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I189f176f9ea6ef16603f962bbd109678edb54fb6
|
#
05b1d417 |
| 02-Nov-2021 |
Rashmica Gupta <rashmica.g@gmail.com> |
thresholds: Update Severity to be a string
Thresholds are now strings, so update to treat them as such. However still accept unsigned ints for backwards compatibility.
Tested: Used both strings and
thresholds: Update Severity to be a string
Thresholds are now strings, so update to treat them as such. However still accept unsigned ints for backwards compatibility.
Tested: Used both strings and unsigned ints in severity fields in a virtual sensor config, and we see correct threshold properties and behaviour.
Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com> Change-Id: I893877a769eb81e6589ce42a01079816e5493b4f
show more ...
|
#
c95a59e8 |
| 27-Jul-2021 |
Rashmica Gupta <rashmica.g@gmail.com> |
README: add config via D-Bus
We can now add a virtual sensor in two ways (reading in a JSON file or a configuration from D-Bus), so add this information into the README.
Signed-off-by: Rashmica Gup
README: add config via D-Bus
We can now add a virtual sensor in two ways (reading in a JSON file or a configuration from D-Bus), so add this information into the README.
Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com> Change-Id: I63099953a5fdd3c860a728036544955f906a31f7
show more ...
|
#
416d5829 |
| 04-Aug-2020 |
Vijay Khemka <vijaykhemka@fb.com> |
first commit
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Change-Id: Ia0c223d103a428b84b6d1a7feb36fd32e8e9d94c
|