1 2009-11-04 Niall Power - <niall.power (a] sun.com> 2 3 * VERSION: bump to 0.2.95 4 * Move to python2.6 5 * Drop dependency on zfs-auto-snapshot methods and implement our own 6 snapshotting mechanism in the form of time-sliderd 7 * Add dbus system bus notification and notification applet, replacing 8 the previous ugly hack of su to logged in user ID and running 9 notify-send. 10 * Enhance all .py modules to use python subprocess module when spawning 11 commands instead of os.popen. 12 * Add SMF manifest for system/filesystem/auto-snapshot to replace 13 systems snapshot configuration previously supplied by 14 zfs-auto-snapshot. Generally compatible but cleaned up by dropping 15 some of zfs-auto-snapshot's more quirky or deprecated configuration 16 options. 17 18 2009-07-08 Niall Power - <niall.power (a] sun.com> 19 20 * VERSION: bump to 0.2.10 21 * Fix defect 8667 in following source files: 22 * usr/share/time-slider/lib/time_slider/cleanupmanager.py: Refactor 23 code to modified zfs.py APIs, remove some dead code, make capacity 24 checks conditional where possible. 25 * usr/share/time-slider/lib/time_slider/deletegui.py: minor code 26 refactoring to match zfs.py API changes. 27 * usr/share/time-slider/lib/time_slider/setupgui.py: Remove references 28 to zfscontroller module which has been removed. Uses zfs.py 29 exclusively now. Refactor for zfs.py changes 30 * usr/share/time-slider/lib/time_slider/zfscontroller.py: removed. 31 Very little functionality and nothing that shouldn't be in zfs.py 32 * usr/share/time-slider/lib/time_slider/zfs/py: New class definition 33 for "Datasets" which stores all system snapshots, filesystems and 34 volumes in a cache. Existing Dataset, Filesystem, Snapshot and Volume 35 class methods now use the global Datasets cache for querying and 36 listing instead of making zfs(1m) spawned commands. 37 38 2009-05-18 Niall Power - <niall.power (a] sun.com> 39 40 * usr/share/time-slider/lib/time_slider/cleanupmanager.py 41 Cleanup both Filesystem and Volume snapshots. Fixes d.o.o 8454 42 * usr/share/time-slider/lib/time_slider/setupgui.py: Prepend private 43 class methods with "__" in accordance with python coding standards. 44 * usr/share/time-slider/lib/time_slider/smfmanager.py: Use predefined 45 macros for ZFS commands instead of hardcoding path in the code. 46 * usr/share/time-slider/lib/time_slider/zfs.py: Improve object 47 hierarchy and inheritance tree. Rename some methods for improved 48 clarity of purpose. Improve method and function documentation. 49 Add capability to deal with ZFS volumes. Fixes d.o.o 8454 & 8685 50 51 2009-05-13 Harry Fu - <harry.fu (a] sun.com> 52 53 * VERSION: bump to 0.2.9 54 55 2009-04-10 Erwann Chenede - <erwann.chenede (a] sun.com> 56 57 * /usr/share/time-slider/lib/time_slider/fileversion.py: 58 used gobject.idle_add instead of gtk.gdk.threads_* fixes 59 7319 60 61 2009-04-09 Erwann Chenede - <erwann.chenede (a] sun.com> 62 63 * /usr/share/time-slider/lib/time_slider/fileversion.py: 64 removed hard dependency on external thumbnailer and meld 65 fixes #7502 66 67 2009-04-07 Niall Power <niall.power (a] sun.com> 68 69 * usr/share/time-slider/lib/time_slider/cleanupmanager.py 70 * usr/share/time-slider/lib/time_slider/deletegui.py 71 * usr/share/time-slider/lib/time_slider/smfmanager.py 72 * usr/share/time-slider/lib/time_slider/zfs.py 73 * usr/share/time-slider/lib/time_slider/zfscontroller.py: 74 Use macro substitution to specify full paths to all spawned 75 commands (zfs, zpool, svcadm, svccfg, svcprop, pfexec) so that 76 commands work independently of user's PATH environment. 77 Fixes opensolaris defect #7396 78 79 2009-03-01 Niall Power <niall.power (a] sun.com> 80 81 * VERSION: bump to 0.2.6 82 * Makefile: Pick up PYTHON environment variable. Enhancement for 83 fix to 6754650 84 * usr/share/time-slider/lib/time_slider/setupgui.py: Allow filesystems 85 to inherit properties from their parent instead of locally tagging 86 every filesystem with the required property setting. 87 * usr/share/time-slider/lib/time_slider/zfs.py: Add an "inherit" argument 88 to Filesystem.commit_state() to allow the fileystem to inherit from 89 it's parent when setting the auto-snapshot property. 90 91 2009-02-19 Takao Fujiwara <takao.fujiwara (a] sun.com> 92 93 * usr/share/time-slider/lib/time_slider/deletegui.py: updated 94 the comments because translators are confused it. 95 * usr/share/time-slider/lib/time_slider/snapnowui.py: updated 96 the gettext "%s" so that translators can change the oder of "%s". 97 98 2009-02-05 Niall Power - <niall.power (a] sun.com> 99 100 * VERSION: bump to 0.2.5 101 * Makefile: don't install .pyc files, but generate them as part 102 of "install:" rule. Fixes bugster: 6754650 103 * py-compile.py: Prepend "DESTDIR" to compile python bytecode 104 within the installed directory tree. 105 * usr/share/time-slider/lib/time_slider/__init__.pyc: removed 106 * usr/share/time-slider/lib/time_slider/cleanupmanager.pyc: removed 107 * usr/share/time-slider/lib/time_slider/deletegui.pyc: removed 108 * usr/share/time-slider/lib/time_slider/fileversion.pyc: removed 109 * usr/share/time-slider/lib/time_slider/notification.pyc: removed 110 * usr/share/time-slider/lib/time_slider/rbac.pyc: removed 111 * usr/share/time-slider/lib/time_slider/setupgui.pyc: removed 112 * usr/share/time-slider/lib/time_slider/smfmanager.pyc: removed 113 * usr/share/time-slider/lib/time_slider/snapnowui.pyc: removed 114 * usr/share/time-slider/lib/time_slider/zfs.pyc: removed 115 * usr/share/time-slider/lib/time_slider/zfscontroller.pyc: removed 116 117 118 2009-01-23 Erwann Chenede - <erwann.chenede (a] sun.com> 119 120 * VERSION: bump version to 0.2.4 121 * Makefile : added new files 122 * usr/lib/time-slider-version 123 * usr/share/time-slider/glade/time-slider-version.glade 124 * usr/share/time-slider/lib/time_slider/fileversion.py 125 * usr/share/time-slider/lib/time_slider/fileversion.pyc : 126 Initial implementation of the file version explorer app 127 128 2009-01-16 Takao Fujiwara <takao.fujiwara (a] sun.com> 129 130 * po/POTFILES.in: Update with the latest files. 131 * usr/share/time-slider/glade/time-slider-delete.glade: 132 * usr/share/time-slider/glade/time-slider-setup.glade: 133 * usr/share/time-slider/glade/time-slider-snapshot.glade: 134 Update to remove "translatable" tag for GTK textdomain. 135 * usr/share/time-slider/lib/time_slider/deletegui.py: 136 Update to localize date and add the encoding conversion. 137 * usr/share/time-slider/lib/time_slider/setupgui.py: 138 Update to localize "legacy". 139 * usr/share/time-slider/lib/time_slider/snapnowui.py: 140 Update to add gettext. 141 142 2009-01-09 Niall Power - <niall.power (a] sun.com> 143 144 * VERSION: bump version to 0.2.3 145 * usr/share/time-slider/glade/time-slider-delete.glade: 146 add progress dialog for snapshot scanning feedback 147 * usr/share/time-slider/lib/time_slider/deletegui.py: 148 restructure initialisation code and run snapshot scanning in it's 149 own thread so that feedback can be give to user via a progress dialog 150 Prevents the app appearing dead when dealing with huge numbers of 151 snapshots. 152 153 2009-01-09 Erwann Chenede - <erwann.chenede (a] sun.com> 154 155 * Makefile: added newly introduced file 156 * usr/share/time-slider/lib/time_slider/snapnowui.py: removed print 157 158 2009-01-09 Erwann Chenede - <erwann.chenede (a] sun.com> 159 160 * usr/lib/time-slider-snapshot: 161 * usr/share/time-slider/glade/time-slider-snapshot.glade: 162 * usr/share/time-slider/lib/time_slider/snapnowui.py: 163 Initial implementation of the snapshot now dialog 164 165 2008-12-17 Niall Power - <niall.powr (a] sun.com> 166 167 * VERSION: bump version to 0.2.2 168 * lib/svc/method/time-slider: remove "set -x" command which errantly turns 169 on debug mode. Fixes bugzilla defect #5067 170 * usr/share/time-slider/glade/time-slider-setup.glade: Change mnemonic key for 171 "Custom" radio button from "C" to "u". C is already in use by "Cancel" button. 172 Fixes bugzilla defect #3986 173 * usr/share/time-slider/lib/time_slider/setupgui.py: Change error dialog text to 174 instruct user to consult "svcs -xv" instead of "svcs(1) man page" for more info 175 when time-slider SMF instance is placed into offline state by SMF. 176 Fixes bugzilla defect #5804 177 178 2008-12-17 Niall Power - <niall.power (a] sun.com> 179 180 * usr/share/time-slider/lib/time_slider/cleanupmanager.py: Check 181 ps commmand output before accessing it by catching IndexError 182 exceptions. Prevents root's mailbox being spammed by cron. 183 Fixes bugster #6758575 184 185 2008-12-12 Niall Power - <niall.power (a] sun.com> 186 187 * usr/share/time-slider/lib/time_slider/cleanupmanager.py: Implement 188 destruction of older snapshots since zfs-auto-snapshot only does 189 snapshot destruction recursively and we break the recursion by 190 deleting individual snapshots instead of recursive sets. 191 192 2008-12-05 Niall Power - <niall.power (a] sun.com> 193 * usr/share/time-slider/lib/time_slider/setupgui.py 194 Fixed a patch generation problem when launching time-slider-delete 195 196 2008-12-05 Niall Power - <niall.power (a] sun.com> 197 198 * VERSION: bumped to 0.2.1 199 * Makefile: Minor cleanups 200 * usr/share/time-slider/lib/time_slider/cleanupmanager.py: add 201 perform_purge method to clean up zero sized snapshots under 202 safe circumstances so that the system doesn't become cluttered 203 with too many permanently zero sized snapshots. 204 Rewrote emercency space makeing cleanup alogorithm in run_cleanup 205 to be more efficient and spawn far fewer shell commands. No longer 206 usr/share/time-slider/lib/time_slider/setupgui.py: Change error dialog text to 207 instruct user to consult "svcs -xv" instead of "svcs(1) man page" for more info 208 when time-slider SMF instance is placed into offline state by SMF. 209 Fixes bugzilla defect #5804 210 does recursive snapshot deletion since the above changes will break 211 the recursive snapshot chain in most cases and recursive deletion 212 is now overkill since individual snapshots should be larger in size 213 and yield larger space savings per snapshot deleted. 214 Fixed notification bug where notification would happen twice if 215 gnome-session is launched via dbus-launch. 216 * usr/share/time-slider/lib/time_slider/deletegui.py: move 217 __get_cloned_snapshots() method to a public function in zfs.py 218 * usr/share/time-slider/lib/time_slider/notification.py: fix typo 219 bug in send_to_desktop() where initial warning level was set to 220 90000 which broke desktop notification. Should be 0. 221 * usr/share/time-slider/lib/time_slider/zfs.py: Add new function: 222 list_cloned_snapshots() to list snapshots that have cloned filesystem 223 based on them. 224 225 2008-12-02 Niall Power - <niall.power (a] sun.com> 226 227 * Makefile: Fix install target error that didn't install both glade 228 files 229 230 2008-12-02 Niall Power - <niall.power (a] sun.com> 231 232 * VERSION: bumped to 0.2.0 233 * Makefile: added new files to install and uninstall targets 234 * data/Makefile: adjusted for renamed .desktop.in file 235 * usr/share/time-slider/glade/time-slider-setup.glade: Added launch 236 button for snapshot deletion GUI. Rename window title from 237 "Time Slider Setup" to "Time Slider Manager" 238 * usr/share/time-slider/lib/time_slider/setupgui.py: add launch handler 239 for time-slider-delete 240 * usr/share/time-slider/lib/time_slider/zfs.py: Add utility functions 241 for time-slider-delete for listing and creating snapshot objects 242 * data/time-slider.desktop.in renamed from time-slider-setup.desktop.in 243 * usr/lib/time-slider-delete: Added new snapshot deleter program to 244 allow snapshot browsing/deletion. 245 * usr/share/applications/time-slider.desktop: renamef from 246 time-slider-setup.desktop 247 * usr/share/time-slider/glade/time-slider-delete.glade: Added glade UI 248 file for snapshot delete GUI 249 * usr/share/time-slider/lib/time_slider/deletegui.py: Added main python 250 code for listing and deleting snapshots 251 252 2008-12-02 Niall Power - <niall.power (a] sun.com> 253 254 * py-compile.py: Added to insure pyc files are in sync with 255 .py sources. Fixes bugster #6754650 256 * VERSION: Added version file. Bump to 0.1.5 257 * SUNWgnome-time-slider.spec: removd because spec file is 258 in spec-files-other repository on opensolaris.org 259 * Makefile: added "dist" target for creating dist bz2 tarballs 260 261 2008-10-23 Erwann Chenede - <erwann.chenede (a] sun.com> 262 263 * usr/share/icons/hicolor/16x16/apps/time-slider-setup.png 264 * usr/share/icons/hicolor/24x24/apps/time-slider-setup.png 265 * usr/share/icons/hicolor/32x32/apps/time-slider-setup.png 266 * usr/share/icons/hicolor/36x36/apps/time-slider-setup.png 267 * usr/share/icons/hicolor/48x48/apps/time-slider-setup.png 268 * usr/share/icons/hicolor/72x72/apps/time-slider-setup.png : 269 new icon (4182) 270 271 2008-10-20 Takao Fujiwara <takao.fujiwara (a] sun.com> 272 273 * Makefile: Updated to load po/Makefile and data/Makefile. 274 * data/Makefile: Added to generate .desktop files. 275 * data/time-slider-setup.desktop.in: Added for intltool. 276 * po: Added for intltool. 277 278 2008-09-11 Niall Power - <niall.power (a] sun.com> 279 280 * Initial import of Time Slider service 281 282