Skip to content

Commit

Permalink
Remove unwanted leading period in override_extensions (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp authored Nov 4, 2024
1 parent ccc2d02 commit 429015b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions app_config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,16 @@
"items": {
"anyOf": [
{
"const": ".conda",
"const": "conda",
"enum": [
".conda"
"conda"
],
"type": "string"
},
{
"const": ".tar.bz2",
"const": "tar.bz2",
"enum": [
".tar.bz2"
"tar.bz2"
],
"type": "string"
}
Expand Down
6 changes: 3 additions & 3 deletions app_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ artifact_discovery = "anaconda"
provenance_url_pattern = "https://github.com/AnacondaRecipes/{feedstock}-feedstock"
dashboards = ["anaconda"]
metadata_retrieval = "streamed"
override_extensions = [".conda"]
override_extensions = ["conda"]

[channels."pkgs/r"]
url = "https://repo.anaconda.com/pkgs/r"
Expand All @@ -41,13 +41,13 @@ provenance_url_pattern = "https://github.com/AnacondaRecipes/{feedstock}-feedsto
package_filter = { allowed_names = ["r", "rpy2", "rstudio"], allowed_prefixes = ["r-", "_r-", "mro-"] }
dashboards = ["anaconda"]
metadata_retrieval = "streamed"
override_extensions = [".conda"]
override_extensions = ["conda"]

# pkgs/msys2 does not seem to offer .conda artifacts; leave out for now
# [channels."pkgs/msys2"]
# package_filter = { allowed_prefixes = ["m2-", "m2w64-", "msys2-"] }
# dashboards = ["anaconda"]
# override_extensions = [".conda"]
# override_extensions = ["conda"]

[dashboards]
anaconda = { url_pattern = "https://anaconda.org/{channel}/{name}/files?version={version}" }
Expand Down
2 changes: 1 addition & 1 deletion conda_metadata_app/app_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def check_supports_broken_label_artifact_discovery(self) -> Self:
How to retrieve metadata for a package.
"""

override_extensions: list[Literal[".conda"] | Literal[".tar.bz2"]] | None = None
override_extensions: list[Literal["conda"] | Literal["tar.bz2"]] | None = None
"""
Set this to a list of conda package extensions to override the auto detection of extensions.
"""
Expand Down
4 changes: 2 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ channels = ["conda-forge"]
platforms = ["linux-64", "win-64", "osx-arm64", "osx-64", "linux-aarch64"]

[tasks]
dev = "streamlit run --server.runOnSave=true app.py"
deploy = "streamlit run --server.headless=true --global.developmentMode=false app.py"
dev = "python -m streamlit run --server.runOnSave=true app.py"
deploy = "python -m streamlit run --server.headless=true --global.developmentMode=false app.py"
schema = "python -m conda_metadata_app.app_config"
postinstall-production = "pip install --no-deps --disable-pip-version-check dist/conda_metadata_app-*.whl"

Expand Down

0 comments on commit 429015b

Please sign in to comment.