]> git.proxmox.com Git - proxmox.git/log
proxmox.git
43 hours agolog: bump to 0.2.5-1 master
Wolfgang Bumiller [Mon, 16 Sep 2024 13:11:18 +0000 (15:11 +0200)]
log: bump to 0.2.5-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
43 hours agolog: print error if env-var parsing failed, print correct name
Gabriel Goller [Tue, 10 Sep 2024 13:09:57 +0000 (15:09 +0200)]
log: print error if env-var parsing failed, print correct name

Print error if the parsing of the env-var fails on the proxmox-backup-*
daemons as well. Output correct env-var on binaries that use different
variables.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
43 hours agolog: fallback to stderr if syslog not available
Gabriel Goller [Tue, 10 Sep 2024 13:03:51 +0000 (15:03 +0200)]
log: fallback to stderr if syslog not available

Don't panic when the syslog is not available - which happens commonly in
containers and sbuild environments (chroot and unshare) - instead
fallback to stderr.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
Tested-by: Fiona Ebner <f.ebner@proxmox.com>
12 days agoaccess-control: bump to 0.2.3-1
Wolfgang Bumiller [Thu, 5 Sep 2024 12:25:15 +0000 (14:25 +0200)]
access-control: bump to 0.2.3-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agobuildsys: add targets for raw installation and sysexts
Wolfgang Bumiller [Thu, 5 Sep 2024 09:24:08 +0000 (11:24 +0200)]
buildsys: add targets for raw installation and sysexts

The following targets should be self-explanatory:

    # make install
    $ make DESTDIR=$SOME_PATH install
    # make proxmox-sys-install
    $ make DESTDIR=$SOME_PATH proxmox-sys-install
    # make proxmox-<any other crate name>-install

Additionally, these are used as building blocks to create
systemd-sysext(8) images:

    $ make proxmox-sys-sysext

builds an `extensions/proxmox-sys.raw`

This can be copied/symlinked to `/run/extensions/` and then activated.
As root:

    # ln -s $REPO_DIR/extensions/proxmox-sys.raw /run/extensions/
    # systemd-systext refresh

For the complete workspace, an `extensions/proxmox-workspace.raw` can
be built via

    $ make sysext

This also takes a `CRATES` var to limit the crates which should be
included, and takes an optional `NOCLEAN=1` which prevents cleaning
out the previously installed to "add" new crates on the go:
Assuming there's a symlink like:

    # ln -s $REPO_DIR/extensions/proxmox-workspace.raw /run/extensions/proxmox-workspace.raw

One can modify the installed crates like this:

    $ make CRATES=proxmox-sys sysext
    $ sudo systemd-sysext refresh

Now only the current proxmox-sys crate is overridden.

    $ make NOCLEAN=1 CRATES=proxmox-time sysext
    $ sudo systemd-sysext refresh

Now proxmox-sys as well as proxmox-time are installed.

To undo the changes, either just do, as root:

    # systemd-sysext unmerge

or remove the files which should specifically be dropped from
/run/extensions/ and run as root:

    # systemd-sysext refresh

Another way to temporarily install single crates is to just have the
extensions/ folder *be* the `/run/extensions` folder:

    # rmdir /run/extensions
    # ln -s $REPO_DIR/extensions /run/extensions

Then just build individual extensions:

    $ make proxmox-sys-sysext
    $ sudo systemd-sysext refresh
    $ make proxmox-router-sysext
    $ sudo systemd-sysext refresh

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agoauth-api: bump to 0.4.6
Wolfgang Bumiller [Wed, 4 Sep 2024 13:44:06 +0000 (15:44 +0200)]
auth-api: bump to 0.4.6

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agoacme-api: bump to 0.1.6-1
Wolfgang Bumiller [Wed, 4 Sep 2024 13:42:47 +0000 (15:42 +0200)]
acme-api: bump to 0.1.6-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agoclient: bump to 0.5.0-1
Wolfgang Bumiller [Wed, 4 Sep 2024 13:41:29 +0000 (15:41 +0200)]
client: bump to 0.5.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agoschema: bump to 3.2.0
Wolfgang Bumiller [Wed, 4 Sep 2024 13:38:24 +0000 (15:38 +0200)]
schema: bump to 3.2.0

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agoapi-macro: bump to 1.2.0-1
Wolfgang Bumiller [Wed, 4 Sep 2024 13:36:15 +0000 (15:36 +0200)]
api-macro: bump to 1.2.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agorest-server: bump to 0.8.0-1
Wolfgang Bumiller [Wed, 4 Sep 2024 13:33:46 +0000 (15:33 +0200)]
rest-server: bump to 0.8.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agorouter: bump to 3.0.0-1
Wolfgang Bumiller [Wed, 4 Sep 2024 13:31:28 +0000 (15:31 +0200)]
router: bump to 3.0.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agocompression: bump to 0.2.4-1
Wolfgang Bumiller [Wed, 4 Sep 2024 13:27:12 +0000 (15:27 +0200)]
compression: bump to 0.2.4-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agorouter: split streaming reader impl into 'stream' feature
Wolfgang Bumiller [Wed, 4 Sep 2024 09:20:11 +0000 (11:20 +0200)]
router: split streaming reader impl into 'stream' feature

so 'no-default-features' compiles again

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agorest-server: utilize flush_window for streams
Wolfgang Bumiller [Tue, 3 Sep 2024 10:55:16 +0000 (12:55 +0200)]
rest-server: utilize flush_window for streams

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agocompression: add flush_window to DeflateEncoder
Wolfgang Bumiller [Tue, 3 Sep 2024 10:54:59 +0000 (12:54 +0200)]
compression: add flush_window to DeflateEncoder

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agorouter: add stream helpers to async-decode json-seq
Wolfgang Bumiller [Mon, 2 Sep 2024 13:35:52 +0000 (15:35 +0200)]
router: add stream helpers to async-decode json-seq

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agoclient: expose body, add generic request methods and streaming
Wolfgang Bumiller [Tue, 27 Aug 2024 07:59:07 +0000 (09:59 +0200)]
client: expose body, add generic request methods and streaming

The get/put/post/put_without_body/... methods now have a default
implementation forwarding to a generic `request` method as all our
implementations do the same already anyway.

Additionally, in order to allow easy access to a "streaming body", the
Body type is now exposed.

In the future, this crate may also require a wrapper to standardize
the handling of `application/json-seq` streams if we end up using
them, but for now, a simple way to expose the body is enough to get
going.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agoapi-macro: support new streaming api methods
Wolfgang Bumiller [Fri, 23 Aug 2024 12:54:03 +0000 (14:54 +0200)]
api-macro: support new streaming api methods

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agorouter, rest-server: add StreamSync and StreamAsync API handlers
Wolfgang Bumiller [Fri, 23 Aug 2024 09:15:58 +0000 (11:15 +0200)]
router, rest-server: add StreamSync and StreamAsync API handlers

These are Iterators or Streams which continuously produce output. They
can either be formatted, in which they are serialized like the as
usually, or, if the client caccepts `application/json-seq` via an
`Accept` header, it will be streamed as a sequence directly.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agorouter, rest-server, api-macro: rename Streaming api to Serializing
Wolfgang Bumiller [Fri, 23 Aug 2024 09:09:04 +0000 (11:09 +0200)]
router, rest-server, api-macro: rename Streaming api to Serializing

This does not "stream", but rather skips the intermediate step to
serialize the entire output into a local json string.

We now reserve the "Stream*" prefix for actual *streaming*, that is,
producing an API response which gets streamed continuously as it is
asynchronously produced.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agolog: bump to 0.2.4-1
Wolfgang Bumiller [Thu, 5 Sep 2024 11:47:07 +0000 (13:47 +0200)]
log: bump to 0.2.4-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
12 days agolog: write to stderr when using init_cli_logger, export tracing::Level
Gabriel Goller [Wed, 4 Sep 2024 13:28:56 +0000 (15:28 +0200)]
log: write to stderr when using init_cli_logger, export tracing::Level

Previously when using `env_logger` all of our cli-tools logged to
stderr, make tracing do the same. Export `tracing::Level` so that we can
use the `tracing::enabled!` macro.

Tested-by: Christian Ebner <c.ebner@proxmox.com>
Reviewed-by: Christian Ebner <c.ebner@proxmox.com>
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
2 weeks agorouter: bump to 2.2.4-1
Wolfgang Bumiller [Fri, 30 Aug 2024 11:52:32 +0000 (13:52 +0200)]
router: bump to 2.2.4-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 weeks agolog: bump to 0.2.3-1
Wolfgang Bumiller [Fri, 30 Aug 2024 11:49:49 +0000 (13:49 +0200)]
log: bump to  0.2.3-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 weeks agoadd tracing init_cli_logger and deprecate old one
Gabriel Goller [Thu, 29 Aug 2024 13:40:39 +0000 (15:40 +0200)]
add tracing init_cli_logger and deprecate old one

Deprecate the proxmox-router init_cli_logger function used in client
binaries such as `proxmox-backup-client`, `proxmox-backup-manager`,
'pxar', etc... Add a new init_cli_logger function that uses tracing
instead of env_logger. It checks if the task is in a workertask and
prints the message either to stdout or to the tasklog (this is
neccessary for commands in proxmox-backup-manager that call api handlers
that start workerthreads from the client).

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
2 weeks agorouter: sort cli properties in usage output
Dominik Csapak [Fri, 9 Aug 2024 08:25:25 +0000 (10:25 +0200)]
router: sort cli properties in usage output

If we don't do this, then properties from a serde flattened struct will
be positioned at the end of the list, rather than properly sorted with
the other properties.

Since the tests also feature non-sorted properties, we have to adapt
them too.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 weeks agoschema: bump to 3.1.4-1
Wolfgang Bumiller [Wed, 28 Aug 2024 12:45:07 +0000 (14:45 +0200)]
schema: bump to 3.1.4-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 weeks agoschema: add Schema::unwrap_any_object_schema
Wolfgang Bumiller [Wed, 28 Aug 2024 12:49:56 +0000 (14:49 +0200)]
schema: add Schema::unwrap_any_object_schema

so we have a version we can use in const fns and const{} expressions

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 weeks agoschema: seal ObjectSchemaType and assert Send + Sync
Wolfgang Bumiller [Wed, 28 Aug 2024 12:35:27 +0000 (14:35 +0200)]
schema: seal ObjectSchemaType and assert Send + Sync

While this is technically a breaking API change since the trait is
public, we don't implement it anywhere and it isn't meant to be
implemented from the outside.

Also, encode that these types are all Send + Sync via a super trait
notation.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 weeks agoschema: make Schema::any_object a const fn
Wolfgang Bumiller [Wed, 28 Aug 2024 12:32:39 +0000 (14:32 +0200)]
schema: make Schema::any_object a const fn

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 weeks agoschema: rustfmt
Wolfgang Bumiller [Wed, 28 Aug 2024 12:32:21 +0000 (14:32 +0200)]
schema: rustfmt

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 weeks agosystemd: bump d/control to add missing dependencies
Wolfgang Bumiller [Wed, 28 Aug 2024 12:18:58 +0000 (14:18 +0200)]
systemd: bump d/control to add missing dependencies

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 weeks agosystemd: debcargo: add libsystemd-dev to dependencies
Maximiliano Sandoval [Fri, 23 Aug 2024 13:01:30 +0000 (15:01 +0200)]
systemd: debcargo: add libsystemd-dev to dependencies

`Build-Depends` and `Depends` in d/control are missing `libsystemd-dev`,
resulting in mk-build-deps not being able to install all dependencies
needed by `make deb`.

After running `make deb` the control file looks:

```diff
modified   proxmox-systemd/debian/control
@@ -6,7 +6,8 @@ Build-Depends: debhelper (>= 12),
  cargo:native <!nocheck>,
  rustc:native <!nocheck>,
  libstd-rust-dev <!nocheck>,
- librust-libc-0.2+default-dev (>= 0.2.107-~~) <!nocheck>
+ librust-libc-0.2+default-dev (>= 0.2.107-~~) <!nocheck>,
+ libsystemd-dev <!nocheck>
 Maintainer: Proxmox Support Team <support@proxmox.com>
 Standards-Version: 4.6.2
 Vcs-Git: git://git.proxmox.com/git/proxmox.git
@@ -19,7 +20,8 @@ Architecture: any
 Multi-Arch: same
 Depends:
  ${misc:Depends},
- librust-libc-0.2+default-dev (>= 0.2.107-~~)
+ librust-libc-0.2+default-dev (>= 0.2.107-~~),
+ libsystemd-dev
 Provides:
  librust-proxmox-systemd+default-dev (= ${binary:Version}),
  librust-proxmox-systemd-0-dev (= ${binary:Version}),
```

Suggested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2 weeks agosection-config: fix link to SectionConfigData
Maximiliano Sandoval [Mon, 26 Aug 2024 12:15:36 +0000 (14:15 +0200)]
section-config: fix link to SectionConfigData

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2 weeks agosection-config: fix link to section_config
Maximiliano Sandoval [Mon, 26 Aug 2024 12:15:35 +0000 (14:15 +0200)]
section-config: fix link to section_config

