Native Debian packaging
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
[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.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment