]> git.proxmox.com Git - proxmox.git/log
proxmox.git
2 years agoproxmox-time: split DateTimeValue into own file
Dominik Csapak [Tue, 30 Nov 2021 12:11:59 +0000 (13:11 +0100)]
proxmox-time: split DateTimeValue into own file

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoproxmox-time: move WeekDays into own file
Dominik Csapak [Tue, 30 Nov 2021 12:11:58 +0000 (13:11 +0100)]
proxmox-time: move WeekDays into own file

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoproxmox-time: move common parse functions to parse_helpers
Dominik Csapak [Tue, 30 Nov 2021 12:11:57 +0000 (13:11 +0100)]
proxmox-time: move common parse functions to parse_helpers

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoproxmox-time: calendar-events: make hour optional
Dominik Csapak [Tue, 30 Nov 2021 12:11:56 +0000 (13:11 +0100)]
proxmox-time: calendar-events: make hour optional

to be compatible with our perl calendar events, we have to make hour optional
in that case we select every hour, so 'X' is the same as writing '*:X'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoproxmox-time: calendar-events: implement repeated ranges
Dominik Csapak [Tue, 30 Nov 2021 12:11:55 +0000 (13:11 +0100)]
proxmox-time: calendar-events: implement repeated ranges

so that we can have e.g. '7..17/2:00' as timespec

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoapi-macro: add #[updater(type = "...")]
Wolfgang Bumiller [Tue, 30 Nov 2021 16:21:20 +0000 (17:21 +0100)]
api-macro: add #[updater(type = "...")]

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoapi-macro: clippy fixes
Wolfgang Bumiller [Tue, 30 Nov 2021 16:00:27 +0000 (17:00 +0100)]
api-macro: clippy fixes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agotime: clippy fixes
Wolfgang Bumiller [Mon, 29 Nov 2021 13:55:22 +0000 (14:55 +0100)]
time: clippy fixes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoio: clippy fixes
Wolfgang Bumiller [Mon, 29 Nov 2021 13:51:26 +0000 (14:51 +0100)]
io: clippy fixes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agosys: add back d/control
Wolfgang Bumiller [Mon, 29 Nov 2021 10:35:39 +0000 (11:35 +0100)]
sys: add back d/control

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump proxmox-sys to 0.2.2
Wolfgang Bumiller [Mon, 29 Nov 2021 10:32:29 +0000 (11:32 +0100)]
bump proxmox-sys to 0.2.2

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agosys: deprecate the identity macro
Wolfgang Bumiller [Mon, 29 Nov 2021 10:31:38 +0000 (11:31 +0100)]
sys: deprecate the identity macro

to be removed with the next major version bump

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agosys: depend on sortable-macro 0.1.2
Wolfgang Bumiller [Mon, 29 Nov 2021 10:30:05 +0000 (11:30 +0100)]
sys: depend on sortable-macro 0.1.2

drops the requirement for the identity macro

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoproxmox-sys: fix a warning in io_bail_last macro
Wolfgang Bumiller [Mon, 29 Nov 2021 10:29:24 +0000 (11:29 +0100)]
proxmox-sys: fix a warning in io_bail_last macro

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump proxmox-tfa to 2.0.0-1
Wolfgang Bumiller [Fri, 26 Nov 2021 13:55:24 +0000 (14:55 +0100)]
bump proxmox-tfa to 2.0.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agotfa: clippy fixes
Wolfgang Bumiller [Fri, 26 Nov 2021 13:55:23 +0000 (14:55 +0100)]
tfa: clippy fixes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agotfa: make configured webauthn origin optional
Wolfgang Bumiller [Fri, 26 Nov 2021 13:55:22 +0000 (14:55 +0100)]
tfa: make configured webauthn origin optional

and add a webauthn origin override parameter to all methods
accessing it

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agotfa: let OriginUrl deref to its inner Url, add FromStr impl
Wolfgang Bumiller [Fri, 26 Nov 2021 13:55:21 +0000 (14:55 +0100)]
tfa: let OriginUrl deref to its inner Url, add FromStr impl

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agotfa: add WebauthnConfig::digest method
Wolfgang Bumiller [Fri, 26 Nov 2021 13:55:20 +0000 (14:55 +0100)]
tfa: add WebauthnConfig::digest method

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agotfa: fix typo in docs
Wolfgang Bumiller [Fri, 26 Nov 2021 13:55:19 +0000 (14:55 +0100)]
tfa: fix typo in docs

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agocleanup: avoid use anyhow::*
Dietmar Maurer [Sun, 28 Nov 2021 11:50:21 +0000 (12:50 +0100)]
cleanup: avoid use anyhow::*

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agobump proxmox-sortable-macro to 0.1.2-1
Wolfgang Bumiller [Fri, 26 Nov 2021 13:10:55 +0000 (14:10 +0100)]
bump proxmox-sortable-macro to 0.1.2-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agosortable-macro: drop anyhow dependency
Wolfgang Bumiller [Wed, 24 Nov 2021 08:16:01 +0000 (09:16 +0100)]
sortable-macro: drop anyhow dependency

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agosortable-macro: remove need for 'identity' macro
Wolfgang Bumiller [Wed, 24 Nov 2021 08:14:38 +0000 (09:14 +0100)]
sortable-macro: remove need for 'identity' macro

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump proxmox-io version to 1.0.1-1
Dietmar Maurer [Thu, 25 Nov 2021 11:15:05 +0000 (12:15 +0100)]
bump proxmox-io version to 1.0.1-1

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agobump proxmox-sys version to 0.2.1
Dietmar Maurer [Thu, 25 Nov 2021 11:11:57 +0000 (12:11 +0100)]
bump proxmox-sys version to 0.2.1

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-io: imported pbs-tools/src/sync/std_channel_writer.rs
Dietmar Maurer [Thu, 25 Nov 2021 10:21:31 +0000 (11:21 +0100)]
proxmox-io: imported pbs-tools/src/sync/std_channel_writer.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: import pipe() function from pbs-toos/src/io.rs
Dietmar Maurer [Thu, 25 Nov 2021 09:34:33 +0000 (10:34 +0100)]
proxmox-sys: import pipe() function from pbs-toos/src/io.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoremove proxmox crate (no longer used)
Dietmar Maurer [Wed, 24 Nov 2021 08:52:32 +0000 (09:52 +0100)]
remove proxmox crate (no longer used)

Most functionality is now in proxmox-sys. The common-regex.rs is
moved back into proxmox-backup-server, because it is only used there.
Serde code is now in new proxmox-serde crate.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agouse new proxmox-sys 0.2.0 for all crates
Dietmar Maurer [Tue, 23 Nov 2021 10:55:22 +0000 (11:55 +0100)]
use new proxmox-sys 0.2.0 for all crates

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agobump proxmox-sys version to 0.2.0
Dietmar Maurer [Tue, 23 Nov 2021 10:31:27 +0000 (11:31 +0100)]
bump proxmox-sys version to 0.2.0

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-serde: add new crate with code from proxmox/src/tools/serde.rs
Dietmar Maurer [Wed, 24 Nov 2021 06:54:40 +0000 (07:54 +0100)]
proxmox-serde: add new crate with code from proxmox/src/tools/serde.rs

2 years agoproxmox-sys: add stortable-macro feature and remove it from proxmox
Dietmar Maurer [Wed, 24 Nov 2021 06:25:08 +0000 (07:25 +0100)]
proxmox-sys: add stortable-macro feature and remove it from proxmox

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: moved nodename from proxmox crate
Dietmar Maurer [Wed, 24 Nov 2021 06:13:11 +0000 (07:13 +0100)]
proxmox-sys: moved nodename from proxmox crate

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: fix regression tests
Dietmar Maurer [Tue, 23 Nov 2021 11:10:10 +0000 (12:10 +0100)]
proxmox-sys: fix regression tests

2 years agoproxmox-sys: fixup worker task log macros
Dietmar Maurer [Tue, 23 Nov 2021 12:26:52 +0000 (13:26 +0100)]
proxmox-sys: fixup worker task log macros

2 years agoproxmox-sys: imported proxmox/src/tools/systemd.rs
Dietmar Maurer [Tue, 23 Nov 2021 10:16:28 +0000 (11:16 +0100)]
proxmox-sys: imported proxmox/src/tools/systemd.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: imported proxmox/src/tools/email.rs
Dietmar Maurer [Tue, 23 Nov 2021 10:06:09 +0000 (11:06 +0100)]
proxmox-sys: imported proxmox/src/tools/email.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: improve dev docs
Dietmar Maurer [Mon, 22 Nov 2021 17:06:13 +0000 (18:06 +0100)]
proxmox-sys: improve dev docs

And move WorkerTaskContext to top level.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: imported pbs-tools/src/command.rs
Dietmar Maurer [Mon, 22 Nov 2021 16:49:03 +0000 (17:49 +0100)]
proxmox-sys: imported pbs-tools/src/command.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: imported pbs-tools/src/acl.rs
Dietmar Maurer [Mon, 22 Nov 2021 16:38:53 +0000 (17:38 +0100)]
proxmox-sys: imported pbs-tools/src/acl.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: imported pbs-tool/src/xattr.rs
Dietmar Maurer [Mon, 22 Nov 2021 16:35:08 +0000 (17:35 +0100)]
proxmox-sys: imported pbs-tool/src/xattr.rs

2 years agoproxmox-sys: move file_get_non_comment_lines to src/fs/file.rs
Dietmar Maurer [Mon, 22 Nov 2021 12:38:16 +0000 (13:38 +0100)]
proxmox-sys: move file_get_non_comment_lines to src/fs/file.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: split xattr code into extra file
Dietmar Maurer [Mon, 22 Nov 2021 12:36:55 +0000 (13:36 +0100)]
proxmox-sys: split xattr code into extra file

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: imported pbs-tools/src/fs.rs to src/fs/read_dir.rs
Dietmar Maurer [Mon, 22 Nov 2021 12:30:59 +0000 (13:30 +0100)]
proxmox-sys: imported pbs-tools/src/fs.rs to src/fs/read_dir.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: imported proxmox tools/sys
Dietmar Maurer [Mon, 22 Nov 2021 11:51:33 +0000 (12:51 +0100)]
proxmox-sys: imported proxmox tools/sys

And split some files into smaller parts.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agobump proxmox-tfa to 1.3.2-1
Wolfgang Bumiller [Mon, 22 Nov 2021 12:26:57 +0000 (13:26 +0100)]
bump proxmox-tfa to 1.3.2-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agofix u2f context instantiation
Wolfgang Bumiller [Mon, 22 Nov 2021 12:25:47 +0000 (13:25 +0100)]
fix u2f context instantiation

don't use the appid for the origin if an origin was
specified

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobum proxmox-sys version to 0.1.2
Dietmar Maurer [Mon, 22 Nov 2021 09:31:10 +0000 (10:31 +0100)]
bum proxmox-sys version to 0.1.2

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: fix test for wrong logrotate path
Dietmar Maurer [Mon, 22 Nov 2021 09:29:24 +0000 (10:29 +0100)]
proxmox-sys: fix test for wrong logrotate path

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoclipy fixes
Wolfgang Bumiller [Mon, 22 Nov 2021 08:07:29 +0000 (09:07 +0100)]
clipy fixes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoadd Mmap::assume_init
Wolfgang Bumiller [Mon, 22 Nov 2021 08:05:13 +0000 (09:05 +0100)]
add Mmap::assume_init

to convert Mmap<MaybeUninit<T>> to Mmap<T>

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump proxmox-async version to 0.2.0
Dietmar Maurer [Sat, 20 Nov 2021 15:55:39 +0000 (16:55 +0100)]
bump proxmox-async version to 0.2.0

2 years agoproxmox-async: improve dev docs
Dietmar Maurer [Sat, 20 Nov 2021 15:52:17 +0000 (16:52 +0100)]
proxmox-async: improve dev docs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: move AsyncChannelWriter to src/io
Dietmar Maurer [Sat, 20 Nov 2021 15:41:53 +0000 (16:41 +0100)]
proxmox-async: move AsyncChannelWriter to src/io

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: move TokioWriterAdapter to blocking
Dietmar Maurer [Sat, 20 Nov 2021 15:38:36 +0000 (16:38 +0100)]
proxmox-async: move TokioWriterAdapter to blocking

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: remove duplicate src/stream/wrapped_reader_stream.rs
Dietmar Maurer [Sat, 20 Nov 2021 15:15:05 +0000 (16:15 +0100)]
proxmox-async: remove duplicate src/stream/wrapped_reader_stream.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: split stream.rs into separate files
Dietmar Maurer [Sat, 20 Nov 2021 15:12:55 +0000 (16:12 +0100)]
proxmox-async: split stream.rs into separate files

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: split blocking.rs into separate files
Dietmar Maurer [Sat, 20 Nov 2021 14:58:04 +0000 (15:58 +0100)]
proxmox-async: split blocking.rs into separate files

2 years agoproxmox-async: add copyright file
Dietmar Maurer [Fri, 19 Nov 2021 15:43:19 +0000 (16:43 +0100)]
proxmox-async: add copyright file

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: imported pbs-tools/src/zip.rs
Dietmar Maurer [Fri, 19 Nov 2021 15:27:35 +0000 (16:27 +0100)]
proxmox-async: imported pbs-tools/src/zip.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: imported pbs-tools/src/compression.rs
Dietmar Maurer [Fri, 19 Nov 2021 15:21:02 +0000 (16:21 +0100)]
proxmox-async: imported pbs-tools/src/compression.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: imported pbs-tools/src/tokio/tokio_writer_adapter.rs
Dietmar Maurer [Fri, 19 Nov 2021 15:16:20 +0000 (16:16 +0100)]
proxmox-async: imported pbs-tools/src/tokio/tokio_writer_adapter.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: imported pbs-tools/src/stream.rs
Dietmar Maurer [Fri, 19 Nov 2021 15:12:31 +0000 (16:12 +0100)]
proxmox-async: imported pbs-tools/src/stream.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: imported pbs-tools/src/broadcast_future.rs
Dietmar Maurer [Fri, 19 Nov 2021 15:06:43 +0000 (16:06 +0100)]
proxmox-async: imported pbs-tools/src/broadcast_future.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-async: start new crate
Dietmar Maurer [Fri, 19 Nov 2021 15:03:09 +0000 (16:03 +0100)]
proxmox-async: start new crate

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: add copyright file
Dietmar Maurer [Fri, 19 Nov 2021 14:47:14 +0000 (15:47 +0100)]
proxmox-sys: add copyright file

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agotfa: remove unnecessary bound attribute
Wolfgang Bumiller [Fri, 19 Nov 2021 11:45:23 +0000 (12:45 +0100)]
tfa: remove unnecessary bound attribute

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agosys: update d/control
Fabian Grünbichler [Fri, 19 Nov 2021 11:12:01 +0000 (12:12 +0100)]
sys: update d/control

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agobump proxmox-tfa to 1.3.1
Fabian Grünbichler [Thu, 18 Nov 2021 12:00:07 +0000 (13:00 +0100)]
bump proxmox-tfa to 1.3.1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agotfa: bump webauthn-rs to 0.3
Fabian Grünbichler [Thu, 18 Nov 2021 12:04:33 +0000 (13:04 +0100)]
tfa: bump webauthn-rs to 0.3

switch WebauthnConfig to use Url for the origin field, via a wrapper
type to make Updater and ApiType happy.

the two new Credential fields `verified` and `registration_policy` are
always set to `false` and `Discouraged`, to get the same behaviour as
before.

Suggested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Tested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agotfa: properly wrap webauthn credentials
Fabian Grünbichler [Fri, 19 Nov 2021 10:17:06 +0000 (11:17 +0100)]
tfa: properly wrap webauthn credentials

this (external) struct gets new fields in webauthn-rs 0.3, so let's
properly wrap / convert it instead of just aliasing, else deserializing
will fail.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agobump proxmox-sys to 0.1.1
Fabian Grünbichler [Fri, 19 Nov 2021 10:46:04 +0000 (11:46 +0100)]
bump proxmox-sys to 0.1.1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agosys: add missing file
Fabian Grünbichler [Fri, 19 Nov 2021 11:05:17 +0000 (12:05 +0100)]
sys: add missing file

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agobump proxmox-http to 0.5.6
Fabian Grünbichler [Thu, 18 Nov 2021 11:43:31 +0000 (12:43 +0100)]
bump proxmox-http to 0.5.6

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agobump proxmox to 0.15.4
Fabian Grünbichler [Thu, 18 Nov 2021 11:41:40 +0000 (12:41 +0100)]
bump proxmox to 0.15.4

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agoall crates: bump base64 dep to 0.13
Fabian Grünbichler [Thu, 18 Nov 2021 11:40:06 +0000 (12:40 +0100)]
all crates: bump base64 dep to 0.13

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agoproxmox-sys: imported pbs-tools/src/task.rs (as worker_task_context.rs)
Dietmar Maurer [Fri, 19 Nov 2021 08:27:23 +0000 (09:27 +0100)]
proxmox-sys: imported pbs-tools/src/task.rs (as worker_task_context.rs)

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: imported pbs-tools/src/logrotate.rs (with various cleanups)
Dietmar Maurer [Fri, 19 Nov 2021 08:17:13 +0000 (09:17 +0100)]
proxmox-sys: imported pbs-tools/src/logrotate.rs (with various cleanups)

- new: CreateOption s instead of owner string
- new: returns Result instead of Option
- new: add max_files  option
- remove new_with_user()

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: imported pbs-tools/src/process_locker.rs
Dietmar Maurer [Fri, 19 Nov 2021 06:40:21 +0000 (07:40 +0100)]
proxmox-sys: imported pbs-tools/src/process_locker.rs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-sys: add new crate
Dietmar Maurer [Fri, 19 Nov 2021 06:35:19 +0000 (07:35 +0100)]
proxmox-sys: add new crate

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agobump proxmox version to 0.15.3-1
Dietmar Maurer [Thu, 18 Nov 2021 12:08:21 +0000 (13:08 +0100)]
bump proxmox version to 0.15.3-1

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox: add fd_change_cloexec
Dietmar Maurer [Thu, 18 Nov 2021 12:06:34 +0000 (13:06 +0100)]
proxmox: add fd_change_cloexec

2 years agobump proxmox-time version to 1.1.0
Dietmar Maurer [Wed, 17 Nov 2021 10:36:39 +0000 (11:36 +0100)]
bump proxmox-time version to 1.1.0

2 years agoproxmox-time: remove custom error type
Dietmar Maurer [Wed, 17 Nov 2021 10:33:13 +0000 (11:33 +0100)]
proxmox-time: remove custom error type

None of the functions we call returns a resonable error number anyways.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-time: added time related fuctions from proxmox-systemd crate.
Dietmar Maurer [Wed, 17 Nov 2021 10:25:17 +0000 (11:25 +0100)]
proxmox-time: added time related fuctions from proxmox-systemd crate.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoRevert "lang: get offsetof const fn ready"
Wolfgang Bumiller [Wed, 17 Nov 2021 09:04:03 +0000 (10:04 +0100)]
Revert "lang: get offsetof const fn ready"

This reverts commit 8f89f9ad60948d4853c05801414cfd152ddef16a.

generates broken code in release builds on current rustc
1.55

2 years agobump proxmox-tfa to 1.3.0-1
Wolfgang Bumiller [Wed, 17 Nov 2021 08:28:22 +0000 (09:28 +0100)]
bump proxmox-tfa to 1.3.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoproxmox-tfa: import tfa api from proxmox-perl-rs as api feature
Wolfgang Bumiller [Tue, 16 Nov 2021 10:58:43 +0000 (11:58 +0100)]
proxmox-tfa: import tfa api from proxmox-perl-rs as api feature

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump proxmox-shared-memory to version 0.1.1-1
Dietmar Maurer [Mon, 15 Nov 2021 10:32:16 +0000 (11:32 +0100)]
bump proxmox-shared-memory to version 0.1.1-1

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-shared-memory: depend on libc 0.2.107
Dietmar Maurer [Mon, 15 Nov 2021 10:29:53 +0000 (11:29 +0100)]
proxmox-shared-memory: depend on libc 0.2.107

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agobump proxmox-http to 0.5.5-1
Dietmar Maurer [Mon, 15 Nov 2021 10:04:39 +0000 (11:04 +0100)]
bump proxmox-http to 0.5.5-1

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-http: impl RateLimiterVec
Dietmar Maurer [Mon, 15 Nov 2021 07:17:21 +0000 (08:17 +0100)]
proxmox-http: impl RateLimiterVec

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agobump proxmox-shared-memory to version 0.1.0-2
Dietmar Maurer [Mon, 15 Nov 2021 06:22:01 +0000 (07:22 +0100)]
bump proxmox-shared-memory to version 0.1.0-2

And add missing debian files.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-shared-memory: avoid compiler warnings
Dietmar Maurer [Mon, 15 Nov 2021 06:28:29 +0000 (07:28 +0100)]
proxmox-shared-memory: avoid compiler warnings

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-shared-memory: remove debug println
Dietmar Maurer [Mon, 15 Nov 2021 06:14:49 +0000 (07:14 +0100)]
proxmox-shared-memory: remove debug println

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agobump proxmox-http version to 0.5.4-1
Dietmar Maurer [Sun, 14 Nov 2021 07:19:15 +0000 (08:19 +0100)]
bump proxmox-http version to 0.5.4-1

2 years agoproxmox-http: RateLimit - remove average_rate
Dietmar Maurer [Sun, 14 Nov 2021 07:15:42 +0000 (08:15 +0100)]
proxmox-http: RateLimit - remove average_rate

Instead, add a method to return overall traffic.

2 years agobump proxmox-http version to 0.5.3-1
Dietmar Maurer [Sat, 13 Nov 2021 16:35:34 +0000 (17:35 +0100)]
bump proxmox-http version to 0.5.3-1

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoproxmox-http: use repr(C) for RateLimiter
Dietmar Maurer [Sat, 13 Nov 2021 16:33:58 +0000 (17:33 +0100)]
proxmox-http: use repr(C) for RateLimiter

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>