Open dkacar-oradian opened 2 years ago
I believe this is a bug in salt https://github.com/saltstack/salt/blob/master/salt/modules/rpmbuild_pkgbuild.py#L745
it appears that the pkgbuild.repo state calls pkgbuild.make_repo and that function only scans the top level for rpms to sign, and not the SRPMS sub-folder.
https://github.com/saltstack/salt-pack-py3/blob/develop/file_roots/repo/redhat/rhel8/init.sls is where that state is run from.
Description I was mirroring your RPM repository at https://repo.saltproject.io/py3/redhat/8/x86_64/latest with
reposync -g
and got these errors:All of those packages are in the
SRPMS
directory.I can't put the mirroring script in a cron job because every invocation would spit out these errors and then that would go to a bunch of people who won't be happy with those reports.
So, please, make these errors go away.
Setup
I suppose you can invoke
reposync -g
in any kind of setup to reproduce the error. Or you can just manually inspect the packages. This one is fine:But SRPMs aren't:
Steps to Reproduce the behavior Not applicable.
Expected behavior All packages should be signed with Salt's GPG key.
Screenshots If applicable, add screenshots to help explain your problem.
Versions Report Not applicable.
Additional context
I didn't check the repository for other OS version(s). The same problem might be present there, as well.