[pdm-devel] [PATCH proxmox-datacenter-manager 04/12] api: add API for retrieving/refreshing the remote update summary
Lukas Wagner
l.wagner at proxmox.com
Fri Oct 17 13:00:52 CEST 2025
On Fri Oct 17, 2025 at 12:15 PM CEST, Shannon Sterz wrote:
> On Wed Oct 15, 2025 at 2:47 PM CEST, Lukas Wagner wrote:
>> This commit adds two new endpoints, namely
>> GET /remote-updates/summary
>> POST /remote-updates/refresh
>>
>> The first one is used to retrieve the update summary (the data is taken
>> from the cache), the second one can be used to proactively refresh the
>> summary in the cache (starts a worker task, since this could take a
>> while). Note that we only retrieve the up-to-date list of packages from
>> the remote, but do *not* trigger an `apt update` right now. Could make
>> sense to do the latter as well, but then we probably should
>> stream/forward the task logs for the upgrade task from the node to the
>
> maybe i'm misunderstanding, but do you mean "update task" here? since
> you talk about triggering an `apt update` before. triggering an actual
> upgrade here seems a little risky and probably needs extra safe-guards?
>
Yes, sorry, my mistake, I of course mean 'update task'.
More information about the pdm-devel
mailing list