From 2df980aa7a78a69674f191878ab316c522d9728c Mon Sep 17 00:00:00 2001 From: Dom Whewell Date: Wed, 14 Aug 2024 12:30:06 +0100 Subject: [PATCH 1/3] Tagged modules with `code-enum` --- bbot/modules/docker_pull.py | 2 +- bbot/modules/git_clone.py | 2 +- bbot/modules/github_workflows.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bbot/modules/docker_pull.py b/bbot/modules/docker_pull.py index 987651fcd..0d1f63c29 100644 --- a/bbot/modules/docker_pull.py +++ b/bbot/modules/docker_pull.py @@ -8,7 +8,7 @@ class docker_pull(BaseModule): watched_events = ["CODE_REPOSITORY"] produced_events = ["FILESYSTEM"] - flags = ["passive", "safe", "slow"] + flags = ["passive", "safe", "slow", "code-enum"] meta = { "description": "Download images from a docker repository", "created_date": "2024-03-24", diff --git a/bbot/modules/git_clone.py b/bbot/modules/git_clone.py index 6cda79f9d..dbf24e91e 100644 --- a/bbot/modules/git_clone.py +++ b/bbot/modules/git_clone.py @@ -6,7 +6,7 @@ class git_clone(github): watched_events = ["CODE_REPOSITORY"] produced_events = ["FILESYSTEM"] - flags = ["passive", "safe", "slow"] + flags = ["passive", "safe", "slow", "code-enum"] meta = { "description": "Clone code github repositories", "created_date": "2024-03-08", diff --git a/bbot/modules/github_workflows.py b/bbot/modules/github_workflows.py index 15767ca63..d51da905e 100644 --- a/bbot/modules/github_workflows.py +++ b/bbot/modules/github_workflows.py @@ -7,7 +7,7 @@ class github_workflows(github): watched_events = ["CODE_REPOSITORY"] produced_events = ["FILESYSTEM"] - flags = ["passive", "safe"] + flags = ["passive", "safe", "code-enum"] meta = { "description": "Download a github repositories workflow logs", "created_date": "2024-04-29", From fbf1a0f44659f4e54f0adc91450e8f8c2b166833 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 15 Aug 2024 01:23:50 -0400 Subject: [PATCH 2/3] pin unstructured version --- bbot/modules/unstructured.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbot/modules/unstructured.py b/bbot/modules/unstructured.py index 4143ea2fd..25ae307bf 100644 --- a/bbot/modules/unstructured.py +++ b/bbot/modules/unstructured.py @@ -67,7 +67,7 @@ class unstructured(BaseModule): } deps_apt = ["libmagic-dev", "poppler-utils", "tesseract-ocr", "libreoffice", "pandoc"] - deps_pip = ["unstructured[all-docs]"] + deps_pip = ["git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]"] async def setup(self): self.extensions = list(set([e.lower().strip(".") for e in self.config.get("extensions", [])])) From 5ce846fd6777e9ba492c87f7e713fa43f11c02ae Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 15 Aug 2024 01:37:29 -0400 Subject: [PATCH 3/3] blacked --- bbot/modules/unstructured.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bbot/modules/unstructured.py b/bbot/modules/unstructured.py index 25ae307bf..7277f40d1 100644 --- a/bbot/modules/unstructured.py +++ b/bbot/modules/unstructured.py @@ -67,7 +67,9 @@ class unstructured(BaseModule): } deps_apt = ["libmagic-dev", "poppler-utils", "tesseract-ocr", "libreoffice", "pandoc"] - deps_pip = ["git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]"] + deps_pip = [ + "git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]" + ] async def setup(self): self.extensions = list(set([e.lower().strip(".") for e in self.config.get("extensions", [])]))