latest
This commit is contained in:
parent
655026cdbd
commit
1ba0219bd7
15
Makefile
15
Makefile
|
@ -10,7 +10,8 @@ clean:
|
||||||
|
|
||||||
deploy: pinlist.txt
|
deploy: pinlist.txt
|
||||||
mkdir -p $(PINLIST_DIR)
|
mkdir -p $(PINLIST_DIR)
|
||||||
rsync -avP ./pinlist.txt $(PINLIST_DIR)/pinlist.txt
|
cat ./pinlist.txt > $(PINLIST_DIR)/pinlist.txt
|
||||||
|
cat ./bin/pin.sh > $(PINLIST_DIR)/pin.sh
|
||||||
ipfs add -r $(IPFS_ROOT) | \
|
ipfs add -r $(IPFS_ROOT) | \
|
||||||
tail -1 | \
|
tail -1 | \
|
||||||
awk -F' ' '{print $$2}' | \
|
awk -F' ' '{print $$2}' | \
|
||||||
|
@ -18,5 +19,13 @@ deploy: pinlist.txt
|
||||||
|
|
||||||
|
|
||||||
pinlist.txt: pins/*.json
|
pinlist.txt: pins/*.json
|
||||||
jq -r .pins[] $^ > pinlist.new && mv pinlist.new $@
|
jq -r .pins[] $^ > pinlist.new && mv pinlist.new $@.tmp
|
||||||
echo "# $$(date -u +%s)" >> $@
|
echo "# timestamp=$$(date -u +%s)" >> $@.tmp
|
||||||
|
cat $@.tmp | sort | uniq > $@
|
||||||
|
rm $@.tmp
|
||||||
|
|
||||||
|
tidy:
|
||||||
|
for X in pins/*.json ; do \
|
||||||
|
echo $$X ; \
|
||||||
|
jq -S --indent 4 . $$X > $$X.new && mv $$X.new $$X ; \
|
||||||
|
done
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"contact": {
|
"contact": {
|
||||||
"email": "sneak@sneak.berlin",
|
"email": "sneak@sneak.berlin",
|
||||||
"name": "Jeffrey Paul"
|
"name": "Jeffrey Paul"
|
||||||
},
|
},
|
||||||
"description": "test name from ber1 (sneak fileserver)",
|
"description": "test name from ber1 (sneak fileserver)",
|
||||||
"pins": [
|
"pins": [
|
||||||
"/ipns/QmZKpS7iyUnDXcUxhou5arokZ5bZViZokEzDVAEGctBSMw"
|
"/ipns/QmZKpS7iyUnDXcUxhou5arokZ5bZViZokEzDVAEGctBSMw/helloworld"
|
||||||
],
|
],
|
||||||
"url": "https://sneak.berlin"
|
"url": "https://sneak.berlin"
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"contact": {
|
||||||
|
"email": "sneak@sneak.berlin",
|
||||||
|
"name": "Jeffrey Paul"
|
||||||
|
},
|
||||||
|
"description": "ubuntu trusty and xenial apt metadata mirror (<200MiB)",
|
||||||
|
"pins": [
|
||||||
|
"/ipns/QmZKpS7iyUnDXcUxhou5arokZ5bZViZokEzDVAEGctBSMw/mirrors/ubuntu/current/dists"
|
||||||
|
],
|
||||||
|
"url": "https://sneak.berlin/"
|
||||||
|
}
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"contact": {
|
"contact": {
|
||||||
"email": "sneak@sneak.berlin",
|
"email": "sneak@sneak.berlin",
|
||||||
"name": "Jeffrey Paul"
|
"name": "Jeffrey Paul"
|
||||||
},
|
},
|
||||||
"description": "this ipns will intentionally not resolve for testing",
|
"description": "this ipns will intentionally not resolve for testing",
|
||||||
"pins": [
|
"pins": [
|
||||||
"/ipns/QmaN64WRYdHBojWFQRLxkdjtX6TEnqnCq8uAug11111111"
|
"/ipns/QmaN64WRYdHBojWFQRLxkdjtX6TEnqnCq8uAug11111111"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"description": "go-ipfs v0.4.4 binaries",
|
"description": "go-ipfs v0.4.4 binaries",
|
||||||
"pins": [
|
"pins": [
|
||||||
"/ipfs/QmXvDdqieUAUo7srRVXvsKZRmzNGkuhRqWKYXLcXnBm4dc",
|
"/ipfs/QmXvDdqieUAUo7srRVXvsKZRmzNGkuhRqWKYXLcXnBm4dc",
|
||||||
"/ipfs/QmPsMMi2Lq15QDNa8vmyZwwE15KbgUnHkQz3MX8pR5oUvq",
|
"/ipfs/QmPsMMi2Lq15QDNa8vmyZwwE15KbgUnHkQz3MX8pR5oUvq",
|
||||||
"/ipfs/QmQZyL5sWdXQyS9UwPHRsSv5yXz1cWRgTV9C6zS6EsGnBv",
|
"/ipfs/QmQZyL5sWdXQyS9UwPHRsSv5yXz1cWRgTV9C6zS6EsGnBv",
|
||||||
"/ipfs/QmRCXbtDRFUVLYndxxrobsPEKSBNJtPbvq4FTMKWBWqneE",
|
"/ipfs/QmRCXbtDRFUVLYndxxrobsPEKSBNJtPbvq4FTMKWBWqneE",
|
||||||
"/ipfs/QmRE6QGDsRhHT81etCKKRvUucoQTY4KqjoH8RKW6jaF7kX",
|
"/ipfs/QmRE6QGDsRhHT81etCKKRvUucoQTY4KqjoH8RKW6jaF7kX",
|
||||||
"/ipfs/QmUb7jGAgYd4AAGX82qY3Znt2Xrx3FLC2N6jiYVMcSTcMq",
|
"/ipfs/QmUb7jGAgYd4AAGX82qY3Znt2Xrx3FLC2N6jiYVMcSTcMq",
|
||||||
"/ipfs/QmPPNuaTHcoFesnZuVjSMaxPVifunrVqFGj3avjTaKSLz3",
|
"/ipfs/QmPPNuaTHcoFesnZuVjSMaxPVifunrVqFGj3avjTaKSLz3",
|
||||||
"/ipfs/QmdZ81FrNJYnjHbzuX6L2vqfBmEvRFwUgRU2TdPHU8WNLL"
|
"/ipfs/QmdZ81FrNJYnjHbzuX6L2vqfBmEvRFwUgRU2TdPHU8WNLL"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"description": "webui files",
|
"description": "webui files",
|
||||||
"pins": [
|
"pins": [
|
||||||
"/ipfs/QmS2HL9v5YeKgQkkWMvs1EMnFtUowTEdFfSSeMT4pos1e6",
|
"/ipfs/QmS2HL9v5YeKgQkkWMvs1EMnFtUowTEdFfSSeMT4pos1e6",
|
||||||
"/ipfs/QmXdu7HWdV6CUaUabd9q2ZeA4iHZLVyDRj3Gi4dsJsWjbr",
|
"/ipfs/QmXdu7HWdV6CUaUabd9q2ZeA4iHZLVyDRj3Gi4dsJsWjbr",
|
||||||
"/ipfs/QmaaqrHyAQm7gALkRW8DcfGX3u8q9rWKnxEMmf7m9z515w",
|
"/ipfs/QmaaqrHyAQm7gALkRW8DcfGX3u8q9rWKnxEMmf7m9z515w",
|
||||||
"/ipfs/QmSHDxWsMPuJQKWmVA1rB5a3NX2Eme5fPqNb63qwaqiqSp",
|
"/ipfs/QmSHDxWsMPuJQKWmVA1rB5a3NX2Eme5fPqNb63qwaqiqSp",
|
||||||
"/ipfs/QmctngrQAt9fjpQUZr7Bx3BsXUcif52eZGTizWhvcShsjz",
|
"/ipfs/QmctngrQAt9fjpQUZr7Bx3BsXUcif52eZGTizWhvcShsjz",
|
||||||
"/ipfs/QmXX7YRpU7nNBKfw75VG7Y1c3GwpSAGHRev67XVPgZFv9R"
|
"/ipfs/QmXX7YRpU7nNBKfw75VG7Y1c3GwpSAGHRev67XVPgZFv9R"
|
||||||
],
|
],
|
||||||
"url": "https://github.com/ipfs/refs-solarnet-storage/commit/df0a2cc4b53cea15132bec2d0b96b5d2d7a87ffb"
|
"url": "https://github.com/ipfs/refs-solarnet-storage/commit/df0a2cc4b53cea15132bec2d0b96b5d2d7a87ffb"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"contact": {
|
"contact": {
|
||||||
"email": "sneak@sneak.berlin",
|
"email": "sneak@sneak.berlin",
|
||||||
"name": "Jeffrey Paul"
|
"name": "Jeffrey Paul"
|
||||||
},
|
},
|
||||||
"description": "Personal blog of Jeffrey Paul",
|
"description": "Personal blog of Jeffrey Paul",
|
||||||
"pins": [
|
"pins": [
|
||||||
"/ipns/QmaN64WRYdHBojWFQRLxkdjtX6TEnqnCq8uAugpyJJpCVp/website"
|
"/ipns/QmaN64WRYdHBojWFQRLxkdjtX6TEnqnCq8uAugpyJJpCVp/website"
|
||||||
],
|
],
|
||||||
"url": "https://sneak.berlin"
|
"url": "https://sneak.berlin"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue