Skip to content

Publish one advisory file per artifact - #2

Merged
dyl-joseph merged 1 commit into
dyl-joseph:feat/opr-advisory-sidecarfrom
calledtoconstruct:feat/opr-advisory-per-artifact
Oct 4, 2026
Merged

dyl-joseph merged 1 commit into
dyl-joseph:feat/opr-advisory-sidecarfrom
calledtoconstruct:feat/opr-advisory-per-artifact

Conversation

@calledtoconstruct

Copy link
Copy Markdown

Why

omacom#378 now asks for one signed advisory file per artifact, after omacom#511. The feed in this branch is already per artifact. The published omarchy.advisories.json is the part a refresh would rewrite for every package.

What

  • bin/sync-advisories writes advisories/<pkgname>-<pkgver>-<pkgrel>-<arch>.json (and a detached .sig when a key is available). Unchanged files are left in place. A filtered --package run does not touch the others.
  • A missing file means scan_status=missing. The channel-wide document is no longer written, and a leftover copy is removed.
  • bin/advance-channel copies that file with the package. It does not merge a channel document, and it does not try to settle the host advance path Build PRs on ephemeral droplets; publish merged packages from CI omacom/omarchy-pkgs#511 is replacing.

Field names are unchanged.

Verification

  • bash tests/advisory-sidecar.sh
  • bash tests/fetch-advisories.sh

Refs omacom#378 and omacom#416.

A refresh replaces that file and leaves the others alone. Channel advance copies the file with the package instead of merging a channel-wide document.
@dyl-joseph

Copy link
Copy Markdown
Owner

@calledtoconstruct, sorry, just seeing this. are you still working on this? a CI test failed.

@calledtoconstruct

Copy link
Copy Markdown
Author

Yes. The commit on this PR is the change I want, and I don't have another one waiting.

The red check is not a failed test. "Build changed packages" only builds a PR when it trusts the author. Collaborators are trusted automatically. Anyone else has to be listed in .github/VOUCHED.td, or that one PR needs the build-approved label. I am not a collaborator on this fork, that file only lists github:f-trycua and github:scottjones, and this PR has no labels. The workflow skipped the build, then the result job exited 1 with "author is not vouched."

The Tests workflow did run. self-tests passed, and so did build-isolation.

Add github:calledtoconstruct to .github/VOUCHED.td, or put the build-approved label on this PR, and the package build will run. I can't change that file or add that label on your repo.

@dyl-joseph

Copy link
Copy Markdown
Owner

pr looks good- merging!

@dyl-joseph
dyl-joseph merged commit 1050155 into dyl-joseph:feat/opr-advisory-sidecar Oct 4, 2026
7 of 8 checks passed
@calledtoconstruct

Copy link
Copy Markdown
Author

Please merge this into feat/opr-advisory-sidecar, so it becomes part of omacom#416.

42390a2 puts each advisory beside its package as <pkgname>-<pkgver>-<pkgrel>-<arch>.advisory.json, with a detached signature. A refresh replaces that one file. Promote, advance, publish, remove, and clean carry or delete it with the package. The older advisories/ directory and the single omarchy.advisories.json are not the published form.

@calledtoconstruct

calledtoconstruct commented Oct 4, 2026 •

Copy link
Copy Markdown
Author

This pull request was already merged, so 42390a2 did not land here. The follow-up is #4.

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.

2 participants