From 751e58270d228e41dfebb33bdcc5a26c88af2fe7 Mon Sep 17 00:00:00 2001 From: "Azzam S.A" Date: Tue, 30 Jul 2024 17:23:46 +0700 Subject: [PATCH] refactor(agent): use unique project name To distinguish it from other modules. --- agent/Dockerfile | 2 +- agent/pyproject.toml | 2 +- agent/src/{agent => rkagent}/__init__.py | 0 agent/src/{agent => rkagent}/knot.py | 0 agent/src/{agent => rkagent}/main.py | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename agent/src/{agent => rkagent}/__init__.py (100%) rename agent/src/{agent => rkagent}/knot.py (100%) rename agent/src/{agent => rkagent}/main.py (100%) diff --git a/agent/Dockerfile b/agent/Dockerfile index 4f8a3d58..64f8268d 100644 --- a/agent/Dockerfile +++ b/agent/Dockerfile @@ -23,4 +23,4 @@ RUN echo "$VCS_REVISION" > ./version COPY src . -CMD ["python3", "agent/main.py"] +CMD ["python3", "rkagent/main.py"] diff --git a/agent/pyproject.toml b/agent/pyproject.toml index 46919cb4..1da0e062 100644 --- a/agent/pyproject.toml +++ b/agent/pyproject.toml @@ -1,5 +1,5 @@ [project] -name = "agent" +name = "rkagent" # restknot-agent version = "0.7.12" description = "RESTKnot Agent" authors = [ diff --git a/agent/src/agent/__init__.py b/agent/src/rkagent/__init__.py similarity index 100% rename from agent/src/agent/__init__.py rename to agent/src/rkagent/__init__.py diff --git a/agent/src/agent/knot.py b/agent/src/rkagent/knot.py similarity index 100% rename from agent/src/agent/knot.py rename to agent/src/rkagent/knot.py diff --git a/agent/src/agent/main.py b/agent/src/rkagent/main.py similarity index 100% rename from agent/src/agent/main.py rename to agent/src/rkagent/main.py