On 14-02-2024 18:47, Kevin Fenzi wrote:
On Wed, Feb 14, 2024 at 02:20:39PM +0100, Sandro wrote:
Hi,
Some script running on pkgs01.iad2.fedoraproject.org sends a report titled
"Packages Restricting Arches" to arch-excludes@xxxxxxxx.o every night
(between 04:00 and 05:00 UTC)[1]. I was wondering where I could find that
script.
The report appears to be for ExclusiveArch only. It would help me if I could
generate a similar report for ExcludeArch.
[1] https://lists.fedoraproject.org/archives/list/arch-excludes@xxxxxxxxxxxxxxxxxxxxxxx/thread/QGEZ7CKLNZVX6OKTF6ZGPNCB2LNZOCKB/
Its a hook, defined in our ansible repo:
https://pagure.io/fedora-infra/ansible/blob/main/f/roles/git/hooks/files/post-receive-alternativearch
You put me on the right track. Thanks!
However, the hook is only responsible for the immediately sent messages
upon push to dist-git. The report I linked to is generated by [1], which
is called from [2]. Both are Python2. Ouch!.
Going by the initial comment in [1], I'd think the report should also be
for ExcludeArch, unless the typo (ExcludesArch) is also in the code. I
haven't looked yet, but will do.
[1]
https://pagure.io/fedora-infra/ansible/blob/main/f/roles/git/make_checkout_seed/files/alternative_arch_report.py
[2]
https://pagure.io/fedora-infra/ansible/blob/main/f/roles/git/make_checkout_seed/files/make-git-checkout-seed.sh#_124
-- Sandro
--
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue