summaryrefslogtreecommitdiffstats
path: root/firstaidkitrevert
Commit message (Collapse)AuthorAgeFilesLines
* Add a finer grained possibility to interrupt execution and do some tweaks in ↵Martin Sivak2010-06-211-1/+5
| | | | Gtk UI
* Create a new argument (reverting) for the BackupPersistent constructor.Joel Andres Granados2008-10-241-43/+33
| | | | | | | It is necessary to differentiate between calling the BackupPersistent class for backup purposes or for reverting purposes. Also the grub revert function and the firstaidkitrevert file changed to address the new changes.
* Add the revert functionality to firstaidkit.Joel Andres Granados2008-10-241-0/+188
This introduces new requirements to the plugins. 1. If a plugin wants to be revertable it must implement the revert function. This function will be accessible from the plugins top most namespace. The same place where get_plugin is. 2. For the plugin's backend directory to be easily found, the plugin must give the backend its module name as an id. In this way when the user specifies in the revert command line plugin 'x', the revert class will go to the backup directory in search for a directory called the same way as the module of 'x'. 3. If the plugin developer does not want to use the system of backup dir naming, there is a second way how to specify the backup dir. The plugin must specify a function getBackupId(), that will return the id of the backup space that can be used for the backup dir search. Backup spaces that fail to comply with these directive will be ignored.