Commit Graph

10 Commits

Author SHA1 Message Date
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Todd Zullinger
2b081e0ec1 bugz.fedoraproject.org: replace %20 with + to fix redirect
The backslash-escaped space in 'Fedora EPEL' was replaced with %20 in
6e982da0d4 (bugz.fedoraproject.org: urlescape redirect instead of \,
2023-03-15).  Unfortunately, mod_rewrite treats the %2 as a
backreference, resulting in the string being 'Fedora0EPEL' which yeilds
no results for EPEL bugs.

We could possibly use on of the many RewriteRule flags to adjust the
handling of backreferences, but using a `+` seems like the simpler
option and works just as well in testing.

Signed-off-by: Todd Zullinger <tmz@pobox.com>
2023-05-26 18:10:03 +00:00
Kevin Fenzi
6e982da0d4 bugz.fedoraproject.org: urlescape redirect instead of \
In a recent apache update they fixed CVE-2023-25690 which now disallowes
redirects with spaces in them. So, just urlencode the space instead of
trying to escape it and it should redirect correctly.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-15 12:29:55 -07:00
Michel Alexandre Salim
fb42ccf3e6 Make bugz.fedoraproject.org display all open bugs for a package
Currently it's configured to show NEW, ASSIGNED, and ON_QA bugs.

However:
- this misses pending Bodhi updates, which have bugs set to MODIFIED
- approved but not built package reviews are often set to POST

For simplicity, just show all open bugs with `__open__`.

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-04-03 17:50:13 +00:00
Kevin Fenzi
0dea991f21 proxies: Try and correct the bugz url to show Fedora EPEL right
Seems if you use a %20 for a space in the Redirect url it will just pass
that on and not urldecode it. So, try and just \ the space and see if
that works better.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-05 17:13:28 -07:00
Francois Andrieu
798bf46c82 bugz: include ON_QA status in redirect
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-31 14:05:18 +02:00
Kevin Fenzi
ce63d5f3ea bugz: Try and redirect this to bugzilla for now since we have no packages app. 2020-07-29 13:51:14 -07:00
Ralph Bean
927bea9201 Make a copy of the packages/ role to mess with in staging. 2015-11-17 15:47:44 +00:00