]> git.proxmox.com Git - proxmox-backup-qemu.git/log
proxmox-backup-qemu.git
2 weeks agoupdate to current PBS master master
Fabian Grünbichler [Wed, 4 Sep 2024 08:09:57 +0000 (10:09 +0200)]
update to current PBS master

and regenerate d/control accordingly

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 months agoregenerate d/control
Wolfgang Bumiller [Tue, 9 Jul 2024 11:46:08 +0000 (13:46 +0200)]
regenerate d/control

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 months agobump build dependencies
Filip Schauer [Tue, 9 Jul 2024 11:02:37 +0000 (13:02 +0200)]
bump build dependencies

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
2 months agomove .cargo/config to .cargo/config.toml
Fabian Grünbichler [Thu, 20 Jun 2024 10:29:42 +0000 (12:29 +0200)]
move .cargo/config to .cargo/config.toml

the old location has been deprecated for a while, and rustc 1.78 will start to warn about it.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 months agobuild: force debug symbols in release build
Fabian Grünbichler [Thu, 20 Jun 2024 07:56:51 +0000 (09:56 +0200)]
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>
2 months agoheader: adapt to typo fixes
Fabian Grünbichler [Thu, 20 Jun 2024 07:55:55 +0000 (09:55 +0200)]
header: adapt to typo fixes

these don't change the ABI or API, so no breaking bump needed

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 months agoproxmox-backup: update to current master
Fabian Grünbichler [Thu, 20 Jun 2024 07:55:24 +0000 (09:55 +0200)]
proxmox-backup: update to current master

3 months agotree-wide: fix typos in comments
Fiona Ebner [Fri, 19 Jan 2024 09:57:03 +0000 (10:57 +0100)]
tree-wide: fix typos in comments

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
5 months agomake capi_types module public
Filip Schauer [Wed, 13 Mar 2024 13:39:36 +0000 (14:39 +0100)]
make capi_types module public

Commit c7077bb3 moved ProxmoxBackupHandle into a separate file and
accidentally made it private in the process.

Revert this behaviour by making ProxmoxBackupHandle and
ProxmoxRestoreHandle accessible from outside of the crate again. These
handles are used in the function signatures of several public functions,
therefore it makes sense to have them public as well.

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
5 months agobump submodule
Wolfgang Bumiller [Mon, 25 Mar 2024 08:45:24 +0000 (09:45 +0100)]
bump submodule

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 months agobump schema dep to 3 and submodule
Wolfgang Bumiller [Wed, 6 Mar 2024 15:52:26 +0000 (16:52 +0100)]
bump schema dep to 3 and submodule

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
8 months agowarnings and clippy fixups
Wolfgang Bumiller [Fri, 5 Jan 2024 09:43:33 +0000 (10:43 +0100)]
warnings and clippy fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
8 months agoupdate to current pbs
Wolfgang Bumiller [Fri, 5 Jan 2024 09:29:44 +0000 (10:29 +0100)]
update to current pbs

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
9 months agobump version to 1.4.1
Fabian Grünbichler [Tue, 28 Nov 2023 12:12:22 +0000 (13:12 +0100)]
bump version to 1.4.1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
9 months agoupdate to PBS 3.0.5
Fabian Grünbichler [Tue, 28 Nov 2023 12:11:38 +0000 (13:11 +0100)]
update to PBS 3.0.5

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
10 months agoupdate to current PBS for pathpatterns version bump
Wolfgang Bumiller [Fri, 3 Nov 2023 11:27:28 +0000 (12:27 +0100)]
update to current PBS for pathpatterns version bump

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
11 months agoupdate symbols file
Fabian Grünbichler [Tue, 3 Oct 2023 10:02:45 +0000 (12:02 +0200)]
update symbols file

missed with last bump

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
11 months agoupdate to current PBS and cbindgen
Fabian Grünbichler [Tue, 3 Oct 2023 10:00:41 +0000 (12:00 +0200)]
update to current PBS and cbindgen

cbindgen still requires syn 1.x unfortunately, the new version picks up
wakeup_callback which we don't actually need in our interface, so exclude it at
least until the next bump happens for other reasons.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
12 months agobuildsys: bump dependencies to bookworm updates
Filip Schauer [Tue, 12 Sep 2023 09:25:58 +0000 (11:25 +0200)]
buildsys: bump dependencies to bookworm updates

