This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/attic.git
The following commit(s) were added to refs/heads/main by this push: new 3f6f28b ATTIC-240 add script to push content to legacy svn 3f6f28b is described below commit 3f6f28b376a2d610d5229753c8b0cfecf1691cf9 Author: Hervé Boutemy <hbout...@apache.org> AuthorDate: Sun Apr 13 21:15:19 2025 +0200 ATTIC-240 add script to push content to legacy svn --- .gitignore | 3 ++- sync-to-legacy-svn.sh | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 96c0ecc..7180b59 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -docs/ \ No newline at end of file +docs/ +.svn-legacy/ diff --git a/sync-to-legacy-svn.sh b/sync-to-legacy-svn.sh new file mode 100755 index 0000000..9409ffa --- /dev/null +++ b/sync-to-legacy-svn.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +# Script to sync Git content to legacy svn https://svn.apache.org/repos/asf/attic/site/ + +[ -d .svn ] || svn co https://svn.apache.org/repos/asf/attic/site/ .svn-legacy + +svn up .svn-legacy + +cp -r cwiki_retired xdocs .svn-legacy +cp -r xdocs/flagged .svn-legacy/docs + +cd .svn-legacy +svn add * +svn ci -m "sync from Git commit $(git log -1 --pretty="%H")" .svn-legacy