notify: bump to 0.5.2-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2025-01-15 12:10:16 +01:00
parent f2fefb7ffd
commit 94b9f8db60
3 changed files with 41 additions and 24 deletions

View File

@ -1,7 +1,7 @@
[package] [package]
name = "proxmox-notify" name = "proxmox-notify"
description = "implementation of notification base and plugins" description = "implementation of notification base and plugins"
version = "0.5.1" version = "0.5.2"
authors.workspace = true authors.workspace = true
edition.workspace = true edition.workspace = true

View File

@ -1,3 +1,17 @@
rust-proxmox-notify (0.5.2-1) bookworm; urgency=medium
* switch from `log` to `tracing`
* update to proxmox-schema 4 and use builder pattern for `ObjectSchema`
* switch sendmail endpoint to use `proxmox-sendmail` crate
* use forward implementation from `proxmox-sendmail` crate
* fix indentation in webhook documentation
-- Proxmox Support Team <support@proxmox.com> Wed, 15 Jan 2025 12:10:06 +0100
rust-proxmox-notify (0.5.1-1) bookworm; urgency=medium rust-proxmox-notify (0.5.1-1) bookworm; urgency=medium
* sendmail: various cleanups and refactoring * sendmail: various cleanups and refactoring

View File

@ -12,27 +12,28 @@ Build-Depends: debhelper-compat (= 13),
librust-handlebars-3+default-dev <!nocheck>, librust-handlebars-3+default-dev <!nocheck>,
librust-http-0.2+default-dev <!nocheck>, librust-http-0.2+default-dev <!nocheck>,
librust-lettre-0.11+default-dev (>= 0.11.1-~~) <!nocheck>, librust-lettre-0.11+default-dev (>= 0.11.1-~~) <!nocheck>,
librust-log-0.4+default-dev (>= 0.4.17-~~) <!nocheck>,
librust-openssl-0.10+default-dev <!nocheck>, librust-openssl-0.10+default-dev <!nocheck>,
librust-percent-encoding-2+default-dev (>= 2.1-~~) <!nocheck>, librust-percent-encoding-2+default-dev (>= 2.1-~~) <!nocheck>,
librust-proxmox-http-0.9+client-sync-dev (>= 0.9.4-~~) <!nocheck>, librust-proxmox-http-0.9+client-sync-dev (>= 0.9.4-~~) <!nocheck>,
librust-proxmox-http-0.9+default-dev (>= 0.9.4-~~) <!nocheck>, librust-proxmox-http-0.9+default-dev (>= 0.9.4-~~) <!nocheck>,
librust-proxmox-http-error-0.1+default-dev <!nocheck>, librust-proxmox-http-error-0.1+default-dev <!nocheck>,
librust-proxmox-human-byte-0.1+default-dev <!nocheck>, librust-proxmox-human-byte-0.1+default-dev <!nocheck>,
librust-proxmox-schema-3+api-macro-dev (>= 3.1.2-~~) <!nocheck>, librust-proxmox-schema-4+api-macro-dev <!nocheck>,
librust-proxmox-schema-3+api-types-dev (>= 3.1.2-~~) <!nocheck>, librust-proxmox-schema-4+api-types-dev <!nocheck>,
librust-proxmox-schema-3+default-dev (>= 3.1.2-~~) <!nocheck>, librust-proxmox-schema-4+default-dev <!nocheck>,
librust-proxmox-section-config-2+default-dev (>= 2.1.0-~~) <!nocheck>, librust-proxmox-section-config-2+default-dev (>= 2.1.0-~~) <!nocheck>,
librust-proxmox-sendmail-0.1+default-dev <!nocheck>,
librust-proxmox-serde-0.1+default-dev (>= 0.1.1-~~) <!nocheck>, librust-proxmox-serde-0.1+default-dev (>= 0.1.1-~~) <!nocheck>,
librust-proxmox-serde-0.1+serde-json-dev (>= 0.1.1-~~) <!nocheck>, librust-proxmox-serde-0.1+serde-json-dev (>= 0.1.1-~~) <!nocheck>,
librust-proxmox-sys-0.6+default-dev <!nocheck>, librust-proxmox-sys-0.6+default-dev (>= 0.6.5-~~) <!nocheck>,
librust-proxmox-time-2+default-dev <!nocheck>, librust-proxmox-time-2+default-dev <!nocheck>,
librust-proxmox-uuid-1+default-dev (>= 1.0.1-~~) <!nocheck>, librust-proxmox-uuid-1+default-dev (>= 1.0.1-~~) <!nocheck>,
librust-proxmox-uuid-1+serde-dev (>= 1.0.1-~~) <!nocheck>, librust-proxmox-uuid-1+serde-dev (>= 1.0.1-~~) <!nocheck>,
librust-regex-1+default-dev (>= 1.5-~~) <!nocheck>, librust-regex-1+default-dev (>= 1.5-~~) <!nocheck>,
librust-serde-1+default-dev <!nocheck>, librust-serde-1+default-dev <!nocheck>,
librust-serde-1+derive-dev <!nocheck>, librust-serde-1+derive-dev <!nocheck>,
librust-serde-json-1+default-dev <!nocheck> librust-serde-json-1+default-dev <!nocheck>,
librust-tracing-0.1+default-dev <!nocheck>
Maintainer: Proxmox Support Team <support@proxmox.com> Maintainer: Proxmox Support Team <support@proxmox.com>
Standards-Version: 4.7.0 Standards-Version: 4.7.0
Vcs-Git: git://git.proxmox.com/git/proxmox.git Vcs-Git: git://git.proxmox.com/git/proxmox.git
@ -49,13 +50,12 @@ Depends:
librust-anyhow-1+default-dev, librust-anyhow-1+default-dev,
librust-const-format-0.2+default-dev, librust-const-format-0.2+default-dev,
librust-handlebars-3+default-dev, librust-handlebars-3+default-dev,
librust-log-0.4+default-dev (>= 0.4.17-~~),
librust-openssl-0.10+default-dev, librust-openssl-0.10+default-dev,
librust-proxmox-http-error-0.1+default-dev, librust-proxmox-http-error-0.1+default-dev,
librust-proxmox-human-byte-0.1+default-dev, librust-proxmox-human-byte-0.1+default-dev,
librust-proxmox-schema-3+api-macro-dev (>= 3.1.2-~~), librust-proxmox-schema-4+api-macro-dev,
librust-proxmox-schema-3+api-types-dev (>= 3.1.2-~~), librust-proxmox-schema-4+api-types-dev,
librust-proxmox-schema-3+default-dev (>= 3.1.2-~~), librust-proxmox-schema-4+default-dev,
librust-proxmox-section-config-2+default-dev (>= 2.1.0-~~), librust-proxmox-section-config-2+default-dev (>= 2.1.0-~~),
librust-proxmox-serde-0.1+default-dev (>= 0.1.1-~~), librust-proxmox-serde-0.1+default-dev (>= 0.1.1-~~),
librust-proxmox-serde-0.1+serde-json-dev (>= 0.1.1-~~), librust-proxmox-serde-0.1+serde-json-dev (>= 0.1.1-~~),
@ -65,7 +65,8 @@ Depends:
librust-regex-1+default-dev (>= 1.5-~~), librust-regex-1+default-dev (>= 1.5-~~),
librust-serde-1+default-dev, librust-serde-1+default-dev,
librust-serde-1+derive-dev, librust-serde-1+derive-dev,
librust-serde-json-1+default-dev librust-serde-json-1+default-dev,
librust-tracing-0.1+default-dev
Recommends: Recommends:
librust-proxmox-notify+default-dev (= ${binary:Version}) librust-proxmox-notify+default-dev (= ${binary:Version})
Suggests: Suggests:
@ -78,7 +79,7 @@ Suggests:
Provides: Provides:
librust-proxmox-notify-0-dev (= ${binary:Version}), librust-proxmox-notify-0-dev (= ${binary:Version}),
librust-proxmox-notify-0.5-dev (= ${binary:Version}), librust-proxmox-notify-0.5-dev (= ${binary:Version}),
librust-proxmox-notify-0.5.1-dev (= ${binary:Version}) librust-proxmox-notify-0.5.2-dev (= ${binary:Version})
Description: Notification base and plugins - Rust source code Description: Notification base and plugins - Rust source code
Source code for Debianized Rust crate "proxmox-notify" Source code for Debianized Rust crate "proxmox-notify"
@ -95,7 +96,7 @@ Depends:
Provides: Provides:
librust-proxmox-notify-0+default-dev (= ${binary:Version}), librust-proxmox-notify-0+default-dev (= ${binary:Version}),
librust-proxmox-notify-0.5+default-dev (= ${binary:Version}), librust-proxmox-notify-0.5+default-dev (= ${binary:Version}),
librust-proxmox-notify-0.5.1+default-dev (= ${binary:Version}) librust-proxmox-notify-0.5.2+default-dev (= ${binary:Version})
Description: Notification base and plugins - feature "default" Description: Notification base and plugins - feature "default"
This metapackage enables feature "default" for the Rust proxmox-notify crate, This metapackage enables feature "default" for the Rust proxmox-notify crate,
by pulling in any additional dependencies needed by that feature. by pulling in any additional dependencies needed by that feature.
@ -111,7 +112,7 @@ Depends:
Provides: Provides:
librust-proxmox-notify-0+gotify-dev (= ${binary:Version}), librust-proxmox-notify-0+gotify-dev (= ${binary:Version}),
librust-proxmox-notify-0.5+gotify-dev (= ${binary:Version}), librust-proxmox-notify-0.5+gotify-dev (= ${binary:Version}),
librust-proxmox-notify-0.5.1+gotify-dev (= ${binary:Version}) librust-proxmox-notify-0.5.2+gotify-dev (= ${binary:Version})
Description: Notification base and plugins - feature "gotify" Description: Notification base and plugins - feature "gotify"
This metapackage enables feature "gotify" for the Rust proxmox-notify crate, by This metapackage enables feature "gotify" for the Rust proxmox-notify crate, by
pulling in any additional dependencies needed by that feature. pulling in any additional dependencies needed by that feature.
@ -123,11 +124,12 @@ Depends:
${misc:Depends}, ${misc:Depends},
librust-proxmox-notify-dev (= ${binary:Version}), librust-proxmox-notify-dev (= ${binary:Version}),
librust-mail-parser-0.8+default-dev (>= 0.8.2-~~), librust-mail-parser-0.8+default-dev (>= 0.8.2-~~),
librust-proxmox-sys-0.6+default-dev librust-proxmox-sendmail-0.1+mail-forwarder-dev,
librust-proxmox-sys-0.6+default-dev (>= 0.6.5-~~)
Provides: Provides:
librust-proxmox-notify-0+mail-forwarder-dev (= ${binary:Version}), librust-proxmox-notify-0+mail-forwarder-dev (= ${binary:Version}),
librust-proxmox-notify-0.5+mail-forwarder-dev (= ${binary:Version}), librust-proxmox-notify-0.5+mail-forwarder-dev (= ${binary:Version}),
librust-proxmox-notify-0.5.1+mail-forwarder-dev (= ${binary:Version}) librust-proxmox-notify-0.5.2+mail-forwarder-dev (= ${binary:Version})
Description: Notification base and plugins - feature "mail-forwarder" Description: Notification base and plugins - feature "mail-forwarder"
This metapackage enables feature "mail-forwarder" for the Rust proxmox-notify This metapackage enables feature "mail-forwarder" for the Rust proxmox-notify
crate, by pulling in any additional dependencies needed by that feature. crate, by pulling in any additional dependencies needed by that feature.
@ -138,15 +140,15 @@ Multi-Arch: same
Depends: Depends:
${misc:Depends}, ${misc:Depends},
librust-proxmox-notify-dev (= ${binary:Version}), librust-proxmox-notify-dev (= ${binary:Version}),
librust-proxmox-sys-0.6+default-dev librust-proxmox-sys-0.6+default-dev (>= 0.6.5-~~)
Provides: Provides:
librust-proxmox-notify+pve-context-dev (= ${binary:Version}), librust-proxmox-notify+pve-context-dev (= ${binary:Version}),
librust-proxmox-notify-0+pbs-context-dev (= ${binary:Version}), librust-proxmox-notify-0+pbs-context-dev (= ${binary:Version}),
librust-proxmox-notify-0+pve-context-dev (= ${binary:Version}), librust-proxmox-notify-0+pve-context-dev (= ${binary:Version}),
librust-proxmox-notify-0.5+pbs-context-dev (= ${binary:Version}), librust-proxmox-notify-0.5+pbs-context-dev (= ${binary:Version}),
librust-proxmox-notify-0.5+pve-context-dev (= ${binary:Version}), librust-proxmox-notify-0.5+pve-context-dev (= ${binary:Version}),
librust-proxmox-notify-0.5.1+pbs-context-dev (= ${binary:Version}), librust-proxmox-notify-0.5.2+pbs-context-dev (= ${binary:Version}),
librust-proxmox-notify-0.5.1+pve-context-dev (= ${binary:Version}) librust-proxmox-notify-0.5.2+pve-context-dev (= ${binary:Version})
Description: Notification base and plugins - feature "pbs-context" and 1 more Description: Notification base and plugins - feature "pbs-context" and 1 more
This metapackage enables feature "pbs-context" for the Rust proxmox-notify This metapackage enables feature "pbs-context" for the Rust proxmox-notify
crate, by pulling in any additional dependencies needed by that feature. crate, by pulling in any additional dependencies needed by that feature.
@ -160,11 +162,12 @@ Depends:
${misc:Depends}, ${misc:Depends},
librust-proxmox-notify-dev (= ${binary:Version}), librust-proxmox-notify-dev (= ${binary:Version}),
librust-base64-0.13+default-dev, librust-base64-0.13+default-dev,
librust-proxmox-sys-0.6+default-dev librust-proxmox-sendmail-0.1+default-dev,
librust-proxmox-sys-0.6+default-dev (>= 0.6.5-~~)
Provides: Provides:
librust-proxmox-notify-0+sendmail-dev (= ${binary:Version}), librust-proxmox-notify-0+sendmail-dev (= ${binary:Version}),
librust-proxmox-notify-0.5+sendmail-dev (= ${binary:Version}), librust-proxmox-notify-0.5+sendmail-dev (= ${binary:Version}),
librust-proxmox-notify-0.5.1+sendmail-dev (= ${binary:Version}) librust-proxmox-notify-0.5.2+sendmail-dev (= ${binary:Version})
Description: Notification base and plugins - feature "sendmail" Description: Notification base and plugins - feature "sendmail"
This metapackage enables feature "sendmail" for the Rust proxmox-notify crate, This metapackage enables feature "sendmail" for the Rust proxmox-notify crate,
by pulling in any additional dependencies needed by that feature. by pulling in any additional dependencies needed by that feature.
@ -179,7 +182,7 @@ Depends:
Provides: Provides:
librust-proxmox-notify-0+smtp-dev (= ${binary:Version}), librust-proxmox-notify-0+smtp-dev (= ${binary:Version}),
librust-proxmox-notify-0.5+smtp-dev (= ${binary:Version}), librust-proxmox-notify-0.5+smtp-dev (= ${binary:Version}),
librust-proxmox-notify-0.5.1+smtp-dev (= ${binary:Version}) librust-proxmox-notify-0.5.2+smtp-dev (= ${binary:Version})
Description: Notification base and plugins - feature "smtp" Description: Notification base and plugins - feature "smtp"
This metapackage enables feature "smtp" for the Rust proxmox-notify crate, by This metapackage enables feature "smtp" for the Rust proxmox-notify crate, by
pulling in any additional dependencies needed by that feature. pulling in any additional dependencies needed by that feature.
@ -198,7 +201,7 @@ Depends:
Provides: Provides:
librust-proxmox-notify-0+webhook-dev (= ${binary:Version}), librust-proxmox-notify-0+webhook-dev (= ${binary:Version}),
librust-proxmox-notify-0.5+webhook-dev (= ${binary:Version}), librust-proxmox-notify-0.5+webhook-dev (= ${binary:Version}),
librust-proxmox-notify-0.5.1+webhook-dev (= ${binary:Version}) librust-proxmox-notify-0.5.2+webhook-dev (= ${binary:Version})
Description: Notification base and plugins - feature "webhook" Description: Notification base and plugins - feature "webhook"
This metapackage enables feature "webhook" for the Rust proxmox-notify crate, This metapackage enables feature "webhook" for the Rust proxmox-notify crate,
by pulling in any additional dependencies needed by that feature. by pulling in any additional dependencies needed by that feature.