Commit 002cf2b
committed
Fix module package source RPM matching bug
Module packages were not appearing in updateinfo.xml due to a bug in
the source RPM mapping logic. The issue was that binary and source
packages were being grouped into different dictionary keys:
- Binary packages: package_name='delve', key='go-toolset:delve:rhel8'
- Source packages: package_name='module.delve', key='go-toolset:module.delve:rhel8'
Because the keys didn't match, the source RPM lookup failed, causing
all packages in the advisory to be filtered out, and the entire advisory
to be removed from updateinfo.xml.
Fix: Strip the 'module.' prefix from package_name when building dictionary
keys, so both binary and source packages map to the same key. This allows
the source RPM matching to work correctly.
Impact: Fixes 181+ advisories with module packages (go-toolset, rust-toolset,
etc.) that were previously missing from updateinfo.1 parent fe6537b commit 002cf2b
1 file changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
60 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
61 | 70 | | |
62 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
63 | 74 | | |
64 | 75 | | |
65 | 76 | | |
| |||
80 | 91 | | |
81 | 92 | | |
82 | 93 | | |
| 94 | + | |
83 | 95 | | |
84 | 96 | | |
85 | 97 | | |
| |||
0 commit comments