Fiona Ebner
ea659be66d
api: apt: versions: also list Proxmox libraries for interfacing with Rust
...
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-03-21 14:49:42 +01:00
Thomas Lamprecht
4987947510
api: apt versions: report the version of the proxmox-kernel-helper too
...
as optional package for now
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-21 13:45:34 +01:00
Thomas Lamprecht
ff472daefb
api: apt versions: sort package list in code too
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-21 13:44:59 +01:00
Thomas Lamprecht
a689d3c04c
api apt: fix spelling in hash to avoid undef access warnings
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-02-02 08:42:12 +01:00
Thomas Lamprecht
592635817e
api apt: support getting changelog of backports packages
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-02-01 12:27:29 +01:00
Thomas Lamprecht
ef2c6453ac
api apt: code/style cleanup in changelog endpoint
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-02-01 12:25:42 +01:00
Thomas Lamprecht
913d893364
api apt: recduce indentation in package status update sub
...
best viewed with `-w` flag
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-02-01 12:21:54 +01:00
Thomas Lamprecht
a8cac426df
api apt: code/style cleanup getting changelog URL
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-02-01 12:20:28 +01:00
Leo Nunner
2bbfac1f45
fix #4481 : fetch changelogs for any Proxmox repository
...
This patch fixes the issue that when the user supplied any non-standard
repositories, the changelogs often wouldn't load. For example, providing
both pve-no-subscription and pbs-no-subscription broke the changelog
API, since the URL built for pbs-no-subscription was invalid.
Signed-off-by: Leo Nunner <l.nunner@proxmox.com>
2023-01-31 18:03:26 +01:00
Fiona Ebner
118f9076cf
api: apt: versions: add proxmox-mail-forward to package list
...
Suggested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-01-18 11:06:43 +01:00
Thomas Lamprecht
c3264e92ca
api: apt: code cleanups
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-12-16 13:01:24 +01:00
Fabian Grünbichler
d088f89b16
apt: add proxmox-offline-mirror-helper package
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-09-15 09:07:11 +02:00
Fabian Grünbichler
8794bb15de
apt: sort list of optional packages
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-09-15 09:07:11 +02:00
Fabian Grünbichler
d017de1f91
subscription: switch to Proxmox::RS::Subscription
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-09-06 11:02:59 +02:00
Fabian Ebner
9c7674227f
api: apt: switch to common Proxmox::RS::APT::Repositories package
...
which is shared between PVE and PMG.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-07-15 12:36:50 +02:00
Fabian Ebner
d3cd3c9ca3
api: apt: repos: fix interfacing with perlmod
...
Using
pvesh create /nodes/pve701/apt/repositories --path
"/etc/apt/sources.list" --index 0 --enabled 1
reliably leads to
error: invalid type: string "0", expected usize
Coerce to int to avoid this. I was not able to trigger the issue with
the "enabled" option being a string here (in PMG I was), but be on the
safe side and coerce there too. Otherwise it might get triggered by a
future, completely unrelated change further up in the API call
handling.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-02-17 14:34:18 +01:00
Fabian Ebner
38496d8758
api: apt: list_updates: fix dependency detection for virtual package
...
A virtual package does not have SelectedState Install, but the
dependency will still be satisfied if a package providing it has.
Fixes a bug, wrongly showing that postfix will be installed, when a
different mail-transport-agent is installed and a pve-manager update
is available:
https://forum.proxmox.com/threads/103413/
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-02-04 17:44:03 +01:00
Thomas Lamprecht
2b42965020
api: apt/versions: track swtpm
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-15 16:35:08 +01:00
Fabian Ebner
7e33f74b22
api: apt: add PUT and POST handler for repositories
...
To allow adding/modifying them. Currently the only possible modification is
enable/disable.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-06-30 21:03:38 +02:00
Fabian Ebner
9005e0dfe1
api: apt: add call for repository information
...
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-06-30 21:03:09 +02:00
Thomas Lamprecht
2cc7120e1b
api: apt versions: track proxmox-backup-file-restore
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-25 15:32:38 +02:00
Thomas Lamprecht
89e4fc8cc7
api/apt: whitespace/indentation cleanup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-25 14:07:03 +02:00
Stefan Reiter
7828eef6f2
apt: add libproxmox-backup-qemu0 to displayed packages
...
Can provide important information for debugging issues in forum etc...
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-11-05 10:30:08 +01:00
Stoiko Ivanov
d49b703723
use PVE::Tools::sendmail for update notifications
...
instead of calling /usr/sbin/sendmail directly.
Tested with:
```
echo "[]" > /var/lib/pve-manager/pkgupdates
pvesh create /nodes/rosa/apt/update --notify 1
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-09-07 09:42:24 +02:00
Thomas Lamprecht
6f5c3b98ac
pveversion: track proxmox-backup-client
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-08-21 13:31:24 +02:00
Thomas Lamprecht
ecddd2e231
Revert "Close #1623 : replace apt-get to apt"
...
This reverts commit 19137ed620
.
2020-07-08 10:55:56 +02:00
Moayad Almalat
19137ed620
Close #1623 : replace apt-get to apt
...
Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
2020-07-07 18:52:28 +02:00
Thomas Lamprecht
4047ea2461
api: apt/versions: track libpve-network-perl as optional package
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-10 17:14:04 +02:00
Wolfgang Link
74f7f7c1ea
Add libproxmox-acme-perl to pveversion
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2020-05-03 14:10:17 +02:00
Thomas Lamprecht
b8122787f2
api: apt versions: handle packages without filename info
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-03 14:12:50 +01:00
Thomas Lamprecht
2e0f78405d
api: apt/versions: track ifupdown and ifupdown2 as optional package
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-30 14:30:58 +01:00
Fabian Grünbichler
3ac3653e63
use PVE::DataCenterConfig
...
to make sure that the corresponding cfs_read_file works() works.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-11-18 12:25:35 +01:00
Thomas Lamprecht
4cfe5534e2
pveversion: track libspice-server1 (again)
...
Removed in commit fcb8022169
as we
wanted to re-use Debian Busters upstream version, but we re-uploaded
our own again. And besides that, this version would be still
interesting if it was not uploaded by us..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-30 18:22:51 +01:00
Thomas Lamprecht
7618913027
perl: fix some common typos found with codespell
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-15 10:40:20 +02:00
Thomas Lamprecht
76bbe3e2d5
drop references to un-maintained sheepdog plugin
...
as already announced over two months ago[0], remove the unofficial
SheepDog plugin now completely. Besides that it was never fully
supported in Proxmox VE one of its main developer and ex-maintainer
declared it as abandoned[1], and thus just let's remove it, git
allows to resurrect it any time if a wonder happens anyway.
[0]: https://pve.proxmox.com/pipermail/pve-user/2019-March/170497.html
[1]: http://lists.wpkg.org/pipermail/sheepdog/2019-March/068449.html
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-04 17:45:38 +02:00
Thomas Lamprecht
fcb8022169
api apt versions: update package lists for PVE 6
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-24 13:23:46 +02:00
Thomas Lamprecht
e9c2c2180f
api/apt: remove unused variable
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-19 14:48:21 +01:00
Thomas Lamprecht
5d4bb1f732
add pve-edk2-firmware to pveversion package list
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-23 13:34:26 +02:00
Fabian Grünbichler
ee94b16ae5
pveversion: use AptPkg::Version, not Dpkg::Version
...
to avoid an extra dependency
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-02-16 15:06:28 +01:00
Fabian Grünbichler
0459599d1a
pveversion: sort kernel packages by version
...
instead of lexically by package name
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-02-16 11:17:00 +01:00
Thomas Lamprecht
a7a65b028d
APT API: versions: add new pve packages
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-02-15 10:49:47 +01:00
Thomas Lamprecht
c861591b4e
APT API: versions: split up long line and refactor
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-02-15 10:49:47 +01:00
Fabian Grünbichler
d12c3e8a7c
APT: update packages and package names
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-16 07:06:25 +01:00
Dietmar Maurer
4ea55500a4
pveversion: add smartmontools
2016-10-14 08:59:24 +02:00
Dietmar Maurer
42e237c3c5
pveversion: add pve-docs package
2016-10-14 08:57:51 +02:00
Emmanuel Kasper
13a399c456
do not test for the cgmanager package in pveversion fix #1117
...
the package has been removed from the list of lxcfs dependencies
since 0.12-pve1
2016-09-21 16:16:52 +02:00
Dominik Csapak
86506300af
add novnc-pve to pveversion -v
...
it was missing
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-12 10:43:25 +02:00
Wolfgang Link
ee22d1cb38
Add ceph in optional packages
...
It is usefull to see which ceph version are installed on the PVE host.
2016-05-10 10:25:19 +02:00
Dietmar Maurer
f494187fb6
do not use Net::SSL
...
seems IO::Socket::SSL can now connect to proxy
2016-02-26 11:29:00 +01:00
Wolfgang Link
67469842a0
complete optional packet list for pveversion
2015-08-25 09:39:14 +02:00