mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireSync.git
synced 2026-05-30 23:44:03 +08:00
* zap: rm download commands and related services * zap: rm list state tracking services except SubversionService (but currently unused) * zap: rm unused db tables and related resources * refactor: reorganize CLI commands and options hopefully for the last time * tweak: rm port mappings from docker-compose.yml. use docker-compose.override.yml if you need that. * feat: archival-related svn scripts * doc: update README with some roadmappy verbiage
14 lines
316 B
Bash
Executable file
14 lines
316 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# export TRACE=1
|
|
|
|
. $(dirname $0)/prelude.bash
|
|
|
|
LOOKBACK_INTERVAL=${LOOKBACK_INTERVAL:--2 hours}
|
|
|
|
function main () {
|
|
bin/console sync:dump:plugins --after="$LOOKBACK_INTERVAL" | bin/push-to-aspirecloud
|
|
bin/console sync:dump:themes --after="$LOOKBACK_INTERVAL" | bin/push-to-aspirecloud
|
|
}
|
|
|
|
main "$@"
|