chore(release): 4.47.0 #135

Merged
christianmanivong merged 2 commits from feature/update-history-2728 into main 2026-11-27 04:49:51 +00:00
Owner

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.

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.
christianmanivong added 2 commits 2026-11-26 22:09:58 +00:00
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.
chore(release): 4.47.0
driver / lint (pull_request) Successful in 17s
driver / standard (pull_request) Successful in 21s
driver / types (pull_request) Successful in 1m0s
driver / test (3.13) (pull_request) Successful in 1m7s
driver / test (3.12) (pull_request) Successful in 1m21s
driver / lowest (pull_request) Successful in 41s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Successful in 1m1s
CI / driver (pull_request) Successful in 2m29s
driver / publish (pull_request) Skipped
3813aee3a8
christianmanivong merged commit d77a8982a8 into main 2026-11-27 04:49:51 +00:00
christianmanivong deleted branch feature/update-history-2728 2026-11-27 04:49:51 +00:00
Sign in to join this conversation.