Skip to content

Commit

Permalink
add new upstream: BFSU (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 authored May 26, 2020
1 parent ce80cbb commit 819fb63
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions jill/config/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
"https://julialangnightlies-s3.julialang.org/bin/$sys/$arch/$latest_filename"
]
},
"BFSU": {
"name": "Beijing Foreign Studies University",
"urls": [
"https://mirrors.bfsu.edu.cn/julia-releases/bin/$sys/$arch/$minor_version/$filename"
],
"latest_urls": [
""
]
},
"USTC": {
"name": "University of Science and Technology of China",
"urls": [
Expand Down
2 changes: 1 addition & 1 deletion jill/utils/source_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self,
self.name = name
self.url_templates = [Template(x) for x in urls]
# TODO: make latest an optional config
self.latest_url_templates = [Template(x) for x in latest_urls]
self.latest_url_templates = [Template(x) for x in latest_urls if x]
self.timeout = timeout
self._latencies = dict() # type: ignore

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setuptools.setup(
name='jill',
version='0.6.9',
version='0.6.10',
author="Johnny Chen",
author_email="[email protected]",
description="JILL -- Julia Installer for Linux (MacOS, Windows and FreeBSD) -- Light",
Expand Down

0 comments on commit 819fb63

Please sign in to comment.