tiup icon indicating copy to clipboard operation
tiup copied to clipboard

Native Debian packaging

Open ottok opened this issue 3 months ago • 1 comments

What problem does this PR solve?

Have a debian/ subdirectory upstream with native Debian packaging, so .deb packages can be created directly from master branch or the purposes of testing that new changes upstream do not regress Debian packaging, and/or can be used to publish .deb packages directly by PingCAP.

The contents of this debian/ is similar, but not identical to the non-native official packaging (if) in Debian.

Related to: #2508

What is changed and how it works?

Given the proper build environment with extra PPA enabled, running dpkg-buildpackage -us -uc can produce .deb packages out of this.

Additional changes are needed for a full end-to-end build automation solution. For example the debian/changelog entry and version are now static.

Check List

Tests

  • [x] Integration test
  • [x] Manual test (add detailed scripts or steps below)

Code changes

Branch includes commits from

Side effects #2538 and #2601 which should be reviewed and merged separately, and this PR later rebased and merged as the last thing.

  • [x] Increased code complexity
NONE

ottok avatar Sep 10 '25 21:09 ottok

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign xhebox for approval. For more information see the Code Review Process. Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

ti-chi-bot[bot] avatar Sep 10 '25 21:09 ti-chi-bot[bot]