Wolfgang Bumiller
392290ec6c
buildsys: improve clean target
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-23 10:50:33 +02:00
Wolfgang Bumiller
77e8db8649
buildsys: add dsc and %-dsc targets
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-23 10:50:27 +02:00
Wolfgang Bumiller
d3f2a86f80
buildsys: get crate list via cargo metadata in Makefile
...
so we don't have to keep this in sync manually
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-12-09 13:18:23 +01:00
Thomas Lamprecht
7c7e2f886c
rest-server: add packaging and bump to 0.2.0
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-10-11 15:09:50 +02:00
Fabian Grünbichler
d7082b037d
make: add proxmox-metrics to crate list
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-08-19 14:20:02 +02:00
Fabian Grünbichler
4ec9a8183d
add new proxmox-subscription crate
...
taking over slighlty generified helpers and types:
- subscription info and status
- checking subscription status with shop
- reading/writing local subscription-related files
the perl-based code uses base64 with newlines for the data, and base64
without padding for the checksum. accordingly, calculate the checksum
with and without newlines, and compare the decoded checksum instead of
the encoded one.
furthermore, the perl-based code encodes the subscription status using
Capitalized values instead of lowercase, so alias those for the time
being.
PVE also stores the serverid as 'validdirectory', so add that as alias
as well.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-07-19 15:20:36 +02:00
Dominik Csapak
b8bf6a5c81
split out compression code into new crate 'proxmox-compression'
...
this removes quite a bit of dependecies of proxmox-async
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
[set proxmox-lang dep to 1.1]
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-21 14:10:53 +01:00
Dietmar Maurer
d357ce2070
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>
2021-11-24 10:00:38 +01:00
Dietmar Maurer
194b028789
proxmox-serde: add new crate with code from proxmox/src/tools/serde.rs
2021-11-24 10:00:38 +01:00
Dietmar Maurer
e1f0eb4aec
proxmox-async: start new crate
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
840154f61b
proxmox-sys: add new crate
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 09:28:32 +01:00
Dietmar Maurer
9828acd2ef
proxmox-shared-memory: shared memory and shared mutex implementation
2021-11-12 18:19:36 +01:00
Wolfgang Bumiller
f35dbbd651
add proxmox-section-config crate
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-11 11:39:59 +02:00
Wolfgang Bumiller
41f3fdfeb9
add proxmox-schema and proxmox-router crates
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-11 11:39:59 +02:00
Wolfgang Bumiller
01a8b6f1bf
add proxmox-io crate
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-11 10:07:53 +02:00
Wolfgang Bumiller
91f59f9f59
add proxmox-lang crate
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-08 15:22:17 +02:00
Wolfgang Bumiller
9b6fe4aceb
add proxmox-time crate
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-08 15:22:17 +02:00
Wolfgang Bumiller
7db0a3c6df
add proxmox-borrow crate
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-08 15:22:17 +02:00
Wolfgang Bumiller
bd67ccc1b3
add proxmox-uuid crate
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-08 15:22:17 +02:00
Wolfgang Bumiller
77dc52c047
add proxmox-tfa crate
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-08 15:22:17 +02:00
Thomas Lamprecht
893cc0455d
buildsys: drop buster from upload target
...
we are not really compatible with pbs1, needs a stable-1 branch if we
need to backport something
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-20 08:59:59 +02:00
Fabian Grünbichler
7b7e1413ff
meta: add empty proxmox-http sub-crate
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-05-17 09:42:16 +02:00
Thomas Lamprecht
89d14b4729
buildsys: upload to both, buster and bullseye for now
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-14 12:08:50 +02:00
Fabian Grünbichler
8e62cf0600
build: add autopkgtest target
...
which runs the autopkgtests on the built packages.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-01-14 14:23:45 +01:00
Wolfgang Bumiller
d84f563d5b
buildsys: drop format check in check target
...
rename 'checkfmt' target to 'fmt'
there's no "apply formatting" target anymore now, this has
to be done manually to not do this by accident
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-03-16 12:21:14 +01:00
Fabian Grünbichler
0e9eb37ea0
build: add -upload target
...
requires 'dcmd' from devscripts to extract binary package file names
from .changes file
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-03-03 11:50:31 +01:00
Wolfgang Bumiller
3312a7ad1b
build fixups
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 12:30:13 +01:00
Wolfgang Bumiller
436bf05e0b
merge api, sys and tools into proxmox directly
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 12:15:42 +01:00
Wolfgang Bumiller
93cf522dd8
Add make dinstall target
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 11:29:39 +01:00
Wolfgang Bumiller
b4a0e64821
explicitly run 'cargo +nightly fmt'
...
drop rust-toolchain file
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-16 10:43:00 +01:00
Fabian Grünbichler
a94de245f0
build: switch to debcargo
...
to autogenerate crate (build)-dependencies, and correct Provides
statements.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-01-15 12:02:47 +01:00
Wolfgang Bumiller
ac45b7cea6
run 'cargo fmt -- --check' in check target
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-11-25 15:08:53 +01:00
Wolfgang Bumiller
80343b1141
add make apitest
...
runs the api test server
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-06-18 17:53:43 +02:00
Wolfgang Bumiller
35a60f765e
add helper Makefile
...
make -> make check
make check -> cargo test
make fmt -> cargo fmt --all
make checkfmt -> cargo fmt --all -- --check
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-06-18 17:49:41 +02:00