303 Commits

Author SHA1 Message Date
a0ff6a2c2e cargo vendor 2024-11-07 13:01:47 +03:00
98cad74cd7 Provided APT perl module installation in .spec 2024-10-31 15:06:25 +03:00
3d83ef76a8 Cargo vendor 2024-10-31 13:33:41 +03:00
7e0b4422e8 Release alt2 2024-10-31 13:21:55 +03:00
16b9e5b03a Reverted apt module disabling 2024-10-31 13:16:15 +03:00
c2fb7aee65 BuildRequires for apt-pkg-native 2024-10-28 18:39:49 +03:00
c60ecec147 git ignored vendored .lock file 2024-10-28 18:26:55 +03:00
685ab6f86c cargo vendor 2024-10-28 18:19:13 +03:00
e0cff923ae alt-linux feature is used by default (Maybe shouldn't) 2024-10-28 18:13:11 +03:00
a47c7bac89 Deps path overrides (temporary refers to Gitea) and alt-linux feature in .toml 2024-10-28 17:53:55 +03:00
843f7a8f6a Revert: ALT: don't use proxmox-apt dependency
Revert da7d89e229
2024-10-28 17:26:11 +03:00
fb259594b4 0.3.4-alt1
- Update:
  + libproxmox-rs-perl 0.3.4
  + libpve-rs-perl 0.8.10
2024-09-09 18:51:44 +03:00
304bbbf0b7 cargo vendor 2024-09-09 18:35:32 +03:00
97190b9336 Local path overrides 2024-09-09 18:32:22 +03:00
48384cab82 Merge remote-tracking branch 'upstream/master'
Revert clear common/src/apt/repositories.rs when proxmox-apt will be
ready.
2024-09-09 18:18:40 +03:00
a63e5fa613 Revert "ALT: fix dependencies overrides"
This reverts commit a8f1616aab.
2024-09-09 16:39:24 +03:00
9113dad57e 0.3.3-alt3
- some notifications fixes (thx andy@)
- Update:
  + libpve-rs-perl 0.8.9
2024-09-06 16:27:24 +03:00
da7d89e229 ALT: don't use proxmox-apt dependency
Revert this commit when proxmox-apt will be ready.
2024-09-06 02:01:48 +03:00
a8f1616aab ALT: fix dependencies overrides
Revert this in the next version.
2024-09-06 02:01:48 +03:00
0bb97dbe0f cargo vendor 2024-09-06 02:01:40 +03:00
e90948a803 ALT: fix deprecated warning 2024-09-05 19:19:29 +03:00
a976211471 Merge commit 'upstream' 2024-09-05 17:58:52 +03:00
ae27b307b8 pve: fix use vs mod grouping
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-08-29 10:31:31 +02:00
dfd8a2e321 bump common to 0.3.4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-08-09 14:22:00 +02:00
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
cdc792005e pve: bump version to 0.8.10
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-08-09 13:46:22 +02:00
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
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
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
b3b8b375c2 apt: minor parameter cleanup
We cannot use &[&str] - since this would be a poitner to a `[&str]`
data structure, that's not how perl stores strings.
But we *can* use Vec<&str> - here, the Vec will be allocated, but the
contents will borrow. We don't need to transform this afterwards.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-08 15:33:58 +02:00
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
89d9debadb perl-rs: add further apt api calls
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-07-08 15:33:57 +02:00
5c994bf942 perl-rs: use api functions from proxmox-apt
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-07-08 15:33:32 +02:00
9eda29d688 perl-rs: use proxmox-apt-api-types
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-07-08 15:33:29 +02:00
83427e9204 bump proxmox-tfa to 5.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-04 10:48:48 +02:00
61b2f69a45 bump proxmox-time to 2.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-20 14:11:34 +02:00
c873ac57d5 build: adapt Makefile to moved cargo config
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-06-20 12:20:42 +02:00
7e3ea35595 pve-rs: pmg-rs: move deprecated .cargo/config to .cargo/config.toml
Fixes the following new warning that appeared after switching
to rust 1.77:

warning: `proxmox-perl-rs/pve-rs/.cargo/config` is deprecated in
favor of `config.toml`

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2024-06-20 12:19:01 +02:00
a34b31054d build: force debug symbols in release build
they then get stripped into their own package anyway, but without this we don't
get debug symbols at all with rustc >= 1.77

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-06-20 10:09:19 +02:00
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
cd0e7b8cd2 pve: bump version to 0.8.9
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-04 11:01:22 +02:00
0b6800b0bd pve: the notify chagnes now break libpve-notify-perl <<8.0.7
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-04 10:42:03 +02:00
dc02255bdc notify: adapt to Option<Vec<T>> to Vec<T> changes in proxmox_notify
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
7ac7fa5b00 notify: don't pass config structs by reference
proxmox_notify's api functions have been changed so that they take
ownership of config structs.

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
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
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
45a1af8ad2 remove old toplevel Makefile
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-04 10:40:53 +02:00
6bed9c40bc remove old rustfmt.toml
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-04 10:40:53 +02:00
2860777e61 buildsys improvements for generated files
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-03 14:00:03 +02:00
4e6598ef85 common: cleanup Proxmox/RS in make clean
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-03 13:25:32 +02:00