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