Fixes:

warning: unresolved link to `seccfg`
  --> proxmox-section-config/src/typed.rs:18:71
   |
18 |     /// If the [`SectionConfig`] returned by the [`section_config()`][seccfg] method includes the
   |                                                                       ^^^^^^ no item named `seccfg` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default

warning: unresolved link to `seccfg`
  --> proxmox-section-config/src/typed.rs:22:10
   |
22 |     /// [seccfg] ApiSectionDataEntry::section_config()
   |          ^^^^^^ no item named `seccfg` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2 weeks agoaccess-control: acl: add indentation to docs
Maximiliano Sandoval [Mon, 26 Aug 2024 12:15:34 +0000 (14:15 +0200)]
access-control: acl: add indentation to docs

Fixes:

warning: doc list item missing indentation
   --> proxmox-access-control/src/acl.rs:518:9
    |
518 |     /// -- user/token is more specific than group at each level
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
    = note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
    |
518 |     ///   -- user/token is more specific than group at each level
    |         ++

warning: doc list item missing indentation
   --> proxmox-access-control/src/acl.rs:519:9
    |
519 |     /// -- roles lower in the tree are more specific than those higher up along the path
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
519 |     ///   -- roles lower in the tree are more specific than those higher up along the path
    |         ++

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2 weeks agoapt: sources_parser: remove needless borrow
Maximiliano Sandoval [Mon, 26 Aug 2024 12:15:33 +0000 (14:15 +0200)]
apt: sources_parser: remove needless borrow

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2 weeks agoapt: cache_api: simplify match with unwrap_or_default
Maximiliano Sandoval [Mon, 26 Aug 2024 12:15:32 +0000 (14:15 +0200)]
apt: cache_api: simplify match with unwrap_or_default

Fixes:

warning: match can be simplified with `.unwrap_or_default()`
  --> proxmox-apt/src/cache_api.rs:77:28
   |
77 |           let mut notified = match cache.notified {
   |  ____________________________^
78 | |             Some(notified) => notified,
79 | |             None => std::collections::HashMap::new(),
80 | |         };
   | |_________^ help: replace it with: `cache.notified.unwrap_or_default()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
   = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2 weeks agorouter: completion: remove needles borrow
Maximiliano Sandoval [Mon, 26 Aug 2024 12:15:31 +0000 (14:15 +0200)]
router: completion: remove needles borrow

Fixes:

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> proxmox-router/src/cli/completion.rs:154:25
    |
154 |                         &completion_functions,
    |                         ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `completion_functions`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> proxmox-router/src/cli/completion.rs:201:21
    |
201 |                     &completion_functions,
    |                     ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `completion_functions`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2 weeks agorrd_map: remove unnecessary use of get().is_some()
Maximiliano Sandoval [Mon, 26 Aug 2024 12:15:30 +0000 (14:15 +0200)]
rrd_map: remove unnecessary use of get().is_some()

Fixes:

warning: unnecessary use of `get(rel_path).is_some()`
   --> proxmox-rrd/src/cache/rrd_map.rs:107:21
    |
107 |         if self.map.get(rel_path).is_some() {
    |                     ^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `contains_key(rel_path)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2 weeks agorrd_map: remove unneded return statement
Maximiliano Sandoval [Mon, 26 Aug 2024 12:15:29 +0000 (14:15 +0200)]
rrd_map: remove unneded return statement

Fixes:

warning: unneeded `return` statement
   --> proxmox-rrd/src/cache/rrd_map.rs:117:13
    |
117 |             return Ok(true);
    |             ^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
    = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
    |
117 -             return Ok(true);
117 +             Ok(true)
    |

warning: unneeded `return` statement
   --> proxmox-rrd/src/cache/rrd_map.rs:119:13
    |
119 |             return Ok(false);
    |             ^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
    |
119 -             return Ok(false);
119 +             Ok(false)

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2 weeks agosys: crypt: style + drop unnecessary length check
Wolfgang Bumiller [Wed, 28 Aug 2024 11:04:43 +0000 (13:04 +0200)]
sys: crypt: style + drop unnecessary length check

