Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for s390x #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions conda_mirror/conda_mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

DEFAULT_BAD_LICENSES = ["agpl", ""]

DEFAULT_PLATFORMS = ["linux-64", "linux-32", "osx-64", "win-64", "win-32"]
DEFAULT_PLATFORMS = ["linux-64", "linux-32", "linux-s390x", "osx-64", "win-64", "win-32"]

DEFAULT_CHUNK_SIZE = 16 * 1024

Expand Down Expand Up @@ -181,7 +181,7 @@ def _make_arg_parser():
"--platform",
help=(
"The OS platform(s) to mirror. one of: {'linux-64', 'linux-32',"
"'osx-64', 'win-32', 'win-64'}"
"'linux-s390x', 'osx-64', 'win-32', 'win-64'}"
),
)
ap.add_argument(
Expand Down Expand Up @@ -487,7 +487,7 @@ def get_repodata(channel, platform, proxies=None, ssl_verify=None):
----------
channel : str
anaconda.org/CHANNEL
platform : {'linux-64', 'linux-32', 'osx-64', 'win-32', 'win-64'}
platform : {'linux-64', 'linux-32', 'linux-s390x', 'osx-64', 'win-32', 'win-64'}
The platform of interest
proxies : dict
Proxys for connecting internet
Expand Down Expand Up @@ -810,7 +810,7 @@ def main(
apply checks
platform : str
The platform that you wish to mirror for. Common options are
'linux-64', 'osx-64', 'win-64' and 'win-32'. Any platform is valid as
'linux-64', 'linux-s390x', 'osx-64', 'win-64' and 'win-32'. Any platform is valid as
long as the url resolves.
blacklist : iterable of tuples, optional
The values of blacklist should be (key, glob) where key is one of the
Expand Down