You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ar...@apache.org on 2026/05/20 09:43:30 UTC

(tooling-trusted-releases) branch arm updated: Add Makefile entry to build local SVN repo for testing

This is an automated email from the ASF dual-hosted git repository.

alitheg pushed a commit to branch arm
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/arm by this push:
     new b20523a1 Add Makefile entry to build local SVN repo for testing
b20523a1 is described below

commit b20523a1a73d430a13dd6da38701fde81ea3c768
Author: Alastair McFarlane <ar...@apache.org>
AuthorDate: Wed May 20 10:42:54 2026 +0100

    Add Makefile entry to build local SVN repo for testing
---
 Makefile | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 29c1e022..6adc3061 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 .PHONY: build build-alpine build-bootstrap build-docs build-playwright \
   build-ts bump-bootstrap certs check check-clean check-extra check-heavy \
   check-light commit docs e2e e2e-clean generate-version ipython manual \
-  run-alpine run-playwright run-playwright-slow serve serve-local sync \
-  sync-all unit update-deps
+  run-alpine run-playwright run-playwright-slow serve serve-local \
+  svn-dev-repo sync sync-all unit update-deps
 
 BIND ?= 127.0.0.1:8080
 IMAGE ?= tooling-trusted-release
@@ -127,6 +127,16 @@ serve-local:
 	  --certfile hypercorn/secrets/localhost.apache.org+2.pem \
 	  atr.server:app --debug --reload --worker-class uvloop
 
+svn-dev-repo:
+	@if test ! -d $(STATE_DIR)/dev-svn-repo/db; \
+	then svnadmin create $(STATE_DIR)/dev-svn-repo && echo "Created local SVN repo at $(STATE_DIR)/dev-svn-repo"; \
+	else echo "Local SVN repo already exists at $(STATE_DIR)/dev-svn-repo"; \
+	fi
+	@echo
+	@echo "Export these before running make serve-local to publish into it:"
+	@echo "  export SVN_PUBLISH_URL=\"file://$(abspath $(STATE_DIR)/dev-svn-repo)\""
+	@echo "  export SVN_TOKEN=\"dummy\""
+
 sync:
 	uv sync --frozen --no-dev
 	python3 -S scripts/check_pth_files.py


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org