From 463e45a8d594728da6151828feaade518e876a6c Mon Sep 17 00:00:00 2001 From: AIOSAI Date: Fri, 6 Mar 2026 01:59:53 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(workspace):=20remove=20set?= =?UTF-8?q?up-workspace.sh=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - delete deprecated workspace setup script to simplify project maintenance - remove redundant cloning and installation steps handled elsewhere --- setup-workspace.sh | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 setup-workspace.sh diff --git a/setup-workspace.sh b/setup-workspace.sh deleted file mode 100644 index c6f01a0a..00000000 --- a/setup-workspace.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -set -e - -WORKSPACE="/home/coder/workspace" -REPO="git@github.com:AIOSAI/AIPass.git" - -export PATH="/opt/venv/bin:$PATH" - -# Ensure workspace directory is writable by coder -if [ -d "$WORKSPACE" ] && [ ! -w "$WORKSPACE" ]; then - echo "==> Fixing workspace permissions..." - sudo chown -R coder:coder "$WORKSPACE" -fi - -# Clone repo if not already present -if [ ! -d "$WORKSPACE/.git" ]; then - echo "==> First boot: cloning AIPass from GitHub..." - git clone "$REPO" "$WORKSPACE" - echo "==> Installing AIPass in editable mode..." - cd "$WORKSPACE" - pip install -e . - echo "==> Workspace ready!" -else - echo "==> Workspace exists, ensuring deps are installed..." - cd "$WORKSPACE" - pip install -e . 2>/dev/null || true -fi