diff --git a/config.py b/config.py index b02de05..3f402e9 100644 --- a/config.py +++ b/config.py @@ -72,9 +72,6 @@ FEED_READERS = [ # LanguageTool GHTags languagetool-org/languagetool 36 (sysadmin/boira) GithubTagReader(name = "LanguageTool", project = "languagetool-org/languagetool", target = GITLAB_BOIRA_CARGAJI), -# meshcentral GHReleases Ylianst/MeshCentral 36 (sysadmin/boira) - GithubReader(name = "meshcentral", project = "Ylianst/MeshCentral", - target = GITLAB_BOIRA_CARGAJI), # python3-snakes PIPY snakes 37 (packages/python3-snakes) PIPYReader(name = "python3-snakes", package = "snakes", target = GITLAB_SNAKES_CARGAJI), @@ -86,10 +83,6 @@ FEED_READERS = [ target = CGJForgejoPoster("archpkgs/meshcentral")), # nc-cospend GHReleases eneiluj/cospend-nc archpkgs/nextcloud-app-cospend NCAppReader(app = "nextcloud-app-cospend", project = "eneiluj/cospend-nc"), -# nc-f_autotagging GHReleases - NCAppReader(app = "nextcloud-app-files_automatedtagging", project = "nextcloud/files_automatedtagging"), -# nc-f_retention GHReleases - NCAppReader(app = "nextcloud-app-files_retention", project = "nextcloud/files_retention"), # nc-forms GHReleases nextcloud/forms archpkgs/nextcloud-app-forms NCAppReader(app = "nextcloud-app-forms", project = "nextcloud/forms"), # nc-maps GHReleases nextcloud/maps archpkgs/nextcloud-app-maps diff --git a/issue_generator.py b/issue_generator.py old mode 100644 new mode 100755 index 0a82720..d2201cc --- a/issue_generator.py +++ b/issue_generator.py @@ -164,7 +164,7 @@ class FeedReader: self.target = target self.version_file = CONFIG_DIR + self.name self.etag_file = CONFIG_DIR + self.name + ".etag" - self.beta_strings = [ "nightly", "beta", "alpha", "rc", "pr" ] + self.beta_strings = [ "nightly", "beta", "alpha", "rc" ] def first_item(self) -> dict[str, Any] | None | int: '''Get the first item of the feed (newest)''' @@ -174,8 +174,6 @@ class FeedReader: else: etag = None feed = feedparser.parse(self.url, etag=etag) if feed.etag and feed.etag != etag: - if not os.path.isdir(CONFIG_DIR): - os.mkdir(CONFIG_DIR) with open(self.etag_file, mode='w', encoding="UTF-8") as file: file.write(feed.etag) if feed.status == 304: