[pve-devel] [v3 ha-manager 0/5] packaging cleanup
Fabian Grünbichler
f.gruenbichler at proxmox.com
Wed Oct 10 13:55:02 CEST 2018
restructure packaging and module dependencies to make pve-ha-simulator a
standalone package, and build all packages correctly using dpkg-buildpackage.
standalone pve-ha-simulator tested on plain Debian Stretch, regular packages
tested on PVE.
changelog:
v2 -> v3:
move more code to PVE::HA::Env/PVE::HA::Config instead of using conditional
imports, replacing old patch #1 with new patches #1 and #2
v1 -> v2:
instead of de-duplicating the shipped perl modules via a new binary package, we
ship all files shared with libpve-common-perl and pve-ha-manager a second time
in pve-ha-simulator to make the latter completely independent from other PVE
packages.
other changes include removal of a spuriously introduced dependency
(libdigest-perl-md5-perl is not providing Digest::MD5 ;)) and the addition of
--fail-missing to dh_install to make the build fail early in case the
debian/*.install files are not updated for new files.
Fabian Grünbichler (5):
Tools/Config: refactor lrm status json reading
Tools: remove dependency on PVE::Cluster
build: restructure packaging
build: bump compat level to 10
build: actually ship SOURCE file
Makefile | 17 +------
src/Makefile | 10 ++--
src/PVE/HA/Makefile | 2 +-
src/PVE/HA/Resources/Makefile | 5 --
src/PVE/HA/Sim/Makefile | 6 +--
src/PVE/HA/Sim/Resources/Makefile | 4 +-
src/PVE/Makefile | 1 -
changelog.Debian => debian/changelog | 0
debian/compat | 2 +-
debian/control | 23 +++++++++-
debian/pve-ha-manager.docs | 1 +
debian/pve-ha-manager.install | 34 ++++++++++++++
debian/{triggers => pve-ha-manager.triggers} | 0
debian/pve-ha-simulator.docs | 1 +
debian/pve-ha-simulator.install | 2 +
debian/rules | 14 ++++++
simdebian/compat | 1 -
simdebian/control | 14 ------
simdebian/copyright | 16 -------
simdebian/rules | 20 --------
src/PVE/API2/HA/Resources.pm | 12 ++---
src/PVE/CLI/ha_manager.pm | 2 +-
src/PVE/HA/Config.pm | 43 ++++++++++++++++--
src/PVE/HA/Env.pm | 6 +++
src/PVE/HA/Env/PVE2.pm | 6 +++
src/PVE/HA/LRM.pm | 2 +-
src/PVE/HA/Manager.pm | 2 +-
src/PVE/HA/Sim/Env.pm | 12 +++++
src/PVE/HA/Tools.pm | 48 +-------------------
29 files changed, 160 insertions(+), 146 deletions(-)
rename changelog.Debian => debian/changelog (100%)
create mode 100644 debian/pve-ha-manager.docs
create mode 100644 debian/pve-ha-manager.install
rename debian/{triggers => pve-ha-manager.triggers} (100%)
create mode 100644 debian/pve-ha-simulator.docs
create mode 100644 debian/pve-ha-simulator.install
delete mode 100644 simdebian/compat
delete mode 100644 simdebian/control
delete mode 100644 simdebian/copyright
delete mode 100755 simdebian/rules
--
2.19.1
More information about the pve-devel
mailing list