Learn more about these different git repos.
Other Git URLs
The size field in the rpminfo table is treated as a file size. In import_rpm, we have
rpminfo['size'] = os.path.getsize(fn)
However, for external rpm entries, we read the RPMTAG_SIZE header from the rpmdb of the buildroot. This field is not the size of the rpm file that was installed, but "the size of all the regular files in the payload" (ref)
It's not clear what we can or should do here, since we do not have the original file at this point to get the size from.
We could:
I can think of more options, but they would involve refactoring the data.
Metadata Update from @mikem: - Custom field Size adjusted to None
Maybe be stopping is better here? As it is already inconsistent - what happens when the same rpm is imported later?
Login to comment on this ticket.