Describe the bug
The current behavior of Pulp appears to be that when a %changelog contains non-UTF-8 symbols, the entire %changelog section is stripped from the repository metadata. We should improve this by providing the otherwise valid %changelog and simply dropping the invalid non-UTF-8 characters.
To Reproduce
Place invalid symbols into the %changelog in your spec file and build it against an older target (newer targets have started stripping these symbols at the rpmbuild level).
Expected behavior
Even if the %changelog contains non-UTF-8 data, the valid portions should still be present in the RPM metadata, even if the section is technically incomplete.
Additional context
See also rpm-software-management/createrepo_c#327
Describe the bug
The current behavior of Pulp appears to be that when a %changelog contains non-UTF-8 symbols, the entire %changelog section is stripped from the repository metadata. We should improve this by providing the otherwise valid %changelog and simply dropping the invalid non-UTF-8 characters.
To Reproduce
Place invalid symbols into the %changelog in your spec file and build it against an older target (newer targets have started stripping these symbols at the rpmbuild level).
Expected behavior
Even if the %changelog contains non-UTF-8 data, the valid portions should still be present in the RPM metadata, even if the section is technically incomplete.
Additional context
See also rpm-software-management/createrepo_c#327