chore(release): use standard PostgreSQL Debian package naming - #103
Open
aryan-iconic wants to merge 1 commit into
Open
aryan-iconic wants to merge 1 commit into
aryan-iconic wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This updates the Debian package generated by the release workflow to use the standard PostgreSQL extension package naming convention:
For example, the PostgreSQL 18 package is now generated with:
Changes
pg-jsonschematojsonschema.postgresql-<version>-jsonschemanaming convention.Packagemetadata accordingly.Why?
Issue #96 requests a simpler installation experience for
pg_jsonschema, similar to:RUN apt-get update \ && apt-get install -y --no-install-recommends postgresql-18-cronThe current release workflow already generates Debian packages, but their package metadata does not follow the conventional PostgreSQL extension package naming scheme.
This change makes the generated package suitable for consumption by an APT repository using the conventional package name:
Scope
This PR updates the Debian packaging produced by the release workflow. It does not itself publish the packages to
apt.postgresql.orgor another APT repository.Making the package directly installable with:
would additionally require the generated packages to be published through an APT repository available to the user's PostgreSQL container.
This PR therefore provides the packaging groundwork needed for that installation experience.