mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireSync.git
synced 2026-05-30 23:44:03 +08:00
* feat: dead simple and dead slow svn checkout scripts for plugins/themes * feat: add scripts to check for updated plugins/themes * tweak: split slugs on commas or whitespace instead of just commas * tweak: replace --plugins and --themes options with --slugs and --slugs-from * tweak: add logging config to Caddyfile * feat: push-sync and update-sync commands * build: bump composer versions
19 lines
375 B
Bash
Executable file
19 lines
375 B
Bash
Executable file
#!/bin/bash
|
|
|
|
. $(dirname $0)/prelude.sh
|
|
|
|
checkout=./repos/themes.svn.wordpress.org
|
|
|
|
mkdir -p $checkout
|
|
cd $checkout
|
|
[[ -d .svn ]] || svn co https://themes.svn.wordpress.org --depth immediates
|
|
|
|
svn cleanup
|
|
svn update --ignore-externals --depth immediates
|
|
|
|
for theme in *
|
|
do
|
|
echo "==== THEME: $theme"
|
|
svn update --ignore-externals --set-depth infinity $theme || true
|
|
done
|
|
|