diff --git a/jill/config/sources.json b/jill/config/sources.json index c6e1301..6c9c8f9 100644 --- a/jill/config/sources.json +++ b/jill/config/sources.json @@ -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": [ diff --git a/jill/utils/source_utils.py b/jill/utils/source_utils.py index cff1c4a..ecb97d0 100644 --- a/jill/utils/source_utils.py +++ b/jill/utils/source_utils.py @@ -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 diff --git a/setup.py b/setup.py index 6942594..b63d7da 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setuptools.setup( name='jill', - version='0.6.9', + version='0.6.10', author="Johnny Chen", author_email="johnnychen94@hotmail.com", description="JILL -- Julia Installer for Linux (MacOS, Windows and FreeBSD) -- Light",