This fixes dependency installation errors when running the
`mk-build-deps --install` command against the current proxmox devel
bookworm repository.

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
15 months agobump version to 1.4.0
Thomas Lamprecht [Sat, 27 May 2023 15:49:26 +0000 (17:49 +0200)]
bump version to 1.4.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agod/control: raise standards version compliance to 4.6.2
Thomas Lamprecht [Sat, 27 May 2023 15:54:59 +0000 (17:54 +0200)]
d/control: raise standards version compliance to 4.6.2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agod/control: define compat level via build-depends and raise to 13
Thomas Lamprecht [Sat, 27 May 2023 15:54:54 +0000 (17:54 +0200)]
d/control: define compat level via build-depends and raise to 13

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agoupdate dependencies for current bookworm state
Thomas Lamprecht [Sat, 27 May 2023 15:47:42 +0000 (17:47 +0200)]
update dependencies for current bookworm state

as we also track the PBS dependencies in d/control, as the workspace
crates we use from there cannot profit from being handled by debian
dependency system, like the others which are shipped as .deb package

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agobuildsys: derive upload dist automatically
Thomas Lamprecht [Sat, 27 May 2023 15:54:01 +0000 (17:54 +0200)]
buildsys: derive upload dist automatically

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agobuildsys: add DSC & sbuild convenience target
Thomas Lamprecht [Sat, 27 May 2023 15:46:39 +0000 (17:46 +0200)]
buildsys: add DSC & sbuild convenience target

and expand/improve clean target while at it

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agobuildsys: always pre-clean for deb target
Thomas Lamprecht [Sat, 27 May 2023 15:46:16 +0000 (17:46 +0200)]
buildsys: always pre-clean for deb target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agobuildsys: use actual build-dir and improve reproducability
Thomas Lamprecht [Sat, 27 May 2023 15:45:45 +0000 (17:45 +0200)]
buildsys: use actual build-dir and improve reproducability

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agod/rules: enforce that the debian package version mateches cargo one
Thomas Lamprecht [Sat, 27 May 2023 15:43:20 +0000 (17:43 +0200)]
d/rules: enforce that the debian package version mateches cargo one

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agobuildsys: use correct DEB_HOST_ARCH
Thomas Lamprecht [Sat, 27 May 2023 15:41:43 +0000 (17:41 +0200)]
buildsys: use correct DEB_HOST_ARCH

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agod/control: add missing ${misc:Depends}
Thomas Lamprecht [Sat, 27 May 2023 15:41:06 +0000 (17:41 +0200)]
d/control: add missing ${misc:Depends}

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agod/control: make dev package depend on exact version of library package
Thomas Lamprecht [Sat, 27 May 2023 15:40:55 +0000 (17:40 +0200)]
d/control: make dev package depend on exact version of library package

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agod/control: fix missin cargo and git build-dependencies
Thomas Lamprecht [Sat, 27 May 2023 15:39:58 +0000 (17:39 +0200)]
d/control: fix missin cargo and git build-dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agouse PBS workspace crates from submodule
Thomas Lamprecht [Sat, 27 May 2023 15:37:49 +0000 (17:37 +0200)]
use PBS workspace crates from submodule

to allow easier building in restricted environments, in core
principle nothing changes, those crates got and get in via git, some
way or another.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agodebian: wrap-and-sort -tkn
Thomas Lamprecht [Sat, 27 May 2023 10:32:34 +0000 (12:32 +0200)]
debian: wrap-and-sort -tkn

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agomakefile: convert to use simple parenthesis
Thomas Lamprecht [Sat, 27 May 2023 10:31:04 +0000 (12:31 +0200)]
makefile: convert to use simple parenthesis

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 months agobuild: add patchelf to build-depends
Fabian Grünbichler [Thu, 19 Jan 2023 14:56:56 +0000 (15:56 +0100)]
build: add patchelf to build-depends

used to strip unnecessarily linked libraries.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
19 months agoupdate d/control
Fabian Grünbichler [Thu, 19 Jan 2023 14:18:46 +0000 (15:18 +0100)]
update d/control

with improved cargo-fairy that actually picks up all of the transitive
dependencies.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
19 months agobuild: add cbindgen to regular dependencies
Fabian Grünbichler [Thu, 19 Jan 2023 10:14:10 +0000 (11:14 +0100)]
build: add cbindgen to regular dependencies

so that it gets properly included in d/control

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
19 months agoupdate d/control
Fabian Grünbichler [Thu, 19 Jan 2023 10:13:06 +0000 (11:13 +0100)]
update d/control

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agosimpletest: Fix build after API change
Christoph Heiss [Thu, 12 Jan 2023 10:35:17 +0000 (11:35 +0100)]
simpletest: Fix build after API change

