summaryrefslogtreecommitdiff
path: root/backend/update.py
diff options
context:
space:
mode:
authorKarl Semich <0xloem@gmail.com>2016-06-11 06:45:38 -0400
committerKarl Semich <0xloem@gmail.com>2016-06-11 06:45:38 -0400
commit1d02766160d468797f604f75ad5dca532ec08f4f (patch)
treed39469d35ef6f8bb6cfb03de2670ae13038ea0d7 /backend/update.py
parent804aa45fbbaf034b09b0f63ebe75630f02b32052 (diff)
downloadstandingwithresilience-1d02766160d468797f604f75ad5dca532ec08f4f.tar.gz
standingwithresilience-1d02766160d468797f604f75ad5dca532ec08f4f.zip
backend updates
Diffstat (limited to 'backend/update.py')
-rwxr-xr-xbackend/update.py24
1 files changed, 13 insertions, 11 deletions
diff --git a/backend/update.py b/backend/update.py
index 47b05c4..0e9bcce 100755
--- a/backend/update.py
+++ b/backend/update.py
@@ -11,23 +11,24 @@ git_repos = [
resilient.git('fairlystable-guest:/srv/git/standingwithresilience')
]
-if resilient.freenet.gitocalypse.found and resilient.freenet.running:
- git_repos.extend([
- #### public freenet ####
- resilient.freenet.gitocalypse('freenet://USK@hCLgfaINNSNAl4do-PapEincQP5Lxa72d8mFrzHqzqU,jjuBPGO~oCByVoZ5f4Bny0Gp-l3kuDOtf3m-QBT4ekA,AQACAAE/Standing%20With%20Resilience%20Public.git.R1/0', 'freenet://USK@AKL0griFs7T25yw6-JR3Wk7vocvNBelOLg3RwtIL6aTp,jjuBPGO~oCByVoZ5f4Bny0Gp-l3kuDOtf3m-QBT4ekA,AQECAAE/Standing%20With%20Resilience%20Public.git.R1/0'),
- #### private freenet ####
- resilient.freenet.gitocalypse('freenet://USK@PSY0YngeDtGbj60hjEoilQiY9oKzVrptRC0rG4BEVPg,e6ZEjT4KvbsltPBJOeKNpIdty2oGzbLCdk4fsDA5Vdk,AQACAAE/Standing%20With%20Resilience.git.R1/0')
- ])
-
zeronet_urls = ['http://bit.no.com:43110']
if resilient.zeronet.running:
zeronet_urls.append('http://127.0.0.1:43110')
for host in zeronet_urls:
git_repos.extend([
#### public zeronet ####
- resilient.git('%s/1GtQ8bkFkhYtKerSdXHKe1z4j9VTmFR5d4/.git' % host),
+ resilient.git('%s/1GtQ8bkFkhYtKerSdXHKe1z4j9VTmFR5d4/.git' % host, None),
#### private zeronet ####
- resilient.git('%s/1L363bqJnCG63SnV83kfV7izZXbmentctD/.git' % host)
+ resilient.git('%s/1L363bqJnCG63SnV83kfV7izZXbmentctD/.git' % host, None)
+ ])
+
+if resilient.freenet.gitocalypse.found and resilient.freenet.running:
+ git_repos.extend([
+ #### public freenet ####
+ resilient.freenet.gitocalypse('freenet://USK@hCLgfaINNSNAl4do-PapEincQP5Lxa72d8mFrzHqzqU,jjuBPGO~oCByVoZ5f4Bny0Gp-l3kuDOtf3m-QBT4ekA,AQACAAE/Standing%20With%20Resilience%20Public.git.R1/0',
+ 'freenet://USK@AKL0griFs7T25yw6-JR3Wk7vocvNBelOLg3RwtIL6aTp,jjuBPGO~oCByVoZ5f4Bny0Gp-l3kuDOtf3m-QBT4ekA,AQECAAE/Standing%20With%20Resilience%20Public.git.R1/0'),
+ #### private freenet ####
+ resilient.freenet.gitocalypse('freenet://USK@PSY0YngeDtGbj60hjEoilQiY9oKzVrptRC0rG4BEVPg,e6ZEjT4KvbsltPBJOeKNpIdty2oGzbLCdk4fsDA5Vdk,AQACAAE/Standing%20With%20Resilience.git.R1/0')
])
@@ -63,7 +64,8 @@ if not resilient.ikiwiki().push():
hosts = []
if resilient.zeronet.found:
- hosts.append(resilient.zeronet('1GtQ8bkFkhYtKerSdXHKe1z4j9VTmFR5d4', '5JzZACCELsT4bx66qmV9JDaWhEQ6Sx6j7LzeucsxJGA9H7nuoRr'))
+ hosts.append(resilient.zeronet('1GtQ8bkFkhYtKerSdXHKe1z4j9VTmFR5d4',
+ '5JzZACCELsT4bx66qmV9JDaWhEQ6Sx6j7LzeucsxJGA9H7nuoRr'))
if resilient.freenet.freesitemgr.found and resilient.freenet.running:
hosts.append(resilient.freenet.freesitemgr()) # keys for freesitemgr are in auth/freesitemgr