[pve-devel] [PATCH-SERIES] move jobs from pve-manager
Fabian Grünbichler
f.gruenbichler at proxmox.com
Fri Apr 8 09:44:35 CEST 2022
On March 22, 2022 8:34 am, Hannes Laimer wrote:
> The VZDump plugin was moved to pve-guest-common because it is used by
> both CTs and VMs. Since the Jobs.pm contains helpers that depend on the
> VZDump plugin, it was also moved to pve-guest-common. The base jobs
> plugin was moved to pve-cluster since it does not really depend on
> anything and might be used in many places.
>
> Version bumps are needed.
actually (although it's pretty obvious in this case given the
description above and the diff stats below ;):
version bumps, versioned dependencies and breaks+replaces since files
are moved from one package to another while keeping their paths!
pve-manager depends on bumped pve-cluster and bumped pve-guest-common (using moved files)
pve-guest-common depends on bumped pve-cluster (using moved files)
pve-guest-common breaks & replaces old pve-manager (taking over files)
pve-cluster breaks & replaces old pve-manager (taking over file)
replace pve-cluster with new binary package possibly (see patch #1)
but alas, this requires some more work/thought anyway - see patch #2.
>
> pve-cluster:
>
> Hannes Laimer (1):
> jobs: move base plugin from pve-manager
>
> data/PVE/Jobs/Makefile | 11 ++++
> data/PVE/Jobs/Plugin.pm | 101 +++++++++++++++++++++++++++++++++++++
> data/PVE/Makefile | 2 +-
> debian/pve-cluster.install | 1 +
> 4 files changed, 114 insertions(+), 1 deletion(-)
> create mode 100644 data/PVE/Jobs/Makefile
> create mode 100644 data/PVE/Jobs/Plugin.pm
>
>
> pve-guest-common:
>
> Hannes Laimer (1):
> jobs: move VZDump plugin from pve-manager
>
> src/Makefile | 4 +
> src/PVE/Jobs.pm | 282 +++++++++++++++++++++++++++++++++++++++++
> src/PVE/Jobs/VZDump.pm | 87 +++++++++++++
> 3 files changed, 373 insertions(+)
> create mode 100644 src/PVE/Jobs.pm
> create mode 100644 src/PVE/Jobs/VZDump.pm
>
>
> pve-manager:
>
> Hannes Laimer (1):
> jobs: move to pve-cluster and pve-guest-common
>
> PVE/Jobs.pm | 282 ---------------------------------------------
> PVE/Jobs/Makefile | 16 ---
> PVE/Jobs/Plugin.pm | 101 ----------------
> PVE/Jobs/VZDump.pm | 87 --------------
> PVE/Makefile | 3 +-
> 5 files changed, 1 insertion(+), 488 deletions(-)
> delete mode 100644 PVE/Jobs.pm
> delete mode 100644 PVE/Jobs/Makefile
> delete mode 100644 PVE/Jobs/Plugin.pm
> delete mode 100644 PVE/Jobs/VZDump.pm
>
> --
> 2.30.2
>
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
>
>
More information about the pve-devel
mailing list