jpeddicord
August 30th, 2009, 04:11 AM
Over the past month or so I've been writing an application that can manage application data. It can take snapshots of data that your applications store, revert, and delete the stored data. For example, you could store a snapshot of your Firefox profile, and when something goes wrong, revert back to it. It works very well with games: if you mess up one of your save files or settings you can just revert the data for that game.
It's called Mound Data Manager (https://launchpad.net/mound), and here is a nice pretty screenshot (0.3.99):
http://img405.imageshack.us/img405/3374/mdm0399.png
When run, Mound will look for a line in application desktop files labeled X-UserData and parse it to figure out where data for that application is stored in the home folder. If it can't find that line, it will fall back to an entry in /etc/userdata which is installed when Mound is installed.
For example, a userdata line for Firefox would be:
firefox ~/.mozilla/firefox
That data is then able to be managed using snapshots and other small features. Snapshots are taken using tar, so it should be pretty robust.
Here's where I need some help: I've tested with with a nice range of applications and conditions, but that obviously won't cover everything.
There are thousands of applications in the repositories, and it can't cover everything. It would be nice to see applications ship with X-UserData entries in their desktop files, but that's not a great short-term solution (especially with a product so young). Mound needs to ship more entries in the supplied /etc/userdata file. So, if you notice that an application you use doesn't show up in Mound, let me know what the appropriate UserData line would be.
I'd also appreciate testing of Mound's features. Things it should be able to do:
Take new snapshots
Revert to previous snapshots
Export snapshots
Import snapshots
Delete snapshots
Delete application data (see Application menu)
Show application details (see Application menu)
Prevent an application from being managed while it is still running
Not crash (haven't found one crasher yet, but you never know)
Translations are also very welcome, and can be done on Launchpad: https://translations.launchpad.net/mound
Download: https://launchpad.net/mound/+download (must install to use for the first time)
PPA: https://launchpad.net/~jpeddicord/+archive/mound (single package: mound-data-manager)
I'd appreciate if bugs were filed on Launchpad (https://bugs.launchpad.net/mound/+filebug), but I'll be active in this thread as well.
Changelog of new features:
0.3.99
* 0.4 RC
* Several performance & bug fixes
* Translatable
0.3.1
* 0.4 series beta 1
* New UI that makes better use of space, thanks ~rugby417 and ~laudeci
for their suggestions and contributions
* Importing/exporting of snapshots now works
* Launchpad menu items available
* More default userdata additions
* Fix: XDG environment variables were ignored
* Fix: load applications from all XDG data directories
* Fix: Applications were sorted in a weird way, now alphabetical
0.2.1
* Bugfix release for Jaunty
0.2.0
* First (non-preview) release
* Added Details menu item for extra information about the selected app
* Baobab integration
Posted also on http://jacob.peddicord.net/2009/09/mound-data-manager.html (Planet Ubuntu) with some more technical details.
Hope you enjoy!
It's called Mound Data Manager (https://launchpad.net/mound), and here is a nice pretty screenshot (0.3.99):
http://img405.imageshack.us/img405/3374/mdm0399.png
When run, Mound will look for a line in application desktop files labeled X-UserData and parse it to figure out where data for that application is stored in the home folder. If it can't find that line, it will fall back to an entry in /etc/userdata which is installed when Mound is installed.
For example, a userdata line for Firefox would be:
firefox ~/.mozilla/firefox
That data is then able to be managed using snapshots and other small features. Snapshots are taken using tar, so it should be pretty robust.
Here's where I need some help: I've tested with with a nice range of applications and conditions, but that obviously won't cover everything.
There are thousands of applications in the repositories, and it can't cover everything. It would be nice to see applications ship with X-UserData entries in their desktop files, but that's not a great short-term solution (especially with a product so young). Mound needs to ship more entries in the supplied /etc/userdata file. So, if you notice that an application you use doesn't show up in Mound, let me know what the appropriate UserData line would be.
I'd also appreciate testing of Mound's features. Things it should be able to do:
Take new snapshots
Revert to previous snapshots
Export snapshots
Import snapshots
Delete snapshots
Delete application data (see Application menu)
Show application details (see Application menu)
Prevent an application from being managed while it is still running
Not crash (haven't found one crasher yet, but you never know)
Translations are also very welcome, and can be done on Launchpad: https://translations.launchpad.net/mound
Download: https://launchpad.net/mound/+download (must install to use for the first time)
PPA: https://launchpad.net/~jpeddicord/+archive/mound (single package: mound-data-manager)
I'd appreciate if bugs were filed on Launchpad (https://bugs.launchpad.net/mound/+filebug), but I'll be active in this thread as well.
Changelog of new features:
0.3.99
* 0.4 RC
* Several performance & bug fixes
* Translatable
0.3.1
* 0.4 series beta 1
* New UI that makes better use of space, thanks ~rugby417 and ~laudeci
for their suggestions and contributions
* Importing/exporting of snapshots now works
* Launchpad menu items available
* More default userdata additions
* Fix: XDG environment variables were ignored
* Fix: load applications from all XDG data directories
* Fix: Applications were sorted in a weird way, now alphabetical
0.2.1
* Bugfix release for Jaunty
0.2.0
* First (non-preview) release
* Added Details menu item for extra information about the selected app
* Baobab integration
Posted also on http://jacob.peddicord.net/2009/09/mound-data-manager.html (Planet Ubuntu) with some more technical details.
Hope you enjoy!