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

+4
View File
@@ -3,6 +3,10 @@
///|
const CONFIG_MEDIA_TYPE : String = "application/vnd.latha.orbit.config.v1+json"
///|
/// Manifest artifactType that marks a repository as an Orbit package.
const ORBIT_ARTIFACT_TYPE : String = "application/vnd.latha.orbit.v1"
///|
const LAYER_MEDIA_TYPE : String = "application/vnd.latha.orbit.layer.v1.tar+gzip"