Skip to content

Commit

Permalink
fix: qt was not synced and served with v4 rsync-sjtug
Browse files Browse the repository at this point in the history
  • Loading branch information
PhotonQuantum committed Sep 12, 2023
1 parent 49d671a commit bdbe368
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion caddy/Caddyfile.siyuan
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ mirror.sjtu.edu.cn {
}
redir /qt /qt/ 301
route /qt/* {
reverse_proxy rsync-gateway:8000
reverse_proxy rsync-gateway-v4:8000
}
redir /debian /debian/ 301
file_server /debian/* browse {
Expand Down
6 changes: 3 additions & 3 deletions config.siyuan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@ repos:
<<: *oneshot_common
# qt
- type: shell_script
script: /worker-script/rsync-fetcher.sh
script: /worker-script/rsync-fetcher-v4.sh
source: rsync://master.qt.io/qt-all
interval: 6000
rsync_extra_flags: --exclude "snapshots/*"
name: qt
serve_mode: rsync_gateway
<<: *rsync_fetcher_common
serve_mode: rsync_gateway_v4
<<: *rsync_fetcher_v4_common
<<: *oneshot_common
# debian
- type: shell_script
Expand Down
5 changes: 5 additions & 0 deletions rsync-gateway-v4/config.siyuan.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ s3_prefix = "rsync/leopardsh"
namespace = "opencloudos"
s3_bucket = "899a892efef34b1b944a19981040f55b-oss01"
s3_prefix = "rsync/opencloudos"

[endpoints.qt]
namespace = "qt"
s3_bucket = "899a892efef34b1b944a19981040f55b-oss01"
s3_prefix = "rsync/qt"
5 changes: 0 additions & 5 deletions rsync-gateway/config.siyuan.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ redis = "redis://redis/"
redis_namespace = "raspberry-pi-os-images"
s3_website = "https://s3.jcloud.sjtu.edu.cn/899a892efef34b1b944a19981040f55b-oss01/rsync/raspberry-pi-os-images"

[endpoints.qt]
redis = "redis://redis/"
redis_namespace = "qt"
s3_website = "https://s3.jcloud.sjtu.edu.cn/899a892efef34b1b944a19981040f55b-oss01/rsync/qt"

[endpoints.debian-cd]
redis = "redis://redis/"
redis_namespace = "debian-cd"
Expand Down

0 comments on commit bdbe368

Please sign in to comment.