You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
846 B

10 months ago
from leapp.models import fields, Model, Module
from leapp.topics import TransactionTopic
class RpmTransactionTasks(Model):
topic = TransactionTopic
local_rpms = fields.List(fields.String(), default=[])
to_install = fields.List(fields.String(), default=[])
to_keep = fields.List(fields.String(), default=[])
to_remove = fields.List(fields.String(), default=[])
to_upgrade = fields.List(fields.String(), default=[])
modules_to_enable = fields.List(fields.Model(Module), default=[])
modules_to_reset = fields.List(fields.Model(Module), default=[])
class FilteredRpmTransactionTasks(RpmTransactionTasks):
pass
class PESRpmTransactionTasks(RpmTransactionTasks):
# Introduced because the framework struggles with solving dependency order of actors:
# https://github.com/oamg/leapp/issues/491
pass