From a6f597bae59b3bf8a3eae11de9fbf5f77be8ba81 Mon Sep 17 00:00:00 2001 From: sam57719 Date: Thu, 13 Jun 2024 19:50:38 +0100 Subject: [PATCH] Update version number and correct GitHub repository URLs Updated the version number in the SMIB HID library and docker-compose files from "1.1.0" to "1.1.1". Also, adjusted GitHub repository URLs that were pointing to "S.M.I.B." to correctly point to "smib". Besides, a new "docker-compose-pi.yml" file has been introduced, supporting configuration for Raspberry Pi. --- docker-compose-develop.yml | 4 ++-- docker-compose-master.yml | 4 ++-- pyproject.toml | 2 +- smib/slack/plugins/space/openclose/app_home.py | 6 +++--- smib/slack/plugins/space/openclose/templates/app_home.json | 6 +++--- smibhid/lib/hid.py | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docker-compose-develop.yml b/docker-compose-develop.yml index e9d14dc..e570e27 100644 --- a/docker-compose-develop.yml +++ b/docker-compose-develop.yml @@ -2,7 +2,7 @@ services: smib-slack: container_name: smib-slack build: - context: https://github.com/somakeit/S.M.I.B..git#develop + context: https://github.com/somakeit/smib.git#develop dockerfile: smib-fast.Dockerfile ports: - "4123:4123" @@ -21,7 +21,7 @@ services: smib-webserver: container_name: smib-webserver build: - context: https://github.com/somakeit/S.M.I.B..git#develop + context: https://github.com/somakeit/smib.git#develop dockerfile: smib-fast.Dockerfile ports: - "80:80" diff --git a/docker-compose-master.yml b/docker-compose-master.yml index 1786f8a..70f2f9c 100644 --- a/docker-compose-master.yml +++ b/docker-compose-master.yml @@ -2,7 +2,7 @@ services: smib-slack: container_name: smib-slack build: - context: https://github.com/somakeit/S.M.I.B..git#master + context: https://github.com/somakeit/smib.git#master dockerfile: smib-fast.Dockerfile ports: - "4123:4123" @@ -21,7 +21,7 @@ services: smib-webserver: container_name: smib-webserver build: - context: https://github.com/somakeit/S.M.I.B..git#master + context: https://github.com/somakeit/smib.git#master dockerfile: smib-fast.Dockerfile ports: - "80:80" diff --git a/pyproject.toml b/pyproject.toml index 787d938..58ab42a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "smib" -version = "1.1.0" +version = "1.1.1" description = "" authors = ["sam57719 "] readme = "README.md" diff --git a/smib/slack/plugins/space/openclose/app_home.py b/smib/slack/plugins/space/openclose/app_home.py index be38c68..55b6b43 100644 --- a/smib/slack/plugins/space/openclose/app_home.py +++ b/smib/slack/plugins/space/openclose/app_home.py @@ -76,7 +76,7 @@ def _get_info_blocks() -> list[Block]: text="For more information see the GitHub repository", accessory=ButtonElement( text="GitHub Repo", - url="https://github.com/somakeit/S.M.I.B.", + url="https://github.com/somakeit/smib", action_id="app_home_url_github_repo" ) ) @@ -86,7 +86,7 @@ def _get_info_blocks() -> list[Block]: text="To raise a bug or enhancement idea, visit our issue tracker", accessory=ButtonElement( text="Issue Tracker", - url="https://github.com/somakeit/S.M.I.B./issues", + url="https://github.com/somakeit/smib/issues", action_id="app_home_url_issue_tracker" ) ) @@ -96,7 +96,7 @@ def _get_info_blocks() -> list[Block]: text="How to contribute patches to code or documentation?", accessory=ButtonElement( text="Contributing", - url="https://github.com/somakeit/S.M.I.B./blob/develop/CONTRIBUTING.md", + url="https://github.com/somakeit/smib/blob/develop/CONTRIBUTING.md", action_id="app_home_url_contributing" ) ) diff --git a/smib/slack/plugins/space/openclose/templates/app_home.json b/smib/slack/plugins/space/openclose/templates/app_home.json index fab8e4c..71b9d67 100644 --- a/smib/slack/plugins/space/openclose/templates/app_home.json +++ b/smib/slack/plugins/space/openclose/templates/app_home.json @@ -60,7 +60,7 @@ "text": "GitHub Repo", "emoji": true }, - "url": "https://github.com/somakeit/S.M.I.B" + "url": "https://github.com/somakeit/smib" } }, { @@ -76,7 +76,7 @@ "text": "Issue Tracker", "emoji": true }, - "url": "https://github.com/somakeit/S.M.I.B./issues" + "url": "https://github.com/somakeit/smib/issues" } }, { @@ -92,7 +92,7 @@ "text": "Contributing", "emoji": true }, - "url": "https://github.com/somakeit/S.M.I.B./blob/develop/CONTRIBUTING.md" + "url": "https://github.com/somakeit/smib/blob/develop/CONTRIBUTING.md" } } ] diff --git a/smibhid/lib/hid.py b/smibhid/lib/hid.py index 9525d27..f9a60c5 100644 --- a/smibhid/lib/hid.py +++ b/smibhid/lib/hid.py @@ -13,7 +13,7 @@ def __init__(self) -> None: Create HID instance and then run startup() to start services for button monitoring and LED output. """ self.log = uLogger("HID") - self.version = "1.1.0" + self.version = "1.1.1" self.slack_api = Wrapper() self.loop_running = False self.display = Display()