blob: 87a93e5977a942f2a4772e7dbdfa9c0dc9066bfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
[[mirrors]]
method = "git"
from = "https://git.server.ky/slackcoder/mirror"
to = "/tmp/local-mirror/slackcoder/mirror"
description = "Mirror project"
staging-method = "temporary"
verify = "git verify-commit HEAD"
[[mirrors]]
method = "rsync"
from = "rsync://ftp.gnu.org/gnu/taler"
to = "/tmp/local-mirror/gnu/taler"
staging-method = "persistent"
verify = "find . -print0 -mindepth 1 -not -name '*.sig' | xargs -0L1 -d '{}' gpg2 --verify-files '{}'.sig"
[[mirrors]]
method = "github-assets"
from = "https://github.com/yt-dlp/yt-dlp"
to = "/tmp/local-mirror/yt-dlp"
staging-method = "persistent"
verify = """
mapfile -d '' releases < <( find . -maxdepth 1 -mindepth 1 -type d -print0 )
for release in "${releases[@]}"; do
(cd "$release";
gpg2 --quiet --verify-files SHA2-256SUMS.sig &&
sha256sum --quiet --check SHA2-256SUMS
) || exit 1
done
"""
|