| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Nothing was used from the original grub plugin. For now
they will both coexists in the code.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This will make life much easier for the plugin developers. Now there
is no need to specify level inside the plugin.
|
|
|
|
| |
If it is not placed in the same line it will look distorted.
|
|
|
|
|
| |
The target calls all the ohter build targets.
modified: Makefile
|
|
|
|
| |
modified: articlefak-concept.tex
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
modified: Makefile
Add some code to have an image header.
modified: articlefak-concept.tex
|
|
|
|
| |
modified: doc/articlefak-concept.tex
|
|
|
|
| |
modified: doc/articlefak-concept.tex
|
|
|
|
| |
We will need a Makefile to handle all the documentation stuff.
|
| |
|
|
|
|
| |
section.
|
| |
|
|
|
|
| |
It would be nice if all the articles have the same prefix "articlefak-".
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
unexpected exception.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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"
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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"
|
| |
|
| |
|
|
|
|
|
| |
We should really implement a backup object that know who is calling and
sets the unique id.
|
| |
|