github-actions[bot] on gh-pages
Update documentation (compare)
TomAugspurger on master
Add link to youtube recording Use parenthetical for link RST link and 7 more (compare)
github-actions[bot] on rsignell-usgs-patch-1-preview
Update documentation (compare)
rsignell-usgs on rsignell-usgs-patch-1
hpc.rst simplify connection ins… (compare)
github-actions[bot] on rsignell-usgs-patch-1-preview
Update documentation (compare)
source ~/binder/start
def test_launch_binder(binder_url, repo, ref):
build_url = binder_url + '/build/gh/{repo}/{ref}'.format(repo=repo, ref=ref)
r = requests.get(build_url, stream=True)
r.raise_for_status()
for line in r.iter_lines():
line = line.decode('utf8')
if line.startswith('data:'):
data = json.loads(line.split(':', 1)[1])
if data.get('phase') == 'ready':
notebook_url = data['url']
token = data['token']
break
else:
# This means we never got a 'Ready'!
assert False
headers = {
'Authorization': 'token {}'.format(token)
}
r = requests.get(notebook_url + '/api', headers=headers)
assert r.status_code == 200
assert 'version' in r.json()
r = requests.post(notebook_url + '/api/shutdown', headers=headers)
assert r.status_code == 200
binder_url = 'https://binder.pangeo.io'
repo = 'pangeo-data/pangeo-ocean-examples'
ref = 'f73b92a'
test_launch_binder(binder_url, repo, ref)
@rabernat this is a list of the new packages in conda-forge added during the sprints: https://github.com/conda-forge/staged-recipes/issues?utf8=%E2%9C%93&q=label%3Apangeo-sprint+
The list will be updated tomorrow with at list one more.