These are statically sized arrays, not slices, they cannot be empty.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agorouter: bump to 2.2.3-1
Wolfgang Bumiller [Wed, 14 Aug 2024 10:02:13 +0000 (12:02 +0200)]
router: bump to 2.2.3-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agoopenid: bump to 0.10.3-1
Wolfgang Bumiller [Wed, 14 Aug 2024 10:00:58 +0000 (12:00 +0200)]
openid: bump to 0.10.3-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agoproduct-config: bump to 0.2.2-1
Wolfgang Bumiller [Wed, 14 Aug 2024 10:00:02 +0000 (12:00 +0200)]
product-config: bump to 0.2.2-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agolog: bump to 0.2.2-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:52:03 +0000 (11:52 +0200)]
log: bump to 0.2.2-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agoclient: bump to 0.4.1-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:50:34 +0000 (11:50 +0200)]
client: bump to 0.4.1-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agoapt: bump to 0.11.3-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:48:32 +0000 (11:48 +0200)]
apt: bump to 0.11.3-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agorrd: bump to 0.3.1-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:47:35 +0000 (11:47 +0200)]
rrd: bump to 0.3.1-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agosimple-config: bump to 0.1.1-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:44:26 +0000 (11:44 +0200)]
simple-config: bump to  0.1.1-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agouuid: bump to 1.0.3-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:43:04 +0000 (11:43 +0200)]
uuid: bump to 1.0.3-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agodaemon: bump to 0.1.1-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:40:13 +0000 (11:40 +0200)]
daemon: bump to 0.1.1-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agorouter: remove unused deps
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:41 +0000 (11:18 +0200)]
router: remove unused deps

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agoopenid: remove unused dependencies
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:40 +0000 (11:18 +0200)]
openid: remove unused dependencies

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agoproduct-config: remove unused dependencies
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:39 +0000 (11:18 +0200)]
product-config: remove unused dependencies

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agolog: remove unused log dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:37 +0000 (11:18 +0200)]
log: remove unused log dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agoclient: remove unused dependencies
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:35 +0000 (11:18 +0200)]
client: remove unused dependencies

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agoapt: remove unused dependencies
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:34 +0000 (11:18 +0200)]
apt: remove unused dependencies

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agorrd: remove unused libc dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:32 +0000 (11:18 +0200)]
rrd: remove unused libc dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agosimple-config: remove unused log dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:31 +0000 (11:18 +0200)]
simple-config: remove unused log dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agouuid: remove unused libc dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:29 +0000 (11:18 +0200)]
uuid: remove unused libc dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agodaemon: Remove unused once_cell dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:28 +0000 (11:18 +0200)]
daemon: Remove unused once_cell dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agodns-api: bump to 0.1.4-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:19:13 +0000 (11:19 +0200)]
dns-api: bump to 0.1.4-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agodns-api: remove unused dependencies
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:38 +0000 (11:18 +0200)]
dns-api: remove unused dependencies

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agoacme-api: bump to 0.1.5-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:16:32 +0000 (11:16 +0200)]
acme-api: bump to 0.1.5-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agoacme-api: remove unused dependencies
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:33 +0000 (11:18 +0200)]
acme-api: remove unused dependencies

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agoauth-api: bump to 0.4.5
Wolfgang Bumiller [Wed, 14 Aug 2024 09:15:37 +0000 (11:15 +0200)]
auth-api: bump to 0.4.5

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agonetwork-api: bump to 0.1.3-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:14:17 +0000 (11:14 +0200)]
network-api: bump to 0.1.3-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agorest-server: bump to 0.7.1-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:12:57 +0000 (11:12 +0200)]
rest-server: bump to  0.7.1-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agorest-server: remove use of once_cell
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:42 +0000 (11:18 +0200)]
rest-server: remove use of once_cell

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agorest-server: remove unused dependencies
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:36 +0000 (11:18 +0200)]
rest-server: remove unused dependencies

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agosubscription: bump to 0.4.6-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:10:24 +0000 (11:10 +0200)]
subscription: bump to 0.4.6-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agosys: bump to 0.6.3-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:08:58 +0000 (11:08 +0200)]
sys: bump to 0.6.3-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agosys: remove unused base64 dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 09:18:30 +0000 (11:18 +0200)]
sys: remove unused base64 dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agotime: bump to 2.0.1-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:07:57 +0000 (11:07 +0200)]
time: bump to 2.0.1-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agoschema: bump to 3.1.3-1
Wolfgang Bumiller [Wed, 14 Aug 2024 09:06:30 +0000 (11:06 +0200)]
schema: bump to 3.1.3-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agoasync: bump to 0.4.3
Wolfgang Bumiller [Wed, 14 Aug 2024 09:04:40 +0000 (11:04 +0200)]
async: bump to 0.4.3

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 weeks agocargo: remove lazy_static dependency on workspace
Maximiliano Sandoval [Wed, 14 Aug 2024 07:20:01 +0000 (09:20 +0200)]
cargo: remove lazy_static dependency on workspace

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agoschema: remove lazy_static dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 07:20:00 +0000 (09:20 +0200)]
schema: remove lazy_static dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agoacme-api: remove lazy_static dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 07:19:59 +0000 (09:19 +0200)]
acme-api: remove lazy_static dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agoauth-api: remove lazy_static dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 07:19:58 +0000 (09:19 +0200)]
auth-api: remove lazy_static dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agonetwork-api: remove lazy_static dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 07:19:57 +0000 (09:19 +0200)]
network-api: remove lazy_static dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agosys: remove lazy_static dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 07:19:56 +0000 (09:19 +0200)]
sys: remove lazy_static dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agotime: remove lazy_static dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 07:19:55 +0000 (09:19 +0200)]
time: remove lazy_static dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agorest-server: remove lazy_static dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 07:19:54 +0000 (09:19 +0200)]
rest-server: remove lazy_static dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agosubscription: remove lazy_static dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 07:19:53 +0000 (09:19 +0200)]
subscription: remove lazy_static dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agoasync: remove lazy_static dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 07:19:52 +0000 (09:19 +0200)]
async: remove lazy_static dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agodns-api: remove lazy-static dependency
Maximiliano Sandoval [Wed, 14 Aug 2024 07:19:51 +0000 (09:19 +0200)]
dns-api: remove lazy-static dependency

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
4 weeks agocargo: set msrv to 1.80
Maximiliano Sandoval [Wed, 14 Aug 2024 07:19:50 +0000 (09:19 +0200)]
cargo: set msrv to 1.80

