changelog
- Sun, 04 Feb 2018 01:27:38 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 04 Feb 2018 01:27:38 +0000] rev 101
- Part 2 of handling macOS sleep/wake signal brokenness.
a) Added Time.horizon(), which indicates how far the Time event is from the
epoch, in monotonic time. For DreamTime, if the system is sleeping, this
returns ∞. b) The DreamTime monitor also signals sleep to callbacks, so
that the Scheduler can re-sort the events. The sorting is now done by
the horizon, so DreamTime events will be moved last and not activated when
the system is sleeping or "sleeping", but other events will be executed
normally if the system is merely "sleeping".
- Sun, 04 Feb 2018 00:22:20 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 04 Feb 2018 00:22:20 +0000] rev 100
- macOS "sleep" signals / status are complete bollocks:
at least when plugged in, the system is actually sometimes running all
night with the lid closed and sleepNotification delivered. Therefore,
we need our timers to work in a sane manner when we should be sleeping!
This patch is a first stage of this fix, implementing stopped dreamtime.
It also has improved comparisons of different types of time, based on
snapshotting.
- Wed, 31 Jan 2018 22:41:12 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Wed, 31 Jan 2018 22:41:12 +0000] rev 99
- Oops, log display wasn't working due to missing import
- Wed, 31 Jan 2018 22:32:11 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Wed, 31 Jan 2018 22:32:11 +0000] rev 98
- Added pause feature
- Wed, 31 Jan 2018 00:06:54 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Wed, 31 Jan 2018 00:06:54 +0000] rev 97
- Pruning support
- Mon, 29 Jan 2018 14:32:27 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Mon, 29 Jan 2018 14:32:27 +0000] rev 96
- Backup scheduling fixes in case of an initial backup
- Mon, 29 Jan 2018 14:17:03 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Mon, 29 Jan 2018 14:17:03 +0000] rev 95
- Fixes to borg output processing after testing on a Linux system
- Mon, 29 Jan 2018 14:02:55 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Mon, 29 Jan 2018 14:02:55 +0000] rev 94
- Make dreamtime module not throw up on non-macOS systems
- Mon, 29 Jan 2018 10:46:01 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Mon, 29 Jan 2018 10:46:01 +0000] rev 93
- README <80-line formatting, etc.
- Mon, 29 Jan 2018 10:00:31 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Mon, 29 Jan 2018 10:00:31 +0000] rev 92
- Show log directory in --help
- Mon, 29 Jan 2018 09:43:39 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Mon, 29 Jan 2018 09:43:39 +0000] rev 91
- Oops; _resort needs to mark ev.linked=False to avoid assertion errors in _insert.
- Mon, 29 Jan 2018 09:41:14 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Mon, 29 Jan 2018 09:41:14 +0000] rev 90
- Removed now unused code for obtaining a sub-logger
- Mon, 29 Jan 2018 09:38:53 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Mon, 29 Jan 2018 09:38:53 +0000] rev 89
- Added author information headers and content information to source files
- Mon, 29 Jan 2018 09:21:07 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Mon, 29 Jan 2018 09:21:07 +0000] rev 88
- Added dummy entries in log reader for question prompts from borg
- Sun, 28 Jan 2018 19:27:34 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 28 Jan 2018 19:27:34 +0000] rev 87
- Better recovery from errors; fixes to potential race conditions in scheduler and repository queue
- Sun, 28 Jan 2018 17:54:14 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 28 Jan 2018 17:54:14 +0000] rev 86
- Can use logging.getLogger directly now after proper packageisation
- Sun, 28 Jan 2018 17:34:06 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 28 Jan 2018 17:34:06 +0000] rev 85
- On startup, for better scheduling, obtain previous backup time with 'borg list'
- Sun, 28 Jan 2018 14:56:13 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 28 Jan 2018 14:56:13 +0000] rev 84
- A few things had not been updated to module reorganisation
- Sun, 28 Jan 2018 12:59:20 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 28 Jan 2018 12:59:20 +0000] rev 83
- Mention dreamtime in README
- Sun, 28 Jan 2018 12:41:50 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 28 Jan 2018 12:41:50 +0000] rev 82
- Enable Ctrl+C in MacOS UI mode.
TODO: proper exit handler, which seems to require
ditching/forking/extending rumps to extend the NSApp class
- Sun, 28 Jan 2018 12:00:18 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 28 Jan 2018 12:00:18 +0000] rev 81
- files log config
- Sun, 28 Jan 2018 11:54:46 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 28 Jan 2018 11:54:46 +0000] rev 80
- Better package-like organisation
- Sun, 28 Jan 2018 11:38:01 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 28 Jan 2018 11:38:01 +0000] rev 79
- Cleaned up module organisation to simplify borgend.py and not have to import it in other modules.
- Sun, 28 Jan 2018 11:04:52 +0000
- by Tuomo Valkonen <tuomov@iki.fi> [Sun, 28 Jan 2018 11:04:52 +0000] rev 78
- Renamed the "sleep" module "dreamtime"