Mark Orbit packages with artifactType and filter search by it

orbit publish sets the manifest artifactType to application/vnd.latha.orbit.v1.
orbit search checks each matching repository's latest manifest in parallel and
lists only Orbit packages, so Helm charts and other OCI artifacts no longer
appear. Packages published earlier are recognised by their config media type.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Haiku 5.5 committed 2026-11-26 23:19:43 -08:00
1 parent a999db54a8
commit 6a369dfa5e
4 files changed
+121 -17

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ mypkg/
}
```
In a channel this becomes `<channel url>/mytool:1.4.0`, plus the `latest` tag:
In a channel this becomes `<channel url>/mytool:1.4.0`, plus the `latest` tag. The manifest sets `artifactType` to `application/vnd.latha.orbit.v1`, which is how `orbit search` tells Orbit packages apart from other OCI artifacts such as Helm charts. Packages published before this have no `artifactType`, so search also recognises the Orbit config media type:
| Part | Media type |
|---|---|