From 9281e283cd46598e3ffee853a343f8623c12d5e4 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 16 Jan 2022 11:24:24 +0100 Subject: init --- rss_to_gitea/main.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 rss_to_gitea/main.py (limited to 'rss_to_gitea/main.py') diff --git a/rss_to_gitea/main.py b/rss_to_gitea/main.py new file mode 100644 index 0000000..93c16de --- /dev/null +++ b/rss_to_gitea/main.py @@ -0,0 +1,8 @@ +import xml +import sys +from .gitea import GiteaAPI + +def main(): + token = sys.argv[1] + api = GiteaAPI("https://gitea.my.cum.re", token) + api.searchIssue('infra', 'ansible', '', 'update') -- cgit v1.2.3