Skip to content

Commit

Permalink
Merge noarch as default platform
Browse files Browse the repository at this point in the history
  • Loading branch information
analog-cbarber committed Jun 24, 2021
2 parents a96c04f + 1adef29 commit df50f81
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions conda_mirror/conda_mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

DEFAULT_BAD_LICENSES = ["agpl", ""]

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

DEFAULT_CHUNK_SIZE = 16 * 1024

Expand Down Expand Up @@ -150,8 +150,7 @@ def _make_arg_parser():
ap.add_argument(
"--platform",
help=(
"The OS platform(s) to mirror. one of: {'linux-64', 'linux-32',"
"'osx-64', 'win-32', 'win-64'}"
f"The OS platform(s) to mirror. e.g.: {', '.join(DEFAULT_PLATFORMS)}"
),
)
ap.add_argument(
Expand Down Expand Up @@ -780,7 +779,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', 'osx-64', 'win-64, 'win-32' and 'noarch'. 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

0 comments on commit df50f81

Please sign in to comment.