Compare commits
No commits in common. "7c5e429ae0b240b47376061eed933a709c7cd665" and "949c0b9c9b9925b2527ba81b665c2824666b53f6" have entirely different histories.
7c5e429ae0
...
949c0b9c9b
2 changed files with 1 additions and 10 deletions
|
@ -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
|
||||
|
|
4
issue_generator.py
Normal file → Executable file
4
issue_generator.py
Normal file → Executable file
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue