Hi,
Some script running on pkgs01.iad2.fedoraproject.org sends a report titled "Packages Restricting Arches" to arch-excludes@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-excludes@lists.fedoraproj...
Cheers,
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@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-excludes@lists.fedoraproj...
Its a hook, defined in our ansible repo:
https://pagure.io/fedora-infra/ansible/blob/main/f/roles/git/hooks/files/pos...
kevin
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@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-excludes@lists.fedoraproj...
Its a hook, defined in our ansible repo:
https://pagure.io/fedora-infra/ansible/blob/main/f/roles/git/hooks/files/pos...
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_s... [2] https://pagure.io/fedora-infra/ansible/blob/main/f/roles/git/make_checkout_s...
-- Sandro
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_s... [2] https://pagure.io/fedora-infra/ansible/pull-request/1780
-- Sandro
infrastructure@lists.fedoraproject.org