APT_HISTORY_COMMAND: one shell round trip that prints /var/log/apt/history.log and its rotations (.N, .N.gz), the host's zone and offset. Every read names its file; nothing reads stdin.
parse_apt_history(text, since): UpdateHistoryDict per transaction, in the host's zone. The ids are counted per file like Proxmox VE 9.3's apt/history (start-index), so a node reports the same ids before and after 9.3.
AptHistoryMixin.get_update_history: through the driver's run_command, as root only where a file is not readable.
Release commit 4.47.0 included; the tag follows the merge.
apt's own history log as an update history (NetOrk/netork#2728):
- `APT_HISTORY_COMMAND`: one shell round trip that prints `/var/log/apt/history.log` and its rotations (`.N`, `.N.gz`), the host's zone and offset. Every read names its file; nothing reads stdin.
- `parse_apt_history(text, since)`: `UpdateHistoryDict` per transaction, in the host's zone. The ids are counted per file like Proxmox VE 9.3's `apt/history` (`start-index`), so a node reports the same ids before and after 9.3.
- `AptHistoryMixin.get_update_history`: through the driver's `run_command`, as root only where a file is not readable.
Release commit 4.47.0 included; the tag follows the merge.
AptHistoryMixin implements get_update_history over run_command: history.log and its
rotations in one round trip as the login user, root only for a file that user may not
read. Dates are read in the host's zone; a transaction's id is its start and the number
of earlier ones with that start in the same file, as GET /nodes/{node}/apt/history names
it. Malformed blocks are left out, a report cut short raises.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
apt's own history log as an update history (NetOrk/netork#2728):
APT_HISTORY_COMMAND: one shell round trip that prints/var/log/apt/history.logand its rotations (.N,.N.gz), the host's zone and offset. Every read names its file; nothing reads stdin.parse_apt_history(text, since):UpdateHistoryDictper transaction, in the host's zone. The ids are counted per file like Proxmox VE 9.3'sapt/history(start-index), so a node reports the same ids before and after 9.3.AptHistoryMixin.get_update_history: through the driver'srun_command, as root only where a file is not readable.Release commit 4.47.0 included; the tag follows the merge.
AptHistoryMixin implements get_update_history over run_command: history.log and its rotations in one round trip as the login user, root only for a file that user may not read. Dates are read in the host's zone; a transaction's id is its start and the number of earlier ones with that start in the same file, as GET /nodes/{node}/apt/history names it. Malformed blocks are left out, a report cut short raises.