From: Perry Gagne <pgagne(a)redhat.com>
These patches rework the API for exporting RecipeRuns.
Rather then using a wrapper object RecipeRunData, we just export the
RecipeRun itself. Also, compression was added to reduce file size.
fixes
https://gitlab.cee.redhat.com/lnst-team/lnst/-/issues/29
Perry Gagne (5):
RecipeResults.py: Stop excluding RemoteDevices from export
RecipeRunExport.py: Changed API, added compression, fixedup docs.
Recipe.py: Made Recipe pickle-able
Recipe.py: Make export/import of runs based on RecipeRun directly
Recipe.py: Removed Recipe name property.
docs/source/recipe_run_export.rst | 16 +++++
docs/source/tester_api.rst | 1 +
lnst/Common/ConnectionHandler.py | 7 ++
lnst/Controller/Controller.py | 2 +-
lnst/Controller/Machine.py | 8 +++
lnst/Controller/Recipe.py | 97 ++++++++++++++++++++++++-
lnst/Controller/RecipeResults.py | 5 --
lnst/Controller/RecipeRunExport.py | 112 -----------------------------
lnst/Devices/RemoteDevice.py | 2 +
9 files changed, 131 insertions(+), 119 deletions(-)
create mode 100644 docs/source/recipe_run_export.rst
delete mode 100644 lnst/Controller/RecipeRunExport.py
--
2.26.2