From 931ff64aee6740ecb9e6076fe5eb2802b48ba067 Mon Sep 17 00:00:00 2001 From: Mathieu Tarral Date: Tue, 8 Sep 2026 01:46:36 +0200 Subject: [PATCH] chore: remove RESTRICTED_BRANCH_NAME The API dropped its blob branch-restriction feature (OSWatcher/graphql-api#70), so this variable no longer does anything. Remove it from the api service environment and the CLAUDE.md notes. Verified: `docker compose config --quiet` passes for the prod and dev overlays. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_014WnrRvhmHcMPj6iwJ2NnzK --- CLAUDE.md | 4 ---- compose.yml | 1 - 2 files changed, 5 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index ec4ccb0..4dc8a1b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -97,7 +97,6 @@ Key environment variables: - `DOMAIN` - Base domain for production Traefik routing (`api.`, `storage.`) - `NEO4J_AUTH` - Set to `none` in dev/test, use credentials in prod - `MINIO_ROOT_USER/PASSWORD` - MinIO admin credentials (local defaults are committed; change for a server) -- `RESTRICTED_BRANCH_NAME` - Branch restriction in API (e.g., "windows", "master") - `NEO4J_GRAPHQL_DEBUG_LVL` - GraphQL debug level (dev only) ## Architecture @@ -167,9 +166,6 @@ Key environment variables: - Set appropriate bucket policies (`private`, `public`, `download`, `upload`) - The `mc` client is available inside the MinIO container for administration -### Other -- `RESTRICTED_BRANCH_NAME` environment variable controls branch restrictions in the API - ## Related Repositories - `../graphql-api` - GraphQL API service (GitHub: `OSWatcher/graphql-api`) diff --git a/compose.yml b/compose.yml index 1ed6828..6f006d3 100644 --- a/compose.yml +++ b/compose.yml @@ -80,7 +80,6 @@ services: NEO4J_PASSWORD: ${NEO4J_PASSWORD} NEO4J_URI: "bolt://neo4j:7687" OBJECT_STORAGE_URI: "http://minio:9000" - RESTRICTED_BRANCH_NAME: ${RESTRICTED_BRANCH_NAME:-} MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY:?MINIO_ACCESS_KEY must be set} MINIO_SECRET_KEY: ${MINIO_SECRET_KEY:?MINIO_SECRET_KEY must be set} labels: