refactor: update registry type from 'docker-hub' to 'oci' across seed data (#325)
Updates the registry type for all Docker Hub packages in the seed data from `docker-hub` to `oci` to align with the standardized OCI registry format. This change affects the `registry_type` field and simplifies the `identifier` field by removing the full Docker Hub URL prefix. Changes: - Updated `registry_type` from `docker-hub` to `oci` for all Docker packages - Simplified `identifier` field to use just the repository name/path instead of full URLs - Maintained `registry_base_url` as `https://docker.io` for all entries This refactoring improves consistency and aligns with OCI standards while maintaining backward compatibility through the registry base URL.
This commit is contained in:
parent
12dc4c3b99
commit
e0aecadc24
3 changed files with 195 additions and 196 deletions
|
|
@ -131,7 +131,7 @@ This will essentially instruct the MCP client to execute `dnx Knapcode.SampleMcp
|
|||
]
|
||||
},
|
||||
{
|
||||
"registry_type": "docker-hub",
|
||||
"registry_type": "oci",
|
||||
"registry_base_url": "https://docker.io",
|
||||
"identifier": "mcp/filesystem:1.0.2",
|
||||
"version": "1.0.2",
|
||||
|
|
@ -339,7 +339,7 @@ The `dnx` tool ships with the .NET 10 SDK, starting with Preview 6.
|
|||
},
|
||||
"packages": [
|
||||
{
|
||||
"registry_type": "docker-hub",
|
||||
"registry_type": "oci",
|
||||
"registry_base_url": "https://docker.io",
|
||||
"identifier": "example/database-manager-mcp",
|
||||
"version": "3.1.0",
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
"enum": [
|
||||
"npm",
|
||||
"pypi",
|
||||
"docker-hub",
|
||||
"oci",
|
||||
"nuget",
|
||||
"mcpb"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -83,8 +83,8 @@
|
|||
"properties": {
|
||||
"registry_type": {
|
||||
"type": "string",
|
||||
"description": "Registry type indicating how to download packages (e.g., 'npm', 'pypi', 'docker-hub', 'nuget', 'mcpb')",
|
||||
"examples": ["npm", "pypi", "docker-hub", "nuget", "mcpb"]
|
||||
"description": "Registry type indicating how to download packages (e.g., 'npm', 'pypi', 'oci', 'nuget', 'mcpb')",
|
||||
"examples": ["npm", "pypi", "oci", "nuget", "mcpb"]
|
||||
},
|
||||
"registry_base_url": {
|
||||
"type": "string",
|
||||
|
|
|
|||
Loading…
Reference in a new issue