Where can I find "Packages Restricting Arches" script.
Hi, Some script running on pkgs01.iad2.fedoraproject.org sends a report titled "Packages Restricting Arches" to arch-exclu...@lists.fp.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-exclu...@lists.fedoraproject.org/thread/QGEZ7CKLNZVX6OKTF6ZGPNCB2LNZOCKB/ Cheers, -- Sandro FAS: gui1ty Matrix:Penguinpee Elsewhere: [Pp]enguinpee -- ___ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: Where can I find "Packages Restricting Arches" script.
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-exclu...@lists.fp.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-exclu...@lists.fedoraproject.org/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 kevin signature.asc Description: PGP signature -- ___ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: Where can I find "Packages Restricting Arches" script.
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-exclu...@lists.fp.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-exclu...@lists.fedoraproject.org/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@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: Where can I find "Packages Restricting Arches" script.
On 14-02-2024 20:00, Sandro wrote: 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. That was indeed the case. `ExcludesArch` was omnipresent in the script. I fixed that and submitted a PR[2]. [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/pull-request/1780 -- Sandro -- ___ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue