History log of /openbmc/phosphor-inventory-manager/serialize.hpp (Results 1 – 13 of 13)
Revision Date Author Comments
# cf5d024b 14-Apr-2022 George Liu <liuxiwei@inspur.com>

logging: switch to lg2

After switching to C++20, it is recommended to use `phosphor::lg2`
to format log, and the correct `CODE_LINE` and `CODE_FUNC` values
can be used in log tracking.

Signed-off-b

logging: switch to lg2

After switching to C++20, it is recommended to use `phosphor::lg2`
to format log, and the correct `CODE_LINE` and `CODE_FUNC` values
can be used in log tracking.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: If1cbc1f1eb4ccd02fe2e95f2f09a4fd0b43a0851

show more ...


# 3e2d9641 06-Oct-2021 Patrick Williams <patrick@stwcx.xyz>

catch exceptions as const

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


# a83db30e 06-Dec-2020 Brad Bishop <bradleyb@fuzziesquirrel.com>

style: update clang-format

Pull the most recent OpenBMC style rules and run clang-format.

Change-Id: I11a25ea1e62d6c739010d9dd742a139fb17cc09a
Signed-off-by: Brad Bishop <bradle

style: update clang-format

Pull the most recent OpenBMC style rules and run clang-format.

Change-Id: I11a25ea1e62d6c739010d9dd742a139fb17cc09a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...


# ded627c4 19-Apr-2019 Matt Spinler <spinler@us.ibm.com>

deserialization: adapt to filesystem API changes

This function also needs to handle the different behavior
of the std::filesystem::path::/ operator (as opposed to
std::experimental::

deserialization: adapt to filesystem API changes

This function also needs to handle the different behavior
of the std::filesystem::path::/ operator (as opposed to
std::experimental::filesystem::path).

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

show more ...


# a2485504 15-Apr-2019 Brad Bishop <bradleyb@fuzziesquirrel.com>

serialization: adapt to filesystem API changes

The behavior of std::filesystem::path::append changed on its journey
from experimental:: to std::
Add a testcase and adapt to the behav

serialization: adapt to filesystem API changes

The behavior of std::filesystem::path::append changed on its journey
from experimental:: to std::
Add a testcase and adapt to the behavior change.

Fixes: e6b21c74581c30ea635aabbbc08d0a56f8e27063
Change-Id: I4bdb43ea9b85933ec12ae0f4b609ec3a33d77d01
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...


# e6b21c74 27-Mar-2019 Kun Yi <kunyi731@gmail.com>

cleanup: Use filesystem instead of experimental

With Thud(Yocto 2.6) bumping gcc version, std::filesystem
is available.

Change-Id: I1837df14e52be3e2007b941c3f9c0d3efc687027

cleanup: Use filesystem instead of experimental

With Thud(Yocto 2.6) bumping gcc version, std::filesystem
is available.

Change-Id: I1837df14e52be3e2007b941c3f9c0d3efc687027
Signed-off-by: Kun Yi <kunyi731@gmail.com>

show more ...


# 7dfd08f8 12-Dec-2018 Brad Bishop <bradleyb@fuzziesquirrel.com>

serialize: add concept API

Wrap serialization methods in a struct to match a yet to be consumed
serialization template concept API.

Change-Id: I4be1749f693ea5fe116bbac581428972e

serialize: add concept API

Wrap serialization methods in a struct to match a yet to be consumed
serialization template concept API.

Change-Id: I4be1749f693ea5fe116bbac581428972e7670791
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...


# a680d1ef 14-Oct-2018 Patrick Venture <venture@google.com>

formatter: update clang-format and fix-up file(s)

clang-format-6.0 introduced new changes, also then updates to
.clang-format introduce more new changes.

Change-Id: Iec9f84e3a7a

formatter: update clang-format and fix-up file(s)

clang-format-6.0 introduced new changes, also then updates to
.clang-format introduce more new changes.

Change-Id: Iec9f84e3a7a5bf254d66eee46cdc9b3070e06687
Signed-off-by: Patrick Venture <venture@google.com>

show more ...


# 615b2a8f 29-Mar-2018 Brad Bishop <bradleyb@fuzziesquirrel.com>

Enable clang-format

Fix up problems and enable clang-format during CI builds.

Change-Id: Ia5c88281f7090c0aa09ba586d968f1fcd8aba4f1
Signed-off-by: Brad Bishop <bradleyb@fuzziesqu

Enable clang-format

Fix up problems and enable clang-format during CI builds.

Change-Id: Ia5c88281f7090c0aa09ba586d968f1fcd8aba4f1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...


# fa23d704 02-Sep-2017 Marri Devender Rao <devenrao@in.ibm.com>

Add support for type-only interfaces

Modify Maker template for type-only interfaces that do not
have properties.

Resolves openbmc/openbmc#1786

Change-Id: I2c48b37cf2739

Add support for type-only interfaces

Modify Maker template for type-only interfaces that do not
have properties.

Resolves openbmc/openbmc#1786

Change-Id: I2c48b37cf273943a0c696f6b92db0bc901a1c9b4
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>

show more ...


# 86ad3c67 19-Sep-2017 Jayanth Othayoth <ojayanth@in.ibm.com>

phosphor-inventory: Fix for deserialize cereal exception

This commit provides a fix for an issue in which the cereal
deserialize() would crash the phosphor-inventory, incase
persiste

phosphor-inventory: Fix for deserialize cereal exception

This commit provides a fix for an issue in which the cereal
deserialize() would crash the phosphor-inventory, incase
persistence file is empty in restore path.

Change-Id: Id1d40a0e401af8acea92775d1f3337c8a897a7ec
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>

show more ...


# b28990f3 08-Aug-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

inventory: implement deserialization

Use Cereal to deserialize inventory information persisted in the
filesystem and restore that to create inventory d-bus objects. Perform
the resto

inventory: implement deserialization

Use Cereal to deserialize inventory information persisted in the
filesystem and restore that to create inventory d-bus objects. Perform
the restore when the app starts.

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

show more ...


# 6620e98d 05-Aug-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

inventory: implement serialization

Use Cereal to serialize and persist inventory items to the filesystem.
Serialize inventory objects as and when they're created/updated via the
noti

inventory: implement serialization

Use Cereal to serialize and persist inventory items to the filesystem.
Serialize inventory objects as and when they're created/updated via the
notify() API.

Create a template API to perform serialization on the sdbusplus
inventory interface type.

An inventory item path /foo/bar/baz implementing interfaces iface1 and
iface2 would be stored in paths /foo/bar/baz/iface1 and
/foo/bar/baz/iface2.

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

show more ...