More ref PDSes

This commit is contained in:
Lewis
2025-12-10 20:04:52 +02:00
parent cd641a8029
commit f19dac454e
2 changed files with 19 additions and 4 deletions

3
.gitignore vendored
View File

@@ -2,4 +2,5 @@
.env
reference-pds/
reference-pds-hailey/
reference-pds-bsky/

View File

@@ -1,5 +1,19 @@
git clone --depth 1 https://github.com/haileyok/cocoon reference-pds
#!/bin/bash
cd reference-pds
echo "Downloading haileyok/cocoon"
git clone --depth 1 https://github.com/haileyok/cocoon reference-pds-hailey
rm -rf reference-pds-hailey/.git
rm -rf .git
echo "Downloading bluesky-social/atproto pds package"
mkdir reference-pds-bsky
cd reference-pds-bsky
git init
git remote add origin https://github.com/bluesky-social/atproto.git
git config core.sparseCheckout true
echo "packages/pds" >> .git/info/sparse-checkout
git pull --depth 1 origin main
mv packages/pds/* .
rm -rf packages .git
cd ..
echo "Downloads complete!"