Commit graph

24 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
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
62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
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
Jiri Podivin
69309d5531 Removing duplicated import
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Patrick Creech
fe5216bb1f If description doesn't exist, use title instead 2024-07-15 18:16:00 -04:00
Patrick Creech
e6ef09084e Update developer sync to work with feedparser 6
feedparser 6 went through some refactorings, this updates rss.py to use
the new location of _HTMLSanitizer
2024-07-11 23:42:54 +00:00
0ece2dfe06
use fedoraproject favicon everywhere it's needed 2023-04-03 13:35:55 +02:00
Kevin Fenzi
51c015596f proxies: do not serve out .git dirs anywhere, no need
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-11 16:32:30 -07:00
46d4f10433 Fix handling of title-less Planet posts
Some platforms can give us a post without a title. When that happens,
Planet's RSS feed title is "$author" instead of "$author.title", which
causes our split to blow up. Instead, we check to see if there is a ':',
and if so split like normal. If not, explicitly set the title to
"(untitled post)" in order for it to still render.

While I'm at it, update a comment so that it reflects what the code is
actually doing.

Fixes #9251

Signed-off-by: Ben Cotton <bcotton@fedoraproject.org>
2020-08-20 13:24:43 +00:00
82417064e4 Change static content caching from 5 days to 30 minutes
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-06-09 06:30:47 +00:00
Kevin Fenzi
d4ddecbc62 ok, more proxy roles that restart httpd 2016-12-01 22:00:23 +00:00
Kevin Fenzi
5ea849a5bd Add fixes to developer rss.py from ticket 4978 2015-11-23 16:38:46 +00:00
Kevin Fenzi
2215586ac1 Adjust developer release branch. Ticket 4984 2015-11-23 16:32:48 +00:00
Kevin Fenzi
daee0aa950 Move this cron job to 30 after 2015-11-02 16:37:01 +00:00
Kevin Fenzi
5c16effdf8 Fix up developer rss feed sync issues. 2015-11-02 15:59:48 +00:00
Kevin Fenzi
940cdcc18f Additional changes for developer needed. 2015-10-30 18:29:09 +00:00
Kevin Fenzi
adbd3e4d6d Fix typo 2015-10-29 18:57:37 +00:00
Kevin Fenzi
7487aa54ee Pull rss.py script into ansible for developer.fedoraproject.org. 2015-10-29 18:53:17 +00:00
Kevin Fenzi
74c4b48b1e Tweak developer rss cron job. 2015-10-28 02:56:43 +00:00
Kevin Fenzi
935da755a9 More adjustments to bring developer.stg alive. 2015-10-27 17:26:36 +00:00
Kevin Fenzi
b291804963 Name cron file correctly. 2015-10-27 17:11:53 +00:00
Kevin Fenzi
81a155e0ef Initial version of developer.stg.fedoraproject.org 2015-10-27 17:09:24 +00:00