In the following commits we make use of std::sync::LazyLock;

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
5 weeks agoclient: bump to 0.4.0-1
Wolfgang Bumiller [Tue, 13 Aug 2024 13:39:44 +0000 (15:39 +0200)]
client: bump to 0.4.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 weeks agoclient: change Token struct
Wolfgang Bumiller [Tue, 13 Aug 2024 13:37:27 +0000 (15:37 +0200)]
client: change Token struct

API tokens between rust & perl code bases are inconsistent... this
needs fixing, but for now this is faster and more compatible.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 weeks agosection-config: bump to 2.1.1-1
Wolfgang Bumiller [Tue, 13 Aug 2024 12:11:21 +0000 (14:11 +0200)]
section-config: bump to 2.1.1-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 weeks agosection-config: make typed data usable with .with_type_key()
Wolfgang Bumiller [Tue, 13 Aug 2024 12:09:07 +0000 (14:09 +0200)]
section-config: make typed data usable with .with_type_key()

The original typed section config data would insert and remove the
type properties. With the introduction of `.with_type_key()` this is
done on the parse/write side instead, so we need to be able to opt out
of this.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 weeks agorrd: bump to 0.3.0-1
Wolfgang Bumiller [Fri, 9 Aug 2024 11:02:52 +0000 (13:02 +0200)]
rrd: bump to 0.3.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 weeks agoshared-cache: bump to 0.1.0-1
Wolfgang Bumiller [Fri, 9 Aug 2024 10:58:39 +0000 (12:58 +0200)]
shared-cache: bump to 0.1.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 weeks agoshared-cache: remove unused dependency on proxmox-schema
Wolfgang Bumiller [Fri, 9 Aug 2024 10:57:42 +0000 (12:57 +0200)]
shared-cache: remove unused dependency on proxmox-schema

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 weeks agoshared-cache: group and sort dependencies
Wolfgang Bumiller [Fri, 9 Aug 2024 10:56:30 +0000 (12:56 +0200)]
shared-cache: group and sort dependencies

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 weeks agosys: bump to 0.6.2-1
Wolfgang Bumiller [Fri, 9 Aug 2024 10:53:11 +0000 (12:53 +0200)]
sys: bump to 0.6.2-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 weeks agorrd: rustfmt and style fix
Wolfgang Bumiller [Fri, 9 Aug 2024 09:17:50 +0000 (11:17 +0200)]
rrd: rustfmt and style fix

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>