Commit Graph

316 Commits

Author SHA1 Message Date
Thomas Lamprecht
f226c2a26b use pbs-api-types dependency from newly separated package
We moved pbs-api-types out of proxmox-backup and package it now like
our other rust source code crates for better reuse. Switch this use
site over to use the package variant, not the submodule one, as the
latter won't exist anymore once we update the submodule the next time
anyway.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-01-24 08:23:35 +01:00
Fabian Grünbichler
c61d999bee clippy fixes
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-01-17 10:32:52 +01:00
Fabian Grünbichler
16298c5fa0 update to current PBS master
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-01-17 10:32:52 +01:00
Fabian Grünbichler
961846befc update PBS to 3.2.11
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-11-22 08:19:43 +01:00
Fabian Grünbichler
261437c26f update submodule to PBS 3.2.8-1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-10-29 11:46:02 +01:00
Fabian Grünbichler
0088d34542 update to current PBS master
and regenerate d/control accordingly

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-09-04 10:09:57 +02:00
Wolfgang Bumiller
50ecd20e81 regenerate d/control
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-09 13:46:08 +02:00
Filip Schauer
9413af572d bump build dependencies
Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
2024-07-09 13:43:54 +02:00
Fabian Grünbichler
89b0cc8ed6 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>
2024-06-20 12:29:42 +02:00
Fabian Grünbichler
eaa39af53b 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 09:56:51 +02:00
Fabian Grünbichler
c0bb8139a2 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>
2024-06-20 09:56:40 +02:00
Fabian Grünbichler
68d377e49c proxmox-backup: update to current master 2024-06-20 09:56:40 +02:00
Fiona Ebner
2860f6ee65 tree-wide: fix typos in comments
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2024-06-12 12:48:31 +02:00
Filip Schauer
e8400780b5 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>
2024-04-09 10:40:37 +02:00
Wolfgang Bumiller
9ee3e88d12 bump submodule
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-03-25 09:45:24 +01:00
Wolfgang Bumiller
c35034c98f bump schema dep to 3 and submodule
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-03-06 16:54:10 +01:00
Wolfgang Bumiller
3adc6a1787 warnings and clippy fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-01-05 10:44:00 +01:00
Wolfgang Bumiller
947bfbf425 update to current pbs
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-01-05 10:29:44 +01:00
Fabian Grünbichler
a087badbe9 bump version to 1.4.1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-11-28 13:33:09 +01:00
Fabian Grünbichler
d90cdd63a0 update to PBS 3.0.5
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-11-28 13:33:03 +01:00
Wolfgang Bumiller
8984a42b40 update to current PBS for pathpatterns version bump
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-11-03 12:28:13 +01:00
Fabian Grünbichler
8af623b210 update symbols file
missed with last bump

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-10-03 12:02:45 +02:00
Fabian Grünbichler
b68750a609 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>
2023-10-03 12:00:41 +02:00
Filip Schauer
73a09e9672 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>
2023-09-15 16:25:34 +02:00
Thomas Lamprecht
86dcf21ef2 bump version to 1.4.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
8ab65bc12b d/control: raise standards version compliance to 4.6.2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
528a33fed9 d/control: define compat level via build-depends and raise to 13
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
afc3670334 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>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
cda15843fa buildsys: derive upload dist automatically
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
e223c77ac0 buildsys: add DSC & sbuild convenience target
and expand/improve clean target while at it

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
c58e310ede buildsys: always pre-clean for deb target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
198c9ba59d buildsys: use actual build-dir and improve reproducability
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
afe4512f30 d/rules: enforce that the debian package version mateches cargo one
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
c42d3308e4 buildsys: use correct DEB_HOST_ARCH
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
81f4432579 d/control: add missing ${misc:Depends}
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
9421e72129 d/control: make dev package depend on exact version of library package
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
cbcc23c5c7 d/control: fix missin cargo and git build-dependencies
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
38e200a22b 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>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
1c441393c0 debian: wrap-and-sort -tkn
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Thomas Lamprecht
8c5081c366 makefile: convert to use simple parenthesis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 17:55:07 +02:00
Fabian Grünbichler
a90a65deeb build: add patchelf to build-depends
used to strip unnecessarily linked libraries.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-01-19 15:56:56 +01:00
Fabian Grünbichler
890700ff25 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>
2023-01-19 15:23:59 +01:00
Fabian Grünbichler
97c4f5891c 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>
2023-01-19 15:23:59 +01:00
Fabian Grünbichler
39adea972d update d/control
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-01-19 11:13:06 +01:00
Christoph Heiss
f8f36b89fd 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>
2023-01-12 13:34:18 +01:00
Wolfgang Bumiller
06e919aba5 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>
2023-01-12 13:33:56 +01:00
Wolfgang Bumiller
a635046beb cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-01-12 13:29:58 +01:00
Fabian Grünbichler
baa3211ec1 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>
2022-12-12 14:59:13 +01:00
Fabian Grünbichler
658d526595 update edition to 2021
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-12-12 14:59:13 +01:00
Fabian Grünbichler
afd4eff818 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>
2022-12-12 14:59:13 +01:00