Go to file
Lukas Wagner 627a95bf89 notify: use file based notification templates
Instead of passing literal template strings to the notification
system, we now only pass an identifier. This identifier will be used
load the template files from a product-specific directory.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Max Carrara <m.carrara@proxmox.com>
Reviewed-by: Max Carrara <m.carrara@proxmox.com>
2024-06-04 10:40:53 +02:00
common notify: use file based notification templates 2024-06-04 10:40:53 +02:00
pmg-rs pve,pmg: bump proxmox-notify to 0.4 2024-06-04 10:40:53 +02:00
pve-rs pve,pmg: bump proxmox-notify to 0.4 2024-06-04 10:40:53 +02:00
.gitignore fixup .gitignore 2022-03-01 11:46:49 +01:00
README.md Add some dev tips to a README 2021-11-09 12:02:53 +01:00

Hints for development:

With the current perlmod, the .pm files don't actually change anymore, since the exported method setup is now handled by the bootstrap rust-function generated by perlmod, so for quicker debugging, you can just keep the installed .pm files from the package and simply link the library to the debug one like so:

NOTE: You may need to adapt the perl version number in this path:

# ln -sf $PWD/target/debug/libpve_rs.so /usr/lib/x86_64-linux-gnu/perl5/5.32/auto/libpve_rs.so

Then just restart pvedaemon/pveproxy after running make pve.