From 7ef5a2d1ffd73fbc68eed26fac9363633376cf08 Mon Sep 17 00:00:00 2001 From: tobitege <10787084+tobitege@users.noreply.github.com> Date: Tue, 20 Aug 2024 18:45:26 +0200 Subject: [PATCH] (fix) Rename last opendevin occurences (#3490) * renaming more opendevin occurences * remove DOCKER_IMAGE variable from Makefile * Revert rename in evaluation/swe_bench/run_infer.py Co-authored-by: Xingyao Wang --------- Co-authored-by: Xingyao Wang --- Makefile | 1 - README.md | 6 +++--- .../current/usage/intro.mdx | 4 ++-- .../current/usage/llms/localLLMs.md | 2 +- .../current/usage/intro.mdx | 4 ++-- .../current/usage/llms/localLLMs.md | 2 +- docs/modules/usage/how-to/openshift-example.md | 10 +++++----- docs/modules/usage/llms/azure-llms.md | 2 +- docs/modules/usage/llms/local-llms.md | 4 ++-- evaluation/swe_bench/run_infer.py | 2 +- .../swe_bench/scripts/setup/prepare_swe_utils.sh | 2 +- openhands/runtime/utils/runtime_build.py | 2 +- 12 files changed, 20 insertions(+), 21 deletions(-) diff --git a/Makefile b/Makefile index 4641b66587..ee1eb83dc2 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,6 @@ SHELL=/bin/bash # Makefile for OpenHands project # Variables -DOCKER_IMAGE = ghcr.io/openhands/sandbox:main BACKEND_PORT = 3000 BACKEND_HOST = "127.0.0.1:$(BACKEND_PORT)" FRONTEND_PORT = 3001 diff --git a/README.md b/README.md index 579a8cf4d5..a92f910523 100644 --- a/README.md +++ b/README.md @@ -67,13 +67,13 @@ docker run -it \ -p 3000:3000 \ --add-host host.docker.internal:host-gateway \ --name openhands-app-$(date +%Y%m%d%H%M%S) \ - ghcr.io/opendevin/opendevin:0.8 + ghcr.io/all-hands-ai/openhands:0.8 ``` > [!NOTE] > By default, this command pulls the `latest` tag, which represents the most recent release of OpenHands. You have other options as well: -> - For a specific release version, use `ghcr.io/opendevin/opendevin:` (replace with the desired version number). -> - For the most up-to-date development version, use `ghcr.io/opendevin/opendevin:main`. This version may be **(unstable!)** and is recommended for testing or development purposes only. +> - For a specific release version, use `ghcr.io/all-hands-ai/openhands:` (replace with the desired version number). +> - For the most up-to-date development version, use `ghcr.io/all-hands-ai/openhands:main`. This version may be **(unstable!)** and is recommended for testing or development purposes only. > > Choose the tag that best suits your needs based on stability requirements and desired features. diff --git a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/intro.mdx b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/intro.mdx index 55aeeaea54..31ac419a1f 100644 --- a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/intro.mdx +++ b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/intro.mdx @@ -78,7 +78,7 @@ docker run -it \ -p 3000:3000 \ --add-host host.docker.internal:host-gateway \ --name openhands-app-$(date +%Y%m%d%H%M%S) \ - ghcr.io/opendevin/opendevin:0.6 + ghcr.io/all-hands-ai/openhands:main ``` Vous trouverez OpenHands fonctionnant à l'adresse [http://localhost:3000](http://localhost:3000) avec accès à `./workspace`. Pour qu'OpenHands fonctionne sur votre code, placez-le dans `./workspace`. @@ -86,7 +86,7 @@ Vous trouverez OpenHands fonctionnant à l'adresse [http://localhost:3000](http: OpenHands n'aura accès qu'à ce dossier de workspace. Le reste de votre système ne sera pas affecté car il s'exécute dans un bac à sable sécurisé de docker. :::tip -Si vous souhaitez utiliser la version **(instable !)** la plus récente, vous pouvez utiliser `ghcr.io/opendevin/opendevin:main` comme image (dernière ligne). +Si vous souhaitez utiliser la version **(instable !)** la plus récente, vous pouvez utiliser `ghcr.io/all-hands-ai/openhands:main` comme image (dernière ligne). ::: Pour le workflow de développement, consultez [Development.md](https://github.com/All-Hands-AI/OpenHands/blob/main/Development.md). diff --git a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/llms/localLLMs.md b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/llms/localLLMs.md index 9688dadfa1..738ea7298a 100644 --- a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/llms/localLLMs.md +++ b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/llms/localLLMs.md @@ -54,7 +54,7 @@ docker run \ -v $WORKSPACE_BASE:/opt/workspace_base \ -v /var/run/docker.sock:/var/run/docker.sock \ -p 3000:3000 \ - ghcr.io/opendevin/opendevin:main + ghcr.io/all-hands-ai/openhands:main ``` Vous devriez maintenant pouvoir vous connecter à `http://localhost:3000/` diff --git a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/intro.mdx b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/intro.mdx index 06054481fa..c7c58d723c 100644 --- a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/intro.mdx +++ b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/intro.mdx @@ -78,7 +78,7 @@ docker run -it \ -p 3000:3000 \ --add-host host.docker.internal:host-gateway \ --name openhands-app-$(date +%Y%m%d%H%M%S) \ - ghcr.io/opendevin/opendevin:0.6 + ghcr.io/all-hands-ai/openhands:main ``` 你会发现 OpenHands 在 [http://localhost:3000](http://localhost:3000) 运行,并可以访问 `./workspace`。要让 OpenHands 操作你的代码,请将代码放在 `./workspace` 中。 @@ -86,7 +86,7 @@ docker run -it \ OpenHands 只会访问这个工作区文件夹。它在一个安全的 docker 沙盒中运行,不会影响你系统的其他部分。 :::tip -如果你想使用**(不稳定!)**最新版本,可以使用 `ghcr.io/opendevin/opendevin:main` 作为镜像(最后一行)。 +如果你想使用**(不稳定!)**最新版本,可以使用 `ghcr.io/all-hands-ai/openhands:main` 作为镜像(最后一行)。 ::: 有关开发工作流程,请参阅 [Development.md](https://github.com/All-Hands-AI/OpenHands/blob/main/Development.md)。 diff --git a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/llms/localLLMs.md b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/llms/localLLMs.md index 85ce3b8a95..e8128c934d 100644 --- a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/llms/localLLMs.md +++ b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/llms/localLLMs.md @@ -53,7 +53,7 @@ docker run \ -v $WORKSPACE_BASE:/opt/workspace_base \ -v /var/run/docker.sock:/var/run/docker.sock \ -p 3000:3000 \ - ghcr.io/opendevin/opendevin:main + ghcr.io/all-hands-ai/openhands:main ``` 现在您应该可以连接到 `http://localhost:3000/` diff --git a/docs/modules/usage/how-to/openshift-example.md b/docs/modules/usage/how-to/openshift-example.md index 3ab3abd24e..a60a429fd3 100644 --- a/docs/modules/usage/how-to/openshift-example.md +++ b/docs/modules/usage/how-to/openshift-example.md @@ -150,7 +150,7 @@ metadata: spec: containers: - name: openhands-app-2024 - image: ghcr.io/opendevin/opendevin:0.7.1 + image: ghcr.io/all-hands-ai/openhands:main env: - name: SANDBOX_USER_ID value: "1000" @@ -164,7 +164,7 @@ spec: ports: - containerPort: 3000 - name: openhands-sandbox-2024 - image: ghcr.io/openhands/sandbox:main + image: ghcr.io/all-hands-ai/sandbox:main ports: - containerPort: 51963 command: ["/usr/sbin/sshd", "-D", "-p 51963", "-o", "PermitRootLogin=yes"] @@ -204,10 +204,10 @@ LAST SEEN TYPE REASON OBJECT 9s Normal SuccessfulAttachVolume pod/openhands-app-2024 AttachVolume.Attach succeeded for volume "pvc-2b1d223a-1c8f-4990-8e3d-68061a9ae252" 9s Normal SuccessfulAttachVolume pod/openhands-app-2024 AttachVolume.Attach succeeded for volume "pvc-31f15b25-faad-4665-a25f-201a530379af" 6s Normal AddedInterface pod/openhands-app-2024 Add eth0 [10.128.2.48/23] from openshift-sdn -6s Normal Pulled pod/openhands-app-2024 Container image "ghcr.io/opendevin/opendevin:0.7.1" already present on machine +6s Normal Pulled pod/openhands-app-2024 Container image "ghcr.io/all-hands-ai/openhands:main" already present on machine 6s Normal Created pod/openhands-app-2024 Created container openhands-app-2024 6s Normal Started pod/openhands-app-2024 Started container openhands-app-2024 -6s Normal Pulled pod/openhands-app-2024 Container image "ghcr.io/openhands/sandbox:main" already present on machine +6s Normal Pulled pod/openhands-app-2024 Container image "ghcr.io/all-hands-ai/sandbox:main" already present on machine 5s Normal Created pod/openhands-app-2024 Created container openhands-sandbox-2024 5s Normal Started pod/openhands-app-2024 Started container openhands-sandbox-2024 83s Normal WaitForFirstConsumer persistentvolumeclaim/workspace-pvc waiting for first consumer to be created before binding @@ -273,7 +273,7 @@ Some of the challenages that would be needed to improve: Example below: "to be tested!" ```dockerfile -FROM ghcr.io/opendevin/opendevin:0.7.1 +FROM ghcr.io/all-hands-ai/openhands:main # Install Git RUN apt-get update && apt-get install -y git diff --git a/docs/modules/usage/llms/azure-llms.md b/docs/modules/usage/llms/azure-llms.md index ee9595029a..3dcc03f456 100644 --- a/docs/modules/usage/llms/azure-llms.md +++ b/docs/modules/usage/llms/azure-llms.md @@ -28,7 +28,7 @@ docker run -it \ -p 3000:3000 \ --add-host host.docker.internal:host-gateway \ --name openhands-app-$(date +%Y%m%d%H%M%S) \ -ghcr.io/opendevin/opendevin +ghcr.io/all-hands-ai/openhands:main ``` You can set the LLM_MODEL and LLM_API_KEY in the OpenHands UI itself. diff --git a/docs/modules/usage/llms/local-llms.md b/docs/modules/usage/llms/local-llms.md index ab2d571b5e..e2ddebf9fe 100644 --- a/docs/modules/usage/llms/local-llms.md +++ b/docs/modules/usage/llms/local-llms.md @@ -58,7 +58,7 @@ docker run \ -v $WORKSPACE_BASE:/opt/workspace_base \ -v /var/run/docker.sock:/var/run/docker.sock \ -p 3000:3000 \ - ghcr.io/opendevin/opendevin:main + ghcr.io/all-hands-ai/openhands:main ``` You should now be able to connect to `http://localhost:3000/` @@ -179,7 +179,7 @@ docker run \ -v $WORKSPACE_BASE:/opt/workspace_base \ -v /var/run/docker.sock:/var/run/docker.sock \ -p 3000:3000 \ - ghcr.io/opendevin/opendevin:main + ghcr.io/all-hands-ai/openhands:main ``` You should now be able to connect to `http://localhost:3000/` diff --git a/evaluation/swe_bench/run_infer.py b/evaluation/swe_bench/run_infer.py index d350783612..e0b4d97a48 100644 --- a/evaluation/swe_bench/run_infer.py +++ b/evaluation/swe_bench/run_infer.py @@ -90,7 +90,7 @@ def get_config( instance: pd.Series, metadata: EvalMetadata, ) -> AppConfig: - SWE_BENCH_CONTAINER_IMAGE = 'ghcr.io/openhands/eval-swe-bench:full-v1.2.1' + SWE_BENCH_CONTAINER_IMAGE = 'ghcr.io/opendevin/eval-swe-bench:full-v1.2.1' if USE_INSTANCE_IMAGE: # We use a different instance image for the each instance of swe-bench eval container_image = 'sweb.eval.x86_64.' + instance['instance_id'] diff --git a/evaluation/swe_bench/scripts/setup/prepare_swe_utils.sh b/evaluation/swe_bench/scripts/setup/prepare_swe_utils.sh index a70e07eda7..61219ef244 100755 --- a/evaluation/swe_bench/scripts/setup/prepare_swe_utils.sh +++ b/evaluation/swe_bench/scripts/setup/prepare_swe_utils.sh @@ -12,7 +12,7 @@ git clone -b $OD_SWE_BENCH_REPO_BRANCH $OD_SWE_BENCH_REPO_PATH $EVAL_WORKSPACE/O # 2. Prepare DATA echo "==== Prepare SWE-bench data ====" -EVAL_IMAGE=ghcr.io/openhands/eval-swe-bench:builder_with_conda +EVAL_IMAGE=ghcr.io/all-hands-ai/eval-swe-bench:builder_with_conda EVAL_WORKSPACE=$(realpath $EVAL_WORKSPACE) chmod +x $EVAL_WORKSPACE/OD-SWE-bench/swebench/harness/prepare_data.sh if [ -d $EVAL_WORKSPACE/eval_data ]; then diff --git a/openhands/runtime/utils/runtime_build.py b/openhands/runtime/utils/runtime_build.py index 75013615f6..356117e31b 100644 --- a/openhands/runtime/utils/runtime_build.py +++ b/openhands/runtime/utils/runtime_build.py @@ -14,7 +14,7 @@ from openhands.core.logger import openhands_logger as logger from openhands.runtime.builder import DockerRuntimeBuilder, RuntimeBuilder RUNTIME_IMAGE_REPO = os.getenv( - 'OD_RUNTIME_RUNTIME_IMAGE_REPO', 'ghcr.io/openhands/runtime' + 'OD_RUNTIME_RUNTIME_IMAGE_REPO', 'ghcr.io/all-hands-ai/runtime' )