diff options
author | IkiWiki <ikiwiki.info> | 2019-09-02 12:54:51 -0400 |
---|---|---|
committer | IkiWiki <ikiwiki.info> | 2019-09-02 12:54:51 -0400 |
commit | b52aedc76701b3e42acdb34ad2513b119dbaf7e0 (patch) | |
tree | bea6de0c0859ed01bcd86c9686ec82f60f540b42 /backend/update.py | |
parent | 2229373c28c119b5d7fdaa2b35dec5aa8f0adade (diff) | |
download | standingwithresilience-b52aedc76701b3e42acdb34ad2513b119dbaf7e0.tar.gz standingwithresilience-b52aedc76701b3e42acdb34ad2513b119dbaf7e0.zip |
work towards referencing bsv
Diffstat (limited to 'backend/update.py')
-rwxr-xr-x | backend/update.py | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/backend/update.py b/backend/update.py index 0f5577a..ac99655 100755 --- a/backend/update.py +++ b/backend/update.py @@ -2,18 +2,24 @@ import resilient import resilient.freenet +import resilient.bsv_metanet ####################### Instantiate hosts hosts = [] -zeronet_urls = ['http://bit.no.com:43110'] +zeronet_urls = ['https://0net.io'] if resilient.zeronet.found: hosts.append(resilient.zeronet('1GtQ8bkFkhYtKerSdXHKe1z4j9VTmFR5d4', '5JzZACCELsT4bx66qmV9JDaWhEQ6Sx6j7LzeucsxJGA9H7nuoRr')) zeronet_urls.append('http://127.0.0.1:43110') +bsv_urls = ['https://bico.media'] +if resilient.bsv_metanet.bsvup.found: + bsvup_host = resilient.bsv_metanet.bsvup('bsv-public') + hosts.append(bsvup_host) + ipfs_urls = ['https://ipfs.io'] if resilient.ipfs.found: ipfs_host = resilient.ipfs('ipfs-public') @@ -35,17 +41,23 @@ git_repos = [ for host in zeronet_urls: git_repos.extend([ #### public zeronet #### - resilient.git('%s/1GtQ8bkFkhYtKerSdXHKe1z4j9VTmFR5d4/.git' % host, None), + resilient.git('%s/1GtQ8bkFkhYtKerSdXHKe1z4j9VTmFR5d4/git' % host, None), #### private zeronet #### - resilient.git('%s/1L363bqJnCG63SnV83kfV7izZXbmentctD/.git' % host, None) + resilient.git('%s/1L363bqJnCG63SnV83kfV7izZXbmentctD/git' % host, None) + ]) + +for host in bsv_urls: + git_repos.extend([ + #### public bsv #### + resilient.git('%s/18xAQuoytYNuXrZwoLvLHmHwS3dNqw5BXF/git' % host, None) ]) for host in ipfs_urls: git_repos.extend([ #### public ipfs #### - resilient.git('%s/ipns/QmPw1ZqrdEma823zTrnH9cVFF4j3YSeedrRjqPGj9Q8Utx/.git' % host, None), + resilient.git('%s/ipns/QmPw1ZqrdEma823zTrnH9cVFF4j3YSeedrRjqPGj9Q8Utx/git' % host, None), #### private ipfs #### - resilient.git('%s/ipns/QmYMViYhjtwH2BkuHYRGJvPDWcXdNf2YcRFTTCzzqQGVn1/.git' % host, None) + resilient.git('%s/ipns/QmYMViYhjtwH2BkuHYRGJvPDWcXdNf2YcRFTTCzzqQGVn1/git' % host, None) ]) if resilient.freenet.gitocalypse.found and resilient.freenet.running: |