Skip to content

feat: add Distribution_Type support for QPKG metadata#53

Open
edhongcy wants to merge 2 commits into
masterfrom
feature/qpkg-config-add-param
Open

feat: add Distribution_Type support for QPKG metadata#53
edhongcy wants to merge 2 commits into
masterfrom
feature/qpkg-config-add-param

Conversation

@edhongcy

Copy link
Copy Markdown
Collaborator

Summary

  • add QPKG_DISTRIBUTION_TYPE to the QPKG template and document the supported values
  • write Distribution_Type into installed qpkg.conf during QPKG registration
  • default the registered value to 0 when the new template field is not set

Why

App Center needs to distinguish QPKGs that are distributed through the
PGM-maintained XML feed from packages that are delivered outside that
channel, so compatibility prompts can skip the latter.

Impact

Existing packages keep the current behavior by registering
Distribution_Type=0 by default.
Packages that should be excluded from XML-based compatibility checks can
set QPKG_DISTRIBUTION_TYPE="1".

Validation

  • sh -n shared/scripts/qinstall.sh
  • bash -n shared/bin/qbuild

@edhongcy edhongcy changed the title [codex] add Distribution_Type support for QPKG metadata feat: add Distribution_Type support for QPKG metadata Jun 23, 2026
@edhongcy edhongcy marked this pull request as ready for review June 23, 2026 13:41
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.

1 participant