oamg / leapp

Leapp - Application & OS Modernization Framework (For in-place upgrades, follow leapp-repository)
https://oamg.github.io/leapp/
Apache License 2.0
87 stars 70 forks source link

Extend LEAPP with actor configuration #870

Open abadger opened 4 months ago

abadger commented 4 months ago

Provide a new unified solution to enable User-Configurable actors.

The point is to introduce mechanism how various parts of workflow could be configured, on level actors which should be able to easily access configuration related to them (e.g. via a framework API if designed in such a way). So users will not have to create their own custom actors for all possibilities we provide right now, but they could simply create/update configuration files to achieve what they want.

Issues:

JIRA: OAMG-8803

dkubek commented 1 month ago

Adding quick note here so we won't forget. We will want to include the config information also in leapp.db. If we make the Config serializable we could simply edit store_actor_metadata in leapp/utils/audit/__init__.py and it should work well enough.

abadger commented 1 month ago

Hey @vinzenz , I don't know if you have time but I was wondering if you recall where in the code I need to add something to recognize directories inside of the actor as being a plugin? I'm trying to add a configs/ directory that is pretty much the same as libraries/. I found the places in the code I need to modify to make a configs directory at the repository level work but I'm stll not recognizing a configs directory inside of each individual actor. I know I'm probably just missing a few line of code somewhere that sets it up but I can't seem to find it.

MichalHe commented 2 weeks ago

/packit build