+2
-1
.gitignore
+2
-1
.gitignore
+17
-3
ref_pds_downloader.sh
+17
-3
ref_pds_downloader.sh
···
1
-
git clone --depth 1 https://github.com/haileyok/cocoon reference-pds
1
+
#!/bin/bash
2
2
3
-
cd reference-pds
3
+
echo "Downloading haileyok/cocoon"
4
+
git clone --depth 1 https://github.com/haileyok/cocoon reference-pds-hailey
5
+
rm -rf reference-pds-hailey/.git
4
6
5
-
rm -rf .git
7
+
echo "Downloading bluesky-social/atproto pds package"
8
+
mkdir reference-pds-bsky
9
+
cd reference-pds-bsky
10
+
git init
11
+
git remote add origin https://github.com/bluesky-social/atproto.git
12
+
git config core.sparseCheckout true
13
+
echo "packages/pds" >> .git/info/sparse-checkout
14
+
git pull --depth 1 origin main
15
+
mv packages/pds/* .
16
+
rm -rf packages .git
17
+
cd ..
18
+
19
+
echo "Downloads complete!"