This was broken long ago, first with 3edf5d1 AFAICT.
Also fixes the make dependency of `simpletest` on `build`, so that `make
simpletest` works on a fresh checkout.

Fixes: 3edf5d1 ("add compress and encrypt paramaters")
Fixes: d8aa155 ("api: add master key support")
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
20 months agobump pbs deps to current git
Wolfgang Bumiller [Thu, 12 Jan 2023 12:33:55 +0000 (13:33 +0100)]
bump pbs deps to current git

for the nix 0.26 bump so we can actually build & test again

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
20 months agocleanup
Wolfgang Bumiller [Thu, 12 Jan 2023 12:29:58 +0000 (13:29 +0100)]
cleanup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
21 months agobump version to 1.3.2-1 and update symbols file
Fabian Grünbichler [Mon, 12 Dec 2022 12:05:41 +0000 (13:05 +0100)]
bump version to 1.3.2-1 and update symbols file

this optional symbol having disappeared doesn't stop the library from being loaded by old Qemu.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
21 months agoupdate edition to 2021
Fabian Grünbichler [Mon, 12 Dec 2022 12:05:40 +0000 (13:05 +0100)]
update edition to 2021

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
21 months agolint fix: explicitly drop Box
Fabian Grünbichler [Mon, 12 Dec 2022 12:05:39 +0000 (13:05 +0100)]
lint fix: explicitly drop Box

else this complains about a missing usage of the return value..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
21 months agoclippy fix: shorten bool->i32 conversion
Fabian Grünbichler [Mon, 12 Dec 2022 12:05:38 +0000 (13:05 +0100)]
clippy fix: shorten bool->i32 conversion

i32 implements From<bool> with the desired semantics, this still makes it
obvious that the conversion happens, although a plain `.into()` would also
work.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
21 months agoclippy fixes
Fabian Grünbichler [Mon, 12 Dec 2022 12:05:37 +0000 (13:05 +0100)]
clippy fixes

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
21 months agoupdate to current PBS head
Fabian Grünbichler [Mon, 12 Dec 2022 12:05:36 +0000 (13:05 +0100)]
update to current PBS head

to reduce transitive dependencies pulled in by pbs-config, like proxmox-metrics

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agobump version to 1.3.1-1
Thomas Lamprecht [Fri, 13 May 2022 11:59:50 +0000 (13:59 +0200)]
bump version to 1.3.1-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump pbs crates to current git
Thomas Lamprecht [Fri, 13 May 2022 11:58:22 +0000 (13:58 +0200)]
bump pbs crates to current git

to ensure we poull in the s/backup-ns/ns/ switch.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoupdate symbols
Thomas Lamprecht [Thu, 12 May 2022 12:00:47 +0000 (14:00 +0200)]
update symbols

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 1.3.0-1
Thomas Lamprecht [Thu, 12 May 2022 11:56:24 +0000 (13:56 +0200)]
bump version to 1.3.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoupdate current-api.h
Wolfgang Bumiller [Tue, 26 Apr 2022 13:59:58 +0000 (15:59 +0200)]
update current-api.h

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agosupport namespaces
Wolfgang Bumiller [Tue, 26 Apr 2022 13:32:21 +0000 (15:32 +0200)]
support namespaces

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump pbs crates to current git
Wolfgang Bumiller [Thu, 12 May 2022 10:25:00 +0000 (12:25 +0200)]
bump pbs crates to current git

and align them for easier block-editing in vim ;-)

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump d/control
Wolfgang Bumiller [Tue, 26 Apr 2022 13:36:09 +0000 (15:36 +0200)]
bump d/control

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump proxmox-async to 0.4
Wolfgang Bumiller [Thu, 12 May 2022 10:21:06 +0000 (12:21 +0200)]
bump proxmox-async to 0.4

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump cbindgen
Wolfgang Bumiller [Tue, 26 Apr 2022 13:06:18 +0000 (15:06 +0200)]
bump cbindgen

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agorustfmt
Wolfgang Bumiller [Tue, 26 Apr 2022 11:48:44 +0000 (13:48 +0200)]
rustfmt

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agocomplete d/control
Wolfgang Bumiller [Wed, 24 Nov 2021 12:44:25 +0000 (13:44 +0100)]
complete d/control

