Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

only check for .xz archives #76

Merged
merged 4 commits into from
Oct 10, 2020
Merged

only check for .xz archives #76

merged 4 commits into from
Oct 10, 2020

Conversation

semorrison
Copy link
Collaborator

Don't look on github for olean archives, and don't look for .gz and .bz2 archives anymore.

@@ -149,7 +149,7 @@ def get_mathlib_archive(rev: str, url:str = '', force: bool = False,
"""

# we check for xz archives first
fnames = [rev + '.tar.xz', rev + '.tar.gz', rev + '.tar.bz2']
fnames = [rev + '.tar.xz']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no point in keeping a list with only one element, this function must be simplified more drastically.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed a commit that addressed this.

mathlibtools/lib.py Outdated Show resolved Hide resolved
mathlibtools/lib.py Outdated Show resolved Hide resolved
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
mathlibtools/lib.py Outdated Show resolved Hide resolved
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@PatrickMassot PatrickMassot merged commit 481e499 into master Oct 10, 2020
PatrickMassot pushed a commit that referenced this pull request Oct 10, 2020
only check for .xz archives

Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@bryangingechen bryangingechen deleted the only_xz branch October 10, 2020 17:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants