Skip to content

Point the trust.sbomify.com examples at TEA 1.0.0 - #51

Open
aurangzaib048 wants to merge 1 commit into
sbomify:masterfrom
aurangzaib048:docs/trust-sbomify-tea-1.0.0
Open

aurangzaib048 wants to merge 1 commit into
sbomify:masterfrom
aurangzaib048:docs/trust-sbomify-tea-1.0.0

Conversation

@aurangzaib048

Copy link
Copy Markdown
Collaborator

Why

The README and docs/cli.md use https://trust.sbomify.com/tea/v0.4.0 as 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

  • The direct-endpoint, response-cache and TEA_BASE_URL examples use https://trust.sbomify.com/tea/v1.0.0, and the README calls trust.sbomify.com a TEA 1.0.0 server.
  • The from_well_known example that pins a version pins "1.0.0", since pinning 0.4.0 against trust.sbomify.com would find no endpoint.
  • The examples that show a 0.4.0 client (spec_version == "0.4.0", is_legacy) now use tea.example.com, so they still show the legacy behaviour.
  • The --domain examples 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 spec 1.0.0, is_legacy False; TeaClient("https://tea.example.com/tea/v0.4.0") reports 0.4.0, is_legacy True. from_well_known takes version=.

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.

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.
Copilot AI balanced review requested due to automatic review settings November 24, 2026 14:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 vpetersson-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants