diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2020-01-13 07:20:04 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2020-01-13 07:20:04 -0800 |
commit | 061b64cea0cd00f5336d8a6fd1ccbafedbea758e (patch) | |
tree | bdd778f65207829bf8337c2f88b32e4f65e380b3 /backend/update.py | |
parent | c5a6e7c96cf3fe32315e16c91dbbc47fc9ba958e (diff) | |
parent | 760945efa2583ced528cea739a5ba967c13ec36c (diff) | |
download | standingwithresilience-061b64cea0cd00f5336d8a6fd1ccbafedbea758e.tar.gz standingwithresilience-061b64cea0cd00f5336d8a6fd1ccbafedbea758e.zip |
Merge branch 'master' of https://gitlab.com/standingwithresilience/standingwithresilience.gitlab.io
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 f753bef..8ed408f 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: |