Since we have git dependencies on pbs-api-types,tools,... we
need to actually include all of *their* dependencies as well
in our d/control file...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump d/control
Wolfgang Bumiller [Wed, 24 Nov 2021 11:23:47 +0000 (12:23 +0100)]
bump d/control

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump version to 1.2.1-1
Dietmar Maurer [Wed, 24 Nov 2021 10:47:36 +0000 (11:47 +0100)]
bump version to 1.2.1-1

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agofix clippy warnings
Fabian Grünbichler [Wed, 24 Nov 2021 08:18:13 +0000 (09:18 +0100)]
fix clippy warnings

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agoupdate dependencies to latest proxmox-backup git version
Dietmar Maurer [Fri, 5 Nov 2021 12:16:43 +0000 (13:16 +0100)]
update dependencies to latest proxmox-backup git version

use commit 0ff214bedddce3c8773f742b66c455c4bad4083f, which uses
new proxmox-sys crate.

Also remove proxmox crate completely, and use hex crate.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agobump version to 1.2.0-1
Thomas Lamprecht [Mon, 5 Jul 2021 18:14:35 +0000 (20:14 +0200)]
bump version to 1.2.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate ABI initially for build on bullseye
Thomas Lamprecht [Mon, 5 Jul 2021 18:55:24 +0000 (20:55 +0200)]
update ABI initially for build on bullseye

much moving around, no actual relevant changes FWICT

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobuildsys: switch to bullseye as upload dist target
Thomas Lamprecht [Mon, 5 Jul 2021 18:54:28 +0000 (20:54 +0200)]
buildsys: switch to bullseye as upload dist target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/copyright: fix dates
Thomas Lamprecht [Mon, 5 Jul 2021 18:54:12 +0000 (20:54 +0200)]
d/copyright: fix dates

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/compat: use comapt level 12
Thomas Lamprecht [Mon, 5 Jul 2021 18:54:00 +0000 (20:54 +0200)]
d/compat: use comapt level 12

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocargo: update cbindgen to 0.17.0
Thomas Lamprecht [Mon, 5 Jul 2021 17:57:30 +0000 (19:57 +0200)]
cargo: update cbindgen to 0.17.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 1.1.0-1
Thomas Lamprecht [Wed, 16 Jun 2021 11:52:39 +0000 (13:52 +0200)]
bump version to 1.1.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate proxmox and tokio dependencies
Thomas Lamprecht [Wed, 16 Jun 2021 11:52:24 +0000 (13:52 +0200)]
update proxmox and tokio dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoaccess: use CachedChunkReader
Stefan Reiter [Mon, 7 Jun 2021 15:35:32 +0000 (17:35 +0200)]
access: use CachedChunkReader

Use the new CachedChunkReader with the shared_cache implementation to
provide a concurrency-safe async way of accessing data. This provides
two benefits:

* uses a shared LRU cache, which is very helpful for random-access like
  during a live-restore
* does away with the global Mutex in read_image_at, providing real
  concurrency without lock contention

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
3 years agoadd shared_cache module
Stefan Reiter [Mon, 7 Jun 2021 15:35:31 +0000 (17:35 +0200)]
add shared_cache module

Provides a shared AsyncLruCache of 256MB (w/ 4MB chunks) that can be
used by multiple readers at the same time. It is dropped once no more
readers exist, so the memory gets freed if all QEMU block/pbs instances
disappear.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
3 years agobump version to 1.0.3-1
Thomas Lamprecht [Fri, 12 Feb 2021 09:59:11 +0000 (10:59 +0100)]
bump version to 1.0.3-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobuildsys: patch out unused dependencies from library
Thomas Lamprecht [Fri, 12 Feb 2021 11:35:45 +0000 (12:35 +0100)]
buildsys: patch out unused dependencies from library

mirrors the changes from proxmox-backup commit
198ebc6c86380351662b8b01537f449538ff1e6b [0]

[0]: https://git.proxmox.com/?p=proxmox-backup.git;a=commit;h=198ebc6c86380351662b8b01537f449538ff1e6b

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocargo: update once_cell and proxmox crates
Thomas Lamprecht [Fri, 12 Feb 2021 10:13:22 +0000 (11:13 +0100)]
cargo: update once_cell and proxmox crates

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/control: record breaks for older pve-qemu-kvm
Thomas Lamprecht [Fri, 12 Feb 2021 09:57:32 +0000 (10:57 +0100)]
d/control: record breaks for older pve-qemu-kvm

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/symbols: reflect changes to proxmox_backup_new
Thomas Lamprecht [Fri, 12 Feb 2021 10:50:28 +0000 (11:50 +0100)]
d/symbols: reflect changes to proxmox_backup_new

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoapi: add master key support
Fabian Grünbichler [Mon, 8 Feb 2021 13:08:32 +0000 (14:08 +0100)]
api: add master key support

this is a breaking change/API extension.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agobuild: track symbols
Fabian Grünbichler [Tue, 9 Feb 2021 11:29:33 +0000 (12:29 +0100)]
build: track symbols

