summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Save metadata in backups, so we can write a restore toolMartin Sivak2008-08-081-0/+27
|
* Manage the persistent backup with a class of its own.Joel Andres Granados2008-08-081-5/+7
|
* Fix typo.Joel Andres Granados2008-08-081-1/+1
|
* Make backup.rootpath = "" when user defines fullpath.Joel Andres Granados2008-08-081-0/+4
| | | | | | This is more an esthetic change. Now, when the user defines the fullpath the rootpath will be "" and not have some other value that does not relate to the fullpath.
* Add the possibility to pass arguments to plugins.Joel Andres Granados2008-08-082-5/+22
| | | | | | | | Given that firstaidkit is fully automated we need a way to modify the plugin behaviour from the initial command. This makes it easy for the plugin developer to get a string with some arguments for his plugin. It is up to the plugin developer to parse the string. The arguments will be accessible through self._args variable.
* Create a new backup directory every time, unless the user tells us otherwise.Joel Andres Granados2008-08-073-9/+21
| | | | | | Use tempfile to create safe backup directories. User should define backup.fullpath if he wants to override the default behaviour. User can also choose the directory where the backup directory goes.
* Do the persistent backup space in better wayMartin Sivak2008-08-071-10/+13
|
* Add PersistentBackup spaceMartin Sivak2008-08-071-4/+18
|
* Initial commit for the Grub plugin.Joel Andres Granados2008-08-077-5/+801
| | | | | Nothing was used from the original grub plugin. For now they will both coexists in the code.
* Direct the failure in prepare to the clean step.Joel Andres Granados2008-08-071-2/+4
| | | | | | This is the better way of doing things. If the prepare step is a failure we cannot ensure the sate that the plugin expects. Its best to go to clean and exit with no changes.
* Be more accurate when using the example of the mbr.Joel Andres Granados2008-08-071-2/+2
| | | | | | If you erase your first 512 bytes, you are most likely erasing your partition table as well. And there is no way the grub plugin will be able to recover anything without a partition table.
* Add PLUGIN as the default value for level in the reporting functions.Joel Andres Granados2008-08-071-23/+26
| | | | | This will make life much easier for the plugin developers. Now there is no need to specify level inside the plugin.
* Put the "implies nodpes" message in the same line as the command.Joel Andres Granados2008-08-061-2/+1
| | | | If it is not placed in the same line it will look distorted.
* Add an "all" target.Joel Andres Granados2008-07-301-3/+5
| | | | | The target calls all the ohter build targets. modified: Makefile
* Fix the author names and mails so it shows up pretier.Joel Andres Granados2008-07-301-1/+1
| | | | modified: articlefak-concept.tex
* Add the clean target in the MakefileJoel Andres Granados2008-07-303-17/+5270
| | | | | | | | | | | modified: Makefile Add shadowman in the header of the document Various corrections to the text modified: articlefak-concept.tex Add the shadowman image new file: images/RHcmykeps.eps
* Include creation of pdf and dvi in the Makefile.Joel Andres Granados2008-07-302-2/+14
| | | | | | | modified: Makefile Add some code to have an image header. modified: articlefak-concept.tex
* Change the "/" for the "\" that latex understands.Joel Andres Granados2008-07-291-31/+44
| | | | modified: doc/articlefak-concept.tex
* Create the "Conclusion" section.Joel Andres Granados2008-07-291-5/+18
| | | | modified: doc/articlefak-concept.tex
* Add a Makefile for the doc dir.Joel Andres Granados2008-07-291-0/+4
| | | | We will need a Makefile to handle all the documentation stuff.
* Complete the "How to use Firstaidkit" section.Joel Andres Granados2008-07-291-46/+13
|
* Addition of the introductory paragraph for the "How to use Firstaidkit"Joel Andres Granados2008-07-291-3/+4
| | | | section.
* Some minor changes in the main firstaidkit article.Joel Andres Granados2008-07-281-7/+7
|
* Add article that talks about the general Firstaidkit concept.Joel Andres Granados2008-07-241-0/+76
| | | | It would be nice if all the articles have the same prefix "articlefak-".
* Add config(noreplace) to the config file in /etc.Joel Andres Granados2008-07-231-1/+1
| | | | | | This will prevent the configuration file from being erased in case it already exists. We don't want a user's conifg file being erased when Firstaidkit is reinstalled.
* Update the spec and desktop fileMartin Sivak2008-07-162-2/+4
|
* Add the desktop fileMartin Sivak2008-07-162-0/+12
|
* Bumb versionJoel Andres Granados2008-07-152-2/+2
|
* Have a shorter message for the user.Joel Andres Granados2008-07-151-2/+1
|
* Be more expressive in the error messages.Joel Andres Granados2008-07-151-14/+12
| | | | | | | | - This patch will append an "FAK_ERROR" string to the error message. This will help them to be noticed when the user encounters them in the log or the stdout. - Create parent error class that has all the common qualities for the error classes.
* Be a bit less apocaliptic when telling the user that we have anJoel Andres Granados2008-07-151-4/+9
| | | | unexpected exception.
* Catch the exception where the user configures a plugin that is not found.Joel Andres Granados2008-07-153-3/+8
|
* Name the path var by ignoring the first 4 chars.Joel Andres Granados2008-07-151-1/+1
|
* Separate the paths that hold the place where frontend lives.Joel Andres Granados2008-07-151-1/+1
|
* Continue with the name standarization and simplification.Joel Andres Granados2008-07-1516-19/+20
| | | | | | | | | | - The "_p" is not needed. Avoiding the suffix makes the names simpler. - When the plugin needs to be separated into varios subplugins, use the _ to signify that a subplugin is related to a father plugin. Like rpm_lowlevel, this say that lowlevel is part of the rpm plugin. - When naming a plugin keep the name SHORT and simple. - Be sure to name all the plugin packages as "plugin-name"
* Standarize and simplify plugin names.Joel Andres Granados2008-07-1514-0/+0
| | | | | | | | | | | - The file names are the ones the the user will be using to reference each plugin. Having a long name will not help the user. - Also, to signify that they are plugins we will use the "p_" at the beginning of each name. - plugin_examples is left like that because it is not a plugin in itself, but a directory that contains plugins. Please follow these naming standards when you name you plugins.
* General fixes to plugin_mdadmcong.pyJoel Andres Granados2008-07-141-12/+23
|
* Clean up passwd.py file.Joel Andres Granados2008-07-141-6/+12
|
* Fix typo.Joel Andres Granados2008-07-141-3/+3
|
* Clean plugin_mdadmconf.py fileJoel Andres Granados2008-07-141-29/+57
|
* Be a bit more informative with the error message.Joel Andres Granados2008-07-141-1/+2
| | | | | | | Sometimes just pringing the error message does not give us a lot of information of context. The KeyError for instance only prints out the key that was not found. With no context this is of little or no use.
* Tell the user where to find our ticket system.Joel Andres Granados2008-07-141-1/+2
|
* The -f options implies --nodeps.Joel Andres Granados2008-07-141-0/+4
| | | | | | | When the user uses -f he will be calling only one plugin or a subset of the total plugins. This means that the flags will not get set and the plugin will not run. This patch fixes this by setting the nodeps flag. We also modified the help given to the user.
* Tell the user what options he can expect from the -l command argument.Joel Andres Granados2008-07-141-0/+3
|
* Make xserver plugin a little friendlier.Joel Andres Granados2008-07-141-4/+14
| | | | | | | - Put the previous xorg config file in a backup file where the user can see it. - Give the user extra information about how to create an xorg configuration file.
* Be sure to use the "\" character when coding a string in multiple lines.Joel Andres Granados2008-07-142-2/+2
| | | | | | | | | | | | | | This behavior is prefered to enclosing the string with parenthesis. When using "\" remember to close the strings with quotation marks to have a clean output. Prefered: message = "long string " \ "end of long string" Not prefered: message = ("long string " "end of long string"
* Avoid the situation in which we use the erased dictionary to iterate on.Joel Andres Granados2008-07-141-1/+2
|
* Fix typo.Joel Andres Granados2008-07-141-1/+1
|
* The Backup system does not like real objects.Joel Andres Granados2008-07-141-1/+1
| | | | | We should really implement a backup object that know who is calling and sets the unique id.
* These file was missed in the previous format checks.Joel Andres Granados2008-07-142-17/+27
|