Repository navigation
Point the trust.sbomify.com examples at TEA 1.0.0 - #51
aurangzaib048 wants to merge 1 commit into
Conversation
sbomify now serves only TEA 1.0.0, so /tea/v0.4.0 on trust.sbomify.com answers 404 once that release is deployed. The direct-endpoint, cache and TEA_BASE_URL examples now use /tea/v1.0.0, and the version-pinned from_well_known example pins 1.0.0. The examples that show a 0.4.0 client use tea.example.com instead.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
vpetersson-bot
left a comment
There was a problem hiding this comment.
LGTM. The URL swaps are consistent, the 0.4.0 examples (spec_version, is_legacy) moved to tea.example.com so they still show legacy behaviour, and no trust.sbomify.com/tea/v0.4.0 reference remains in README.md or docs/.
One caution: as of now https://trust.sbomify.com/.well-known/tea still advertises only 0.4.0, and sbomify/sbomify#2072 is still open. Please hold the merge until #2072 is deployed, as the description says. Otherwise the examples point at a 404.
Why
The README and
docs/cli.mdusehttps://trust.sbomify.com/tea/v0.4.0as their working example server. sbomify now serves only TEA 1.0.0 (sbomify/sbomify#2071 and sbomify/sbomify#2072), so that URL answers 404 once that release is deployed.Change
TEA_BASE_URLexamples usehttps://trust.sbomify.com/tea/v1.0.0, and the README calls trust.sbomify.com a TEA 1.0.0 server.from_well_knownexample that pins a version pins"1.0.0", since pinning 0.4.0 against trust.sbomify.com would find no endpoint.spec_version == "0.4.0",is_legacy) now usetea.example.com, so they still show the legacy behaviour.--domainexamples are unchanged: they read the version from.well-known/tea.How I checked it
Built the example clients with this branch's libtea:
TeaClient("https://trust.sbomify.com/tea/v1.0.0")reports spec1.0.0,is_legacyFalse;TeaClient("https://tea.example.com/tea/v0.4.0")reports0.4.0,is_legacyTrue.from_well_knowntakesversion=.Merge timing
Merge after sbomify deploys sbomify/sbomify#2072. Until then trust.sbomify.com serves only
/tea/v0.4.0, and the new URLs answer 404.