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

Design Binary Packaging Architecture #4

Open
8 tasks
theory opened this issue Mar 13, 2024 · 0 comments
Open
8 tasks

Design Binary Packaging Architecture #4

theory opened this issue Mar 13, 2024 · 0 comments
Labels
architecture design Designing the architecture, protocols, tools, and interfaces for PGXN v2 packaging

Comments

@theory
Copy link
Member

theory commented Mar 13, 2024

Design the architecture for the proposed community Packaging repository. Capabilities:

  • Architecture to manage build nodes
  • Webhook to listen for new releases
  • Queue builds to build nodes (VM, containers, or bare metal) for *nix and Windows
  • Support for building against multiple versions of Postgres, at least those still supported by the core
  • Client to download source, build binaries, assemble metadata (including system-specific package and library dependencies) and bundle into a zip file
  • Public key signing for the zip files
  • Post results to Interactions so the binary support can be listed in the Root Registry
  • Repository of zip files for download
  • Mirroring (rsync?)
  • Protocol for third parties to build their own packaging registries that the client can use transparently
  • Binary build events to be consumed by downstream packagers

Should include:

  • Packaging format (also covered by Design Packaging Automation #5)
  • Metadata
  • Registry
  • Build worker node management
  • Build queue
  • Build event publishing
  • Root Registry Webhook callback for new releases
  • Download APIs
@theory theory added design Designing the architecture, protocols, tools, and interfaces for PGXN v2 architecture packaging labels Mar 13, 2024
@theory theory added this to the 1. Design and Plan milestone Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture design Designing the architecture, protocols, tools, and interfaces for PGXN v2 packaging
Projects
Status: Backlog
Development

No branches or pull requests

1 participant