summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make some small fixes in behaviour of the quick start scriptMartin Sivak2009-08-041-1/+4
|
* Add firstaidkit-plugin-key-recovery package.Miloslav Trmač2009-07-171-0/+14
|
* Add KeyRecoveryPluginMiloslav Trmač2009-07-171-0/+242
| | | | Signed-off-by: Martin Sivak <msivak@redhat.com>
* Fix duplicate file listings in %files.Miloslav Trmač2009-07-171-3/+1
|
* Don't require git-archive in $PATH.Miloslav Trmač2009-07-171-1/+1
| | | | Signed-off-by: Martin Sivak <msivak@redhat.com>
* Add question support.Miloslav Trmač2009-07-176-1421/+1561
| | | | Signed-off-by: Martin Sivak <msivak@redhat.com>
* * Replace Reports(round) by Reports(silent) to avoid a lock around allMiloslav Trmač2009-07-172-29/+12
| | | | | | | | | | | | | | | | | | | | | | | | queue operations, which causes an automatic deadlock on a: get a: ... lock _queue_lock a: ... block on _queue b: put b: ... block on _queue_lock Because nobody reads from the main queue that used round = True, this doesn't change application behavior. * Drop return value of Reports.put, it is always None anyway. * Fix self._mailboxes locking: instead of try: lock ... finally: unlock it needs to be lock try: ... finally: unlock
* Fix Reports.notifyAllMiloslav Trmač2009-07-171-1/+1
| | | | Signed-off-by: Martin Sivak <msivak@redhat.com>
* Fix the reporting some more (inreplyto fixes)Martin Sivak2009-07-171-2/+2
|
* Add GDK locking around callbacksMiloslav Trmac2009-07-141-4/+12
|
* Make END message more generic, so the plugins can use it to signal the end ↵Martin Sivak2009-07-142-28/+28
| | | | of answer
* Make the answer mailboxes a proper Reporting objects so we can use all the ↵Martin Sivak2009-07-143-17/+67
| | | | standard methods of message construction
* Add a timeout. Timeout and cancel return error codeMartin Sivak2009-07-131-3/+8
|
* Make the script work...Martin Sivak2009-07-131-12/+8
|
* Do not build undelpartsMartin Sivak2009-07-131-1/+1
|
* Add First Aid Kit Quickstart scriptMartin Sivak2009-07-133-5/+49
|
* grub plugin mustn't be build (or required) on ppc and s390Martin Sivak2009-06-291-0/+3
|
* Own the fak directories.Joel Andres Granados2008-11-301-0/+6
|
* Make the egg filename compatible with any python version.Joel Andres Granados2008-11-301-1/+1
|
* specfile:Joel Andres Granados2008-11-202-43/+44
| | | | | | 1. Comment all the stuff we dont have in fedora distro. This makes it much easier to cp the spec file when creating the new version of fak. 2. xserver.py: Its not experimental anymore.
* Bumb versionJoel Andres Granados2008-11-202-2/+2
|
* Experimental flag:Joel Andres Granados2008-11-204-4/+4
| | | | | | | | | Since pretty much have tested the passwd, mdadm.conf and grub plugins, it is time to take away the experimental flat Filesystem flag: We still don't have a plugin that checks the sanity of a storage so this flag will be set by default.
* Reset the flags before the root checkMartin Sivak2008-11-201-1/+3
|
* Handle some corner cases with the revert function in the grub plugin.Joel Andres Granados2008-11-201-1/+11
|
* testsuite/cli tests:Joel Andres Granados2008-11-2011-196/+198
| | | | | | | 1. Do the test the right way. We were checking the exact output in order to validate the correctness of the cli. Randomness in FAK and other issues interfered with this test schema. We now check specific output string in the whole output.
* Various small fixes.Joel Andres Granados2008-11-1910-58/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | Makefile: 1. Cut counts from 1 not 0. 2. Create the "about" info in the makefile instead of spec file. 3. Put subdirs and about targets into one build target. firstaidkit.spec: 1. Erase the about creation from here. 2. Erase the fedora 7 specific stuff. 3. Call make build. 4. xserver plugin does not need rhpl nor rhpxl anymore. 5. Actually include the COPYING file where the about says it is. configuration.py: 1. Change the default backup dir from /tmp/fakbackup to /tmp. /tmp/fakbackup caused some file permission strangeness when a non root user executed fak after root had executed it. This can still occur, but it will be left like this as the user should not execute fak in non root anyway. logging: plugins.py,interpreter.py. __init__.py 1. Always use the reporting object when possible. 2. Add time stamp and level of message to log messages.
* Gtk frontend is able to add plugin and flow parameters in expert modeMartin Sivak2008-11-191-5/+45
|
* Cli test:Joel Andres Granados2008-10-3114-1/+333
| | | | | | | | | | | | | | | | | | | | | | Add test for the outomatica mode and the flow mode of the cli. The downside to this test is that it probably wont work when firstaidkit is installed in the system. The reason for this is that it brings all the plugins that are installed in the system, this means that the outputs will be different when the commands are run. This must be addressed and if this turns into an issue we should simply turn the test off untill its fixed. Moreover this will make the build fail when changed that modify the system messages are introduced. So from now on when those types of messages are changed, the test mush be changed as well (Which basically means changing the outputs files). 1. cli.py : add main test classes. 2. cli/outputs/*: these are the outputs that the various commands should have when called with the plugins under testsuite/cli. The files are called like the commands. 3. cli/plugin*: two plugins to server as the information providers. They don't do anything interesting. 4. __init__.py: export the new test.
* firstaidkit:Joel Andres Granados2008-10-301-1/+1
| | | | 1. <flow> with the -f function is optional.
* firstaidkit.1:Joel Andres Granados2008-10-301-17/+21
| | | | 1. Update general firstaidkit documentation.
* firstaidkit:Joel Andres Granados2008-10-301-6/+12
| | | | | | | | | 1. Make the usage message more readable. It now prints "firstaidkit" as opposed to the caller string. This allows the description to go into the next line without loosing prettiness. 2. Make usage more compact. Compact the explination of "-a" into one item in the usage string.
* Grub Plugin:Joel Andres Granados2008-10-291-23/+19
| | | | | | 1. Correctly change the state of the issue when devices or partitions are defined. 2. Erase some incode documentation that is not necessary.
* firstaidkitrevert.1:Joel Andres Granados2008-10-282-0/+68
| | | | Add the doc page for firstaidkitrevert.
* firstaidkit.1:Joel Andres Granados2008-10-281-0/+20
| | | | | | 1. Add info for --nodeps option. 2. Add info for --plugin-args option. 3. Add info for -P option.
* firstaidkit-backup.1:Joel Andres Granados2008-10-281-1/+39
| | | | Update documentation to refer to persistent backups.
* Grup Plugin:Joel Andres Granados2008-10-282-23/+51
| | | | | | | | 1. Address various minor issues with messages to the user. 2. Make the name of the issues different so they can be told appart. 3. Make sure that the fix step fails when there are no devs or parts. 4. Inform the user of the devices and partitions that are being backed up. 5. Make sure that the description is visible.
* Grub Plugin:Joel Andres Granados2008-10-281-9/+28
| | | | | | | 1. Add a search for the window bootloader. This search is based on http://en.wikipedia.org/wiki/Master_boot_record and will be the plugins default until I or someone more intelligent than me comes up with a better way of iding windows bootloader.
* Grub Plugin:Joel Andres Granados2008-10-283-203/+0
| | | | | 1. Get rid of old grub plugin and related files. 2. Erased stale lines in spec file as well.
* Grub Plugin:Joel Andres Granados2008-10-281-14/+15
| | | | 1. Have the grubroot as a class attribute.
* Grup Plugin:Joel Andres Granados2008-10-282-26/+58
| | | | | | 1. Correctly parse the partition arguments as we did with the device args. 2. Add the functionality of modifying particular partitions.
* Grub Plugin:Joel Andres Granados2008-10-281-8/+8
| | | | | | 1. Fix a repeated line and some lines that were over 80 chars. 2. Inform the user how to execute grub in order to install the bootloader into one of the drives.
* Grub Plguin:Joel Andres Granados2008-10-241-5/+8
| | | | | Having an option --recover is more intuitive for the user that does not know how grub works.
* Grub plugin:Joel Andres Granados2008-10-242-3/+21
| | | | | Make the default behavior of grub more sane. The right thing to do when no arguments are passed is to do nothing.
* backup.pyJoel Andres Granados2008-10-241-12/+3
| | | | | Put the reverting logic into the main Backup class. This will allow future classes that inherit from Backup to have this attribute.
* GrubPlugin:Joel Andres Granados2008-10-243-55/+52
| | | | | | | | | | | | | | Parse the arguments correctly for grub plugin. Set the internal variables correctly for grub plguin. Use the internal variavels when deciding which dev to install to. plugin.py: user lstrip instead of just strip to take off the first part of the argument string. This still has an issue as the strip does not strip strings but strips away all the characters listed in the str. At the moment its working because the args always begin with "-" and the plugin names dont have "-" in their names. but this might be a problem in the future.
* Create a new argument (reverting) for the BackupPersistent constructor.Joel Andres Granados2008-10-243-44/+44
| | | | | | | 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.
* Create the revert function for the grub plugin.Joel Andres Granados2008-10-242-5/+29
|
* Add the revert functionality to firstaidkit.Joel Andres Granados2008-10-246-8/+204
| | | | | | | | | | | | | | | | | | | | | 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.
* Add the --install-all and --install-to= arguments for grub.Joel Andres Granados2008-10-201-20/+29
| | | | | | | --install-all: means to install grub binary to all devices and partitions --install-to=: receives a comma separated list of devices where grub plugin should install grub binary. If both options are specified the --install-to options is used.
* Create a function to handle the grub plugin arguments.Joel Andres Granados2008-10-201-1/+55
| | | | | | This function will translate all the arguments into a container that organizes all the arguments for grub. This container also has the default values of each argument.