diff --git a/FeedToRocket.py b/FeedToRocket.py index a5f7ab4..bc94e74 100644 --- a/FeedToRocket.py +++ b/FeedToRocket.py @@ -41,8 +41,8 @@ FEED_CONFIG = { "type": "bugzilla", "domain": "bugs.koozali.org", "feed_path": "/buglist.cgi?chfield=%5BBug%20creation%5D&chfieldfrom=7d&ctype=atom&title=Bugs%20reported%20in%20the%20last%207%20days", - "chat_url": os.getenv("TEST_CHAT_URL"), - #chat_url": os.getenv("BUGZILLA_CHAT_URL"), + #"chat_url": os.getenv("TEST_CHAT_URL"), + chat_url": os.getenv("BUGZILLA_CHAT_URL"), "filter_field": "status", "filter_value": "open", "bypass_filter": True, @@ -52,16 +52,16 @@ FEED_CONFIG = { "type": "koji", "domain": "koji.koozali.org", "feed_path": "/koji/recentbuilds?feed=rss", - #"chat_url": os.getenv("KOJI_CHAT_URL") - "chat_url": os.getenv("TEST_CHAT_URL") + "chat_url": os.getenv("KOJI_CHAT_URL") + #"chat_url": os.getenv("TEST_CHAT_URL") }, "wiki": { "enabled": True, "type": "wiki", "domain": "wiki.koozali.org", "feed_path": "/api.php?hidebots=1&urlversion=2&days=7&limit=50&action=feedrecentchanges&feedformat=rss", - "chat_url": os.getenv("TEST_CHAT_URL") - #"chat_url": os.getenv("WIKI_CHAT_URL") + #"chat_url": os.getenv("TEST_CHAT_URL") + "chat_url": os.getenv("WIKI_CHAT_URL") } } @@ -72,8 +72,8 @@ for org in GITEA_ORGS: "type": "gitea", "feed_url": f"https://src.koozali.org/{org}.atom", "org": org, # ✅ this line ensures process_gitea knows the org name - "chat_url": os.getenv("TEST_CHAT_URL"), - # "chat_url": os.getenv("GITEA_CHAT_URL") + #"chat_url": os.getenv("TEST_CHAT_URL"), + "chat_url": os.getenv("GITEA_CHAT_URL") } # ---------------------------