Go to file
Thomas Lamprecht 3a4881713d add module to centrally track Ceph release info for the backend
Add a small module with a static hash that includes most relevant
meta-info of ceph release. Ceph 15.2 Octopus was used as rather
arbitrary cut-off.
Not all meta-info will be used, but those basic things seemed to not
hurt to add already now.

Further add some helper to query available and available+supported
release codenames and the default release codename and a getter for a
whole release entry.

We currently to not clone entries when returning them, so callers can
mess with the references content, but as this seems unlikely to cause
fallout for this very specific info lets keep it simple for now.

As a implementation details the module experiments with opting into
modern perl feature set through `use v5.36`, allowing signatures and
avoiding the need for enabling warnings/strict modes.
In general all but one of the features that get enabled are pretty
much safe, the problematic one being the feature_bitwise one, which
separates using bitwise operators for numerical and string data types,
causing potential fallout if one used them for a bitwise operation on
a string that should be interpreted as number.

The module will be used in the next commits.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-10-04 16:23:35 +02:00
aplinfo update shipped appliance info index 2024-09-12 11:16:17 +02:00
bin makefile: fix waring typo 2024-07-22 18:28:18 +02:00
configs vzdump config: add fleecing property string 2024-06-12 12:50:47 +02:00
debian d/changelog: drop extra empty line 2024-09-26 12:58:19 +02:00
network-hooks makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
PVE add module to centrally track Ceph release info for the backend 2024-10-04 16:23:35 +02:00
services makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
templates notifications: use named templates instead of in-code templates 2024-06-03 14:16:35 +02:00
test tests: remove vzdump_notification test 2024-06-03 14:16:35 +02:00
www fix #5734: provide missing methods for Proxmox.Utils for mobile ui 2024-09-25 14:49:21 +02:00
.gitignore gitignore: ignore any test artifacts 2024-06-03 14:16:35 +02:00
defines.mk fix #844: allow to pre-delay start-all-marked guests on boot 2019-11-20 20:20:58 +01:00
Makefile notifications: use named templates instead of in-code templates 2024-06-03 14:16:35 +02:00
spice-example-sh doc: spice-example-sh: support special characters in passwords 2017-10-05 13:57:27 +02:00
vzdump-hook-script.pl close #3476: vzdump: add job-init hook 2022-01-18 12:20:26 +01:00