Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

advisory distribution and caching mechanisms #170

Open
frasertweedale opened this issue Mar 20, 2024 · 1 comment
Open

advisory distribution and caching mechanisms #170

frasertweedale opened this issue Mar 20, 2024 · 1 comment

Comments

@frasertweedale
Copy link
Collaborator

Downstream tools need to retrieve, cache and process advisory data. Syncing our Git repo is one way to do it, but

  • Our repo contains tool code and other SRT artifacts, which the consumers do not need
  • This approach depends on the Git CLI tools. It may be brittle as Git evolves over time, and consumers could have different Git versions.

In favour of Git is that, well, it is the original data. We don't have to do any extra exports or anything special to propagate the "out of band" advisory data that we derive from the Git history (published and modified dates).

We should consider designing an archive/cache format that:

  • Provides the current advisory data including fields derived from Git history
  • Is efficient for queries
  • Does not contain irrelevant SRT artifacts
  • Does not depend on Git
  • Can be cached (avoid unnecessary data transfer when local cache is up to date)
@blackheaven
Copy link
Collaborator

I agree, I guess we can reexport the advisories (though we would have to do a Markdown renderer)

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

No branches or pull requests

2 participants