Commit Graph

100 Commits

Author SHA1 Message Date
Wolfgang Bumiller
4cc6259a60 bump pmg-rs to 0.6.1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-25 13:46:35 +02:00
Wolfgang Bumiller
c978d1384b bump pve-rs to 0.7.1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-25 13:46:20 +02:00
Wolfgang Bumiller
ed3bbe6425 bump proxmox-tfa to 2.1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-25 13:45:00 +02:00
Thomas Lamprecht
f337b67f4c buildsys: fix common upload target interpretation
FWICT there's no way to escape the comma directly, so use a
intermediate variable to pass the correct value to the call

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-25 11:43:42 +02:00
Wolfgang Bumiller
301bfb5b9a bump common to 0.2.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 15:01:47 +02:00
Wolfgang Bumiller
75796e3275 common: depend on next pve-rs/pmg-rs bump
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 15:01:20 +02:00
Wolfgang Bumiller
9c11a1bea6 bump pmg-rs to 0.6.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 15:00:27 +02:00
Wolfgang Bumiller
d60b0a3ca3 bump pve-rs to 0.7.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 15:00:27 +02:00
Wolfgang Bumiller
54d694bbaf pmg: bump d/control
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 15:00:27 +02:00
Wolfgang Bumiller
73b295e8c2 pve: bump d/control
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 15:00:27 +02:00
Wolfgang Bumiller
719c66bf04 bump proxmox-http to 0.6.4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 14:59:07 +02:00
Wolfgang Bumiller
818886ee45 bump proxmox-apt to 0.9 and proxmox-subscription to 0.2
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-21 14:54:45 +02:00
Fabian Grünbichler
31a1c78845 common: adapt to changes in proxmox_subscription
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-07-21 14:44:12 +02:00
Fabian Grünbichler
95e5e59fd0 cargo fmt
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-07-21 13:33:37 +02:00
Fabian Grünbichler
03bba92a8b adapt to proxmox-apt changes
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-07-21 13:00:53 +02:00
Fabian Grünbichler
8d143f8f9e common: add proxmox_subscription wrapper
and expose it for PVE and PMG.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-07-21 12:55:20 +02:00
Wolfgang Bumiller
8fe90d189c buildsys: add common-upload target
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-08 14:54:22 +02:00
Wolfgang Bumiller
c078098160 bump common version to 0.1.2
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-08 14:50:46 +02:00
Wolfgang Bumiller
2ae629ac44 bump pve-rs to 0.6.2
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-08 14:49:47 +02:00
Wolfgang Bumiller
059d216e12 bump pmg-rs to 0.5.2
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-08 14:49:41 +02:00
Wolfgang Bumiller
a50a2191e8 common: depend on next pmg/pve bump
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-08 14:48:11 +02:00
Fabian Ebner
f386660b4b move apt repositories module to common
while introducing a 'product' parameter to the relevant functions and
adding wrappers for backwards-compatibility.

Suggested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-07-08 14:29:54 +02:00
Wolfgang Bumiller
c3982c55b8 common: fix base for PMG
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-07-06 12:34:41 +02:00
Thomas Lamprecht
b2a4623ac7 d/control: update build-dep for nix rs dependency to 0.24
was missed in commit b67ff27d9e

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-20 10:33:13 +02:00
Thomas Lamprecht
3db78c95c3 buildsys: remove common-deb flag file too on clean
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-20 10:21:19 +02:00
Thomas Lamprecht
0ddf4db934 common: bump version to 0.1.1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-20 10:21:19 +02:00
Fabian Grünbichler
b67ff27d9e update to nix 0.24
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-06-02 14:23:07 +02:00
Stoiko Ivanov
84c52f3810 common: d/control: break/replace libpve-rs-perl (<< 0.6.0)
libproxmox-rs-perl ships /usr/share/perl5/PVE/RS/CalendarEvent.pm,
which was also present in libpve-rs-perl until version 0.5.1

This can lead to a (racy) issue while upgrading - depending
on which of libproxmox-rs-perl or libpve-rs-perl gets unpacked first
we potentially run into:
```
dpkg: error processing archive \
/tmp/apt-dpkg-install-lNBzMn/48-libproxmox-rs-perl_0.1.0_amd64.deb (--unpack):
 trying to overwrite '/usr/share/perl5/PVE/RS/CalendarEvent.pm', \
 which is also in package libpve-rs-perl 0.5.1
```

This patch follows the debian policy manual for these situations:
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-breaks

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Reviewed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Acked-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-05-10 07:10:43 +02:00
Wolfgang Bumiller
08ec7c069e pve-rs: bump d/control
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-04-19 15:08:24 +02:00
Thomas Lamprecht
2090370e65 bump version to 0.6.1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-19 10:58:51 +02:00
Thomas Lamprecht
ea43306c16 update proxmox-openid to 0.9.5
to fix azure support that broke with the switch to ureq due to azure
not understanding chunked transfer encoding

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-19 10:56:49 +02:00
Thomas Lamprecht
a9171f5d3e update proxmox-openid to 0.9.4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-29 10:38:29 +02:00
Wolfgang Bumiller
d00bfdcddb buildsys: drop file list in Makefiles
just install all files, `make gen` at the top level is
responsible for generating the correct files

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-21 14:16:21 +01:00
Wolfgang Bumiller
e148c6d608 pve: buildsys: remove CalendarEvent file
this has been moved to the common package

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-21 13:45:01 +01:00
Wolfgang Bumiller
6ff0991ba4 bump pmg-rs to 0.5.1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-21 09:29:43 +01:00
Wolfgang Bumiller
8bea8bba5a buildsys: fail when trying to install non-existent files
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-21 09:28:06 +01:00
Wolfgang Bumiller
afaa9d3146 pmg: buildsys: typo fix: install PMG.pm
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-21 09:26:55 +01:00
Wolfgang Bumiller
daf5f8c5a4 release libproxmox-rs-perl as 0.1.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-17 13:50:14 +01:00
Wolfgang Bumiller
e6de656805 common: add PVE::RS::CalendarEvent for compat
This simply uses the new one as a base in order to help
getting the packages setup initially.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-17 13:50:14 +01:00
Wolfgang Bumiller
17367e04e5 bump perlmod to 0.13
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-08 10:31:28 +01:00
Wolfgang Bumiller
9c5c624ac5 bump pmg-rs to 0.5.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-01 12:02:48 +01:00
Wolfgang Bumiller
698f0e6f8a bump pve-rs to 0.6.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-01 12:02:48 +01:00
Wolfgang Bumiller
4beb35701b add libproxmox-rs-perl and release it as 0.1.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-01 11:46:49 +01:00
Wolfgang Bumiller
c8a5f758eb fixup .gitignore
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-01 11:46:49 +01:00
Wolfgang Bumiller
9fcecb2c8f generate and install perl package files
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-01 10:54:15 +01:00
Wolfgang Bumiller
3d447c9762 buildsys: add genpackage.pl script
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-01 10:54:15 +01:00
Wolfgang Bumiller
ba8dad1190 add common-src/ and move CalendarEvent to it
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-01 10:54:15 +01:00
Wolfgang Bumiller
f939c2bb55 add base files for 'common' loading
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-01 10:54:15 +01:00
Wolfgang Bumiller
15c39cb258 Revert "move apt to /perl-apt, use PERLMOD_PRODUCT env var"
This reverts commit 9bc3ab23cb.

This is not the way we're going to organize common code.
2022-02-28 12:25:00 +01:00
Wolfgang Bumiller
ba6812a109 update d/control files
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-28 12:25:00 +01:00