Skip to content

Add Sigstore Cosign tool feed#1367

Merged
bastianeicher merged 3 commits intomasterfrom
copilot/add-cosign-tool-files
Apr 1, 2026
Merged

Add Sigstore Cosign tool feed#1367
bastianeicher merged 3 commits intomasterfrom
copilot/add-cosign-tool-files

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

Adds 0install feed support for Sigstore Cosign, a container image and OCI artifact signing/verification tool.

New files

  • utils/cosign.xml — Main feed with metadata; empty <group> (no implementations, populated via watch workflow)
  • utils/cosign.xml.template — Release template covering 5 platform targets using single-binary <file> elements (same pattern as jq):
    • Linux-x86_64, Linux-aarch64
    • Darwin-x86_64, Darwin-aarch64
    • Windows-x86_64
  • utils/cosign.watch.py — GitHub release watcher against sigstore/cosign, emitting version (with rc. normalized to rc), original-version (the raw tag, e.g. v3.0.5), stability (pre-release aware), and released fields

Download URLs use {original-version} to preserve the exact GitHub tag (including the v prefix):

https://github.com/sigstore/cosign/releases/download/{original-version}/cosign-linux-amd64
https://github.com/sigstore/cosign/releases/download/{original-version}/cosign-windows-amd64.exe

Copilot AI linked an issue Apr 1, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add files for Sigstore Cosign tool Add Sigstore Cosign tool feed Apr 1, 2026
Copilot AI requested a review from bastianeicher April 1, 2026 15:11
@bastianeicher bastianeicher marked this pull request as ready for review April 1, 2026 15:47
Copy link
Copy Markdown
Member

@bastianeicher bastianeicher left a comment

Choose a reason for hiding this comment

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

Look at kubernetes/kops.watch.py and kubernetes/kops.xml.template. I'd like you take the pattern of replacing rc. with rc for the version while passing through the original version as original_version. Apply this same pattern to utils/cosign.watch.py and utils/cosign.xml. Handling just rcis enough, no need forbeta`, etc..

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 1, 2026

Look at kubernetes/kops.watch.py and kubernetes/kops.xml.template. I'd like you take the pattern of replacing rc. with rc for the version while passing through the original version as `orig...

Done in a333132. The watch script now uses a convert() function that keeps original-version (e.g. v3.0.5) and strips the v + replaces rc. with rc for version. The template URLs now use {original-version} instead of v{version}.

Copilot AI requested a review from bastianeicher April 1, 2026 16:40
@bastianeicher bastianeicher merged commit 2c8a137 into master Apr 1, 2026
@bastianeicher bastianeicher deleted the copilot/add-cosign-tool-files branch April 1, 2026 16:45
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.

Add Cosign (Sigstore) Tool?

2 participants