From c47413bbb1f9c092796479865d16ab779355c6bb Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Apr 2026 22:14:18 +0000 Subject: [PATCH] sync setup_monorepo.sh with upstream monorepo version The monorepo setup hard-links bin/setup.sh into each member repo, so this reflects the simplified sync_workspace() from upstream. https://claude.ai/code/session_01VWAaDgYuHTEC95Z71bjyV2 --- bin/setup_monorepo.sh | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/bin/setup_monorepo.sh b/bin/setup_monorepo.sh index 7f50735..c70a434 100755 --- a/bin/setup_monorepo.sh +++ b/bin/setup_monorepo.sh @@ -68,34 +68,12 @@ ensure_ldap_build_deps() { } sync_workspace() { - local -a uv_sync_all=( - env - -u UV_NO_SOURCES - -u UV_NO_SOURCES_PACKAGE - uv - sync - --all-packages - --all-extras - --no-cache - --active - ) - local -a uv_sync_basic=( - env - -u UV_NO_SOURCES - -u UV_NO_SOURCES_PACKAGE - uv - sync - --all-packages - --no-cache - --active - ) - - if "${uv_sync_all[@]}"; then + if uv sync --all-packages --all-extras --no-cache --active; then return fi warn "'uv sync --all-packages --all-extras --no-cache --active' failed; retrying without --all-extras" - "${uv_sync_basic[@]}" + uv sync --all-packages --no-cache --active } ensure_setup_link() {