Feature Request: PGXN-ready Artifact Generation in cargo pgrx package#2252
Feature Request: PGXN-ready Artifact Generation in cargo pgrx package#2252Nirajkashyap wants to merge 3 commits intopgcentralfoundation:developfrom
Conversation
|
A few notes here. First, I would not want I also generally feel the same way about a readme file, but I'd be willing to let that happen so long as it's as minimal as possible. As in only lines 1-3 of what's in this PR. Also, I'd prefer the PGXN-specific code be moved into its own If you're up for doing these things I'll take a more in-depth look once you've updated the PR. Thanks! |
- Introduce pgxn module for PGXN package generation - Remove unused license template and update README template - Refactor package.rs to utilize new pgxn module for PGXN package creation
|
HI @eeeebbbbrrrr,
happy to contribute in this project under your guidance. Please help me to test this PR. please forward any link or doc where i can test this. |
PGXN Packaging Support for pgrx
Overview
This proposal adds support in pgrx to generate a PGXN-ready distributable artifact directly from the packaging command.
With a dedicated flag,
cargo pgrx packagewill:META.json(PGXN metadata) from Cargo.toml file OR use existing META.json file present in root folder in PGRX extension..zipor.tar.gzarchiveMotivation
Publishing a pgrx extension to PGXN currently requires several manual steps:
meta.jsonAutomating this workflow will:
Proposed Usage