1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-01 16:36:06 +00:00
webvirtcloud/vrtManager
catborise 25e49c2aa2 fix: backups and snapshots keep their order when the clock goes back
Backup retention kept the last --keep backups by name, and a name is the
panel's local time. Where the clock goes back an hour in autumn
(TIME_ZONE=Europe/Berlin), a backup at 02:10 CET forty minutes after one
at 02:50 CEST sorted first, and --keep 1 deleted the new one. Retention
now keeps the newest by when they were made (the directory's mtime);
the names stay as they were.

Snapshot times from libvirt (epoch seconds) became naive local times,
which the snapshot list sorts newest first: in the same hour the older
snapshot came first. They are now aware UTC times; the page still shows
them in the panel's time zone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-10 12:21:36 +03:00
..
tests fix: backups and snapshots keep their order when the clock goes back 2026-11-10 12:21:36 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
connection.py fix(vrtManager): reconnect after a host's storage or network daemon restarts 2026-11-10 11:12:08 +03:00
create.py fix(vrtManager): a new VM's disk path, network and filter names are XML text 2026-11-08 14:42:47 +03:00
hostdetails.py perf(computes): a host's capacity is one libvirt call, not one per VM 2026-11-07 15:25:49 +03:00
instance.py fix: backups and snapshots keep their order when the clock goes back 2026-11-10 12:21:36 +03:00
interface.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
libvirt-ssh fix(vrtManager): libvirt connections open within a time limit 2026-10-05 09:06:52 +03:00
network.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
nodedevs.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
nwfilters.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
storage.py fix(vrtManager): an RBD disk takes its pool's auth and monitors as they are 2026-11-08 14:42:20 +03:00
util.py refactor(vrtManager): new VM UUIDs come from uuid.uuid4() 2026-11-08 12:24:47 +03:00
virtsecrets.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00