History log of /openbmc/ibm-logging/condense_policy.py (Results 1 – 5 of 5)
Revision Date Author Comments
# c4bc11e8 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Change-Id: I1344c9ab1a1c3be

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Change-Id: I1344c9ab1a1c3beec79c7326d02b78a6efbd6daf
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 7f2b6ae9 05-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

python: fix flake8 warnings and format with black

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3a07938b0768e093d04abedeaf96b63b2e8e9ec7


# 94924b4b 09-Mar-2020 Matt Spinler <spinler@us.ibm.com>

Update condense_policy.py for python3

Specify that python3 should be used in the script.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I7bc419ca75cb98ff455d1f0c59c

Update condense_policy.py for python3

Specify that python3 should be used in the script.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I7bc419ca75cb98ff455d1f0c59cb0d3b38c74696

show more ...


# 6cfccf4d 28-Sep-2018 Matt Spinler <spinler@us.ibm.com>

condense_policy.py: Allow multiple || separators

The policy data can now have multiple || separators
on its search line, like

<error type>||<callout>||severity

The ibm-

condense_policy.py: Allow multiple || separators

The policy data can now have multiple || separators
on its search line, like

<error type>||<callout>||severity

The ibm-logging code breaks this line up into
an error type and search modifier, and now the
search modifier will be the '<callout>||<severity>'

Change-Id: Ice69149a42e864e4ff8f6f2756bba60edbd5f9d9
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# 4bffa93a 28-Mar-2018 Matt Spinler <spinler@us.ibm.com>

Add script to condense the policy table JSON

The policy table is delivered to us in JSON format,
and it contains several fields that we don't need
to use. This script will pull out

Add script to condense the policy table JSON

The policy table is delivered to us in JSON format,
and it contains several fields that we don't need
to use. This script will pull out just the fields
needed by the code and will output them into a JSON
format that lends itself to being searched based
on the error message and a modifier.

This will run during the bitbake build as the full
policy table file will be checked into the machine
layer it applies to.

Change-Id: I03a0f04dfa1d31902832fd3bd7dadc13b49aa00d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...