for easier auto-generation of versioned deps. when adding new symbols,
the build should display a warning + diff (in addition to our manual
tracking of the generated header file). changes in symbol signatures or
semantics are not caught automatically by the symbols file, but still
require bumping the minimum library version for that symbol accordingly.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agobuild: switch back to latest proxmox-backup tag
Fabian Grünbichler [Wed, 10 Feb 2021 10:50:09 +0000 (11:50 +0100)]
build: switch back to latest proxmox-backup tag

instead of path dependency

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agouse new HttpClientOptions constructors
Fabian Grünbichler [Mon, 25 Jan 2021 13:43:02 +0000 (14:43 +0100)]
use new HttpClientOptions constructors

and make password non-optional from the start.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agouse UploadOptions for uploading Blobs
Fabian Grünbichler [Mon, 25 Jan 2021 13:43:01 +0000 (14:43 +0100)]
use UploadOptions for uploading Blobs

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoupdate Cargo.toml
Fabian Grünbichler [Thu, 14 Jan 2021 14:58:02 +0000 (15:58 +0100)]
update Cargo.toml

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoupdate to tokio 1.0
Fabian Grünbichler [Mon, 7 Dec 2020 12:59:10 +0000 (13:59 +0100)]
update to tokio 1.0

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoCargo.toml: bump to tokio 1.0
Fabian Grünbichler [Mon, 7 Dec 2020 12:58:56 +0000 (13:58 +0100)]
Cargo.toml: bump to tokio 1.0

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agod/control: add cbindgen to build-deps
Fabian Grünbichler [Mon, 30 Nov 2020 12:41:45 +0000 (13:41 +0100)]
d/control: add cbindgen to build-deps

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agobump version to 1.0.2-1
Dietmar Maurer [Wed, 25 Nov 2020 07:32:46 +0000 (08:32 +0100)]
bump version to 1.0.2-1

3 years agoreturn version via rust fn instead of header define
Stefan Reiter [Tue, 24 Nov 2020 15:41:21 +0000 (16:41 +0100)]
return version via rust fn instead of header define

Otherwise the string gets included in the QEMU binary, not the library.

Suggested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
3 years agofingerprint: rename variables
Fabian Grünbichler [Tue, 24 Nov 2020 13:05:20 +0000 (14:05 +0100)]
fingerprint: rename variables

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoencryption key tracking: use fingerprint
Fabian Grünbichler [Tue, 24 Nov 2020 13:05:18 +0000 (14:05 +0100)]
encryption key tracking: use fingerprint

but accept old variant as well for now, to not invalidate bitmaps for
freshly migrated VMs.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agodepend on proxmox-backup v1.0.4
Dietmar Maurer [Wed, 25 Nov 2020 07:21:36 +0000 (08:21 +0100)]
depend on proxmox-backup v1.0.4

3 years agobump version to 1.0.1-1
Dietmar Maurer [Tue, 24 Nov 2020 08:09:24 +0000 (09:09 +0100)]
bump version to 1.0.1-1

3 years agodepend on proxmox-backup v1.0.3
Dietmar Maurer [Tue, 24 Nov 2020 08:07:02 +0000 (09:07 +0100)]
depend on proxmox-backup v1.0.3

3 years agorestore: improve error if key is missing
Fabian Grünbichler [Fri, 20 Nov 2020 16:38:45 +0000 (17:38 +0100)]
restore: improve error if key is missing

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoadapt to proxmox-backup fingerprint changes
Fabian Grünbichler [Fri, 20 Nov 2020 16:38:44 +0000 (17:38 +0100)]
adapt to proxmox-backup fingerprint changes

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agobump version to 1.0.0-1
Fabian Grünbichler [Wed, 11 Nov 2020 13:40:33 +0000 (14:40 +0100)]
bump version to 1.0.0-1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoinclude crate version and git rev in header file
Stefan Reiter [Thu, 5 Nov 2020 11:17:57 +0000 (12:17 +0100)]
include crate version and git rev in header file

...so we can get the library version a binary is currently running with.

Version information is retrieved from the build environment (set by
cargo/make) and appended using 'with_after_include' to appear within the
include guard.

The version string in current-api.h is inconsequential, so ignore it in
diff. This way we only have to re-commit that file whenever the *actual*
API changes, not the version.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
modified to avoid spawning subcommands

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
3 years agoupdate dependencies
Fabian Grünbichler [Wed, 11 Nov 2020 13:27:30 +0000 (14:27 +0100)]
update dependencies

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>