Wolfgang Bumiller
a3e466af88
bump pmg-rs to 0.7.6
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-08-09 14:20:50 +02:00
Lukas Wagner
ea4d87816b
cache: add bindings for SharedCache
...
This is a simple, cache implementation which can be accessed from
multiple processes. It also supports storing a range of historical
values.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
[wb: also update pmg-rs/Cargo.toml and both d/control files]
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-08-09 13:21:01 +02:00
Fabian Grünbichler
9a91594ee6
update to proxmox-log 0.2
...
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-08-06 14:13:31 +02:00
Wolfgang Bumiller
885830935c
update to sys 0.6 and proxmox-log crate
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-17 12:44:46 +02:00
Lukas Wagner
6789b14986
pve-rs: common: send apt update notification via proxmox-notify
...
For PMG we for now only provide an empty stub and warn to syslog -
we need basic notification system integration there first.
On PMG, we still use a pure Perl implementation at the moment,
so this should not be an issue unless we change that.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2024-07-08 15:33:58 +02:00
Dietmar Maurer
89d9debadb
perl-rs: add further apt api calls
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-07-08 15:33:57 +02:00
Dietmar Maurer
9eda29d688
perl-rs: use proxmox-apt-api-types
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-07-08 15:33:29 +02:00
Wolfgang Bumiller
83427e9204
bump proxmox-tfa to 5.0
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-04 10:48:48 +02:00
Wolfgang Bumiller
61b2f69a45
bump proxmox-time to 2.0
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-20 14:11:34 +02:00
Wolfgang Bumiller
da068b1a47
pmg: add api-types feature of proxmox-acme
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-10 12:47:03 +02:00
Wolfgang Bumiller
d0633ac98e
pve,pmg: bump proxmox-notify to 0.4
...
build fixes for pve follow
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-04 10:40:53 +02:00
Wolfgang Bumiller
199be72401
pve,pmg: bump proxmox-notify dependency to 0.3.1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-01-10 14:11:09 +01:00
Wolfgang Bumiller
fb5f1be6dc
bump pmg-rs to 0.7.5
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-07 09:58:06 +01:00
Wolfgang Bumiller
9525623c19
bump pmg-rs to 0.7.4
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-06 11:23:09 +01:00
Wolfgang Bumiller
5ac44c9fbb
pmg: bump acme-rs to 0.5
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-04 11:54:05 +01:00
Thomas Lamprecht
61ab181b01
cargo: depend on notify 0.3
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-11-17 13:38:28 +01:00
Wolfgang Bumiller
c8d4db7836
bump perlmod to 0.13.4 for use_safe_putenv
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-06 09:09:15 +02:00
Wolfgang Bumiller
e9c2ba606d
pmg: buildsys: add notify related dependencies
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-04 09:07:23 +02:00
Fabian Grünbichler
4c6cc7e241
update to env_logger 0.10
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-10-03 10:00:27 +02:00
Wolfgang Bumiller
225b640f1f
bump pmg-rs to 0.7.3
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-07-05 13:35:43 +02:00
Wolfgang Bumiller
06f325fd9d
bump proxmox-tfa dependency to 4.0.4
...
This allows resetting the tfa failure counters on unlock.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-07-05 10:59:52 +02:00
Wolfgang Bumiller
3df4aecac0
bump pmg-rs to 0.7.2
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-06-27 16:01:55 +02:00
Wolfgang Bumiller
39a7399c2c
pmg: bump proxmox-tfa to 4.0.2
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-06-27 15:56:02 +02:00
Wolfgang Bumiller
a4610c6a0f
bump proxmox-apt,http,openid,subscription,sys crate dependencies
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-24 16:05:33 +02:00
Thomas Lamprecht
6b92c01349
pmg: bump version to 0.7.1
...
as the cargo one wasn't bumped, d/changelog still listed bullseye as
distribution for the original 0.7.0 upload and d/control was a bit
dusted, so to avoid any confusion just re-bumped with no actual code
change.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-18 12:34:43 +02:00
Wolfgang Bumiller
34a0068618
undo rust workspace change in preparation for .dsc builds
...
The library ending up a level above the actual code just
makes .dsc/sbuild building very inconvenient, and pve-rs and
pmg-rs often grow independently from one another.
All we need is the common code available.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-17 11:02:00 +02:00
Wolfgang Bumiller
187d43394d
use more workspace variables, upgrade edition
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-04-28 12:40:53 +02:00
Wolfgang Bumiller
29181c7a0e
use workspace dependencies
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-03-07 12:44:15 +01:00
Lukas Wagner
c7c3940718
initialize logging when shared library is loaded
...
This commit sets up logging by hooking into module loading/bootstraping
process to call a new `init` function exported by the `Proxmox::Lib::{PVE,PMG}`
module, which initializes `env_logger` with its default settings.
This allows us to use `log::*` macros from Rust code.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-03-07 12:02:02 +01:00
Fabian Grünbichler
f6b244dfb3
update to nix 0.26
...
and proxmox-sys using it
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-01-05 13:16:26 +01:00
Fabian Grünbichler
9488180f9e
pmg-rs: bump to 0.6.2
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-09-07 12:06:33 +02:00
Fabian Grünbichler
156f3d7727
update to proxmox-subscription 0.3
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-09-07 10:25:12 +02:00
Fabian Grünbichler
95b9307776
update to proxmox-http 0.7
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-09-07 10:25:12 +02:00
Fabian Grünbichler
39c29ee9a4
bump proxmox-sys dependency to 0.4
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-08-02 14:42:50 +02:00
Wolfgang Bumiller
4cc6259a60
bump pmg-rs to 0.6.1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-25 13:46:35 +02:00
Wolfgang Bumiller
ed3bbe6425
bump proxmox-tfa to 2.1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-25 13:45:00 +02:00
Wolfgang Bumiller
9c11a1bea6
bump pmg-rs to 0.6.0
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 15:00:27 +02:00
Wolfgang Bumiller
719c66bf04
bump proxmox-http to 0.6.4
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 14:59:07 +02:00
Wolfgang Bumiller
818886ee45
bump proxmox-apt to 0.9 and proxmox-subscription to 0.2
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 14:54:45 +02:00
Fabian Grünbichler
8d143f8f9e
common: add proxmox_subscription wrapper
...
and expose it for PVE and PMG.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-07-21 12:55:20 +02:00
Wolfgang Bumiller
059d216e12
bump pmg-rs to 0.5.2
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-08 14:49:41 +02:00
Fabian Grünbichler
b67ff27d9e
update to nix 0.24
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-06-02 14:23:07 +02:00
Wolfgang Bumiller
17367e04e5
bump perlmod to 0.13
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-08 10:31:28 +01:00
Wolfgang Bumiller
9c5c624ac5
bump pmg-rs to 0.5.0
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-01 12:02:48 +01:00
Wolfgang Bumiller
ba8dad1190
add common-src/ and move CalendarEvent to it
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-01 10:54:15 +01:00
Wolfgang Bumiller
8d4f76e3b0
bump perlmod to 0.12
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-28 12:11:07 +01:00
Wolfgang Bumiller
10b3faa72c
pmg: drop unused openssl dep
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-01 10:30:23 +01:00
Wolfgang Bumiller
3fc8450e1f
pmg: bump proxmox-acme-rs to 0.4
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-01 10:30:23 +01:00
Wolfgang Bumiller
3cf399605b
bump perlmod to 0.11
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-25 09:40:14 +01:00
Wolfgang Bumiller
aa12b05775
bump perlmod to 0.10
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-12-14 13:58:34 +01:00