Skip to content

Add an action to pre-check if no MariaDB repository is enabled#165

Open
SandakovMM wants to merge 1 commit into
mainfrom
prevent-when-all-mariadb-disabled
Open

Add an action to pre-check if no MariaDB repository is enabled#165
SandakovMM wants to merge 1 commit into
mainfrom
prevent-when-all-mariadb-disabled

Conversation

@SandakovMM

Copy link
Copy Markdown
Contributor

In this case conversion will fail at the leapp preupgrade stage because leapp will be unable to find an appropriate mapping for MariaDB packages.

@SandakovMM SandakovMM self-assigned this Jul 24, 2026
@SandakovMM
SandakovMM requested review from lucer and ukablan-wpc July 24, 2026 13:39
Comment thread pleskdistup/common/src/rpm.py Outdated
return False


def has_enabled_repository(repofiles: typing.Iterable[str]) -> bool:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to have this utility function to query only one repo file rather than a list

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, can't see much difference, but why not. let's make it receive one repo file

In this case conversion will fail at the leapp preupgrade stage because
leapp will be unable to find an appropriate mapping for MariaDB packages.
@SandakovMM
SandakovMM force-pushed the prevent-when-all-mariadb-disabled branch from c99f0d6 to 6b3fc73 Compare July 24, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants