uyuni-project / uyuni

Source code for Uyuni
https://www.uyuni-project.org/
GNU General Public License v2.0
411 stars 171 forks source link

change Errata cve column to type text #8958

Open mcalmer opened 1 week ago

mcalmer commented 1 week ago

What does this PR change?

Errata table has a column defined as VARCHAR(4000) which is the maximum. But new patches - especially kernel - have huge lists of CVE ids that we go over this maximum and updating the report DB failed with:

ERROR: value too long for type character varying(4000)

This change the type to "TEXT" which should be able to take everything what is provided.

GUI diff

No difference.

Documentation

Test coverage

Links

Port(s): https://github.com/SUSE/spacewalk/pull/24607

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Re-run a test

If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run:

Before you merge

Check How to branch and merge properly!