History log of /openbmc/phosphor-logging/callouts/callouts.py (Results 1 – 6 of 6)
Revision Date Author Comments
# d27675d7 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: I8b1542d2681ef39

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: I8b1542d2681ef3985455920fa939a6ea2482be22
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# e6555f5b 04-Aug-2022 Patrick Williams <patrick@stwcx.xyz>

format: reformat with black

CI seems to be failing due to a new version of pycodestyle
with errors such as:

```
./tools/elog-gen.py:26:11: E275 missing whitespace after keyword
if(i_parents

format: reformat with black

CI seems to be failing due to a new version of pycodestyle
with errors such as:

```
./tools/elog-gen.py:26:11: E275 missing whitespace after keyword
if(i_parents[error] is not None):
```

Attempt to reformat the whole codebase with `black`.

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

show more ...


# c040d392 16-Apr-2021 Patrick Williams <patrick@stwcx.xyz>

callouts: add argument for output file

Some build systems prefer output files being in an out-of-tree
location rather than the pwd. Add an optional output file
parameter so that the

callouts: add argument for output file

Some build systems prefer output files being in an out-of-tree
location rather than the pwd. Add an optional output file
parameter so that the full path to a desired output can be given.

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

show more ...


# 1894199f 15-Apr-2021 Patrick Williams <patrick@stwcx.xyz>

callouts: switch callout-yaml path to absolute

Most external users of the CALLOUT_YAML use an absolute path, so it
is only through luck that the callouts.py script use to work as it

callouts: switch callout-yaml path to absolute

Most external users of the CALLOUT_YAML use an absolute path, so it
is only through luck that the callouts.py script use to work as it
was previously adding the path to the script onto the YAML parameter.
This behavior doesn't work well with other build systems (ex. Meson)
because they deduce fuller relative paths to dependency files.

Switch the CALLOUTS_YAML default and all associated handling to use
a project-relative path and avoid the magic of adding the script-dir.

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

show more ...


# 991bb769 09-Mar-2020 Matt Spinler <spinler@us.ibm.com>

Update callouts.py for python3

Specify that python3 should be used in the script.

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

Update callouts.py for python3

Specify that python3 should be used in the script.

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

show more ...


# 5650b399 02-Mar-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

callouts: add script to generate callout mappings

Add a script that can generate callout mappings. The script needs an
input YAML to denote callout mappings. Add an example YAML.

callouts: add script to generate callout mappings

Add a script that can generate callout mappings. The script needs an
input YAML to denote callout mappings. Add an example YAML.

Change-Id: I7b49fe4c586bf7abfed2865cfd776de4d5745ef5
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>

show more ...