rocky-linux/peridot

[BUG] debuginfo packages that don't have debuginfo as the suffix are not considered debug packages

nazunalika opened this issue · 0 comments

Describe The Bug

Building packages that produce debuginfo packages may have a suffix other than just debuginfo. For example, kernel-debuginfo-common does not appear in the debug repositories.

Reproduction Steps

Build a package that will have packages with name-debuginfo-something. Those packages will not appear in the debug repository.

Expected Behavior

All debuginfo/debugsource packages should be in the appropriate repository.

Version and Build Information

Current.

Additional context

Pungi has this regex:

DEBUG_PATTERNS = ["*-debuginfo", "*-debuginfo-*", "*-debugsource"]
DEBUG_PATTERN_RE = re.compile(
    r"^(?:.*-debuginfo(?:-.*)?|.*-debuginfo-.*|.*-debugsource)$"
)