Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions cloudsmith_cli/cli/commands/upstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"python",
"rpm",
"ruby",
"skills",
Comment thread
pmcguckin-cloudsmith marked this conversation as resolved.
Resolved
"swift",
]

Expand Down
6 changes: 6 additions & 0 deletions cloudsmith_cli/cli/tests/commands/test_upstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"python": "https://pypi.org",
"rpm": "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/35/Everything/x86_64/os",
"ruby": "https://rubygems.org",
"skills": "https://clawhub.ai",
"swift": "https://example.org",
}

Expand Down Expand Up @@ -63,6 +64,11 @@ def test_upstream_commands(
"distro_versions": ["ubuntu/xenial"],
}

# Skills specific arguments
if upstream_format == "skills":
upstream_config["contents"] = "Skills"
upstream_config["mode"] = "Cache and Proxy"

upstream_config_file = tmp_path / (f"cli-test-upstream-{upstream_format}.json")
upstream_config_file.write_text(str(json.dumps(upstream_config)))

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies = [
"click-didyoumean>=0.0.3",
"click-spinner>=0.1.7",
"json5>=0.9.0", # For parsing JSONC (JSON with comments) in VS Code settings
"cloudsmith-api>=2.0.38,<3.0", # Compatible up to (but excluding) 3.0+
"cloudsmith-api>=2.0.42,<3.0", # Compatible up to (but excluding) 3.0+
"keyring>=25.4.1",
"keyrings-alt>=5.0.2",
"keyrings-cryptfile>=1.3.9",
Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading