summaryrefslogtreecommitdiffstats
path: root/firstaidkit
Commit message (Collapse)AuthorAgeFilesLines
* Add question support.Miloslav Trmač2009-07-171-6/+59
| | | | Signed-off-by: Martin Sivak <msivak@redhat.com>
* * Replace Reports(round) by Reports(silent) to avoid a lock around allMiloslav Trmač2009-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Make the answer mailboxes a proper Reporting objects so we can use all the ↵Martin Sivak2009-07-141-2/+2
| | | | standard methods of message construction
* firstaidkit:Joel Andres Granados2008-10-301-1/+1
| | | | 1. <flow> with the -f function is optional.
* 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.
* Enable prer flow argumentsMartin Sivak2008-09-081-1/+1
|
* Make the argument passing more general.Joel Andres Granados2008-08-081-10/+4
| | | | | | It is possible for the plugin name to have a space. when this occured it threw off the argument detecting logic. This new way of detecting the plugin name is more general.
* Add the possibility to pass arguments to plugins.Joel Andres Granados2008-08-081-3/+15
| | | | | | | | 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.
* 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.
* Have a shorter message for the user.Joel Andres Granados2008-07-151-2/+1
|
* 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-151-0/+3
|
* 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
|
* Fix the format of the firstaidkit file.Joel Andres Granados2008-07-141-74/+115
| | | | | | | | | | | | | - Indendtation should be 4 spaces. There was a function indented with 8 spaces. - Lines should be shorted than 80 chars. It just looks pretty :) Think of terminals whith only 80 char of length. Think of debuging in rescue mode. - Change also the print statements. Just getting ready for python 3000. - Get some spaces between elifs - There should not be any lines ending in spaces. - This can all be read in the python code conventions http://www.python.org/dev/peps/pep-0008/
* Handle the situation where /var/log/ directory is not present.Joel Andres Granados2008-07-111-10/+12
|
* Rename gui frontend to gtk frontend and add some examples to firstaidkit ↵Martin Sivak2008-06-031-8/+10
| | | | launch script
* Catch the exception at the firstaidkit script level.Joel Andres Granados2008-05-301-2/+11
| | | | Give some additional information to the user so he knows what to do.
* Lets not have a milion log files in the current directory.Joel Andres Granados2008-05-301-1/+1
|
* Fix traceback if user not root and has not log file defined.Joel Andres Granados2008-05-301-1/+11
| | | | | | | | If firstaidkit is run with default config (from configuration.py) the log file is /var/log/firstaidkit.log. This could generate a traceback if the user is not root. This patch simply make fak fall back on a file located on the curren directory. If this further fails print error and exit with error code.
* When using GUI, do not require operation specified on command lineMartin Sivak2008-04-251-9/+11
|
* Fix the gui searching code to support more directories and fix the default pathsMartin Sivak2008-04-241-4/+4
|
* Look for frontend in multiple directoriesMartin Sivak2008-04-241-1/+2
|
* Prepare gui for packaging and update the spec fileMartin Sivak2008-04-241-8/+11
|
* Detect availability of gui and fallback to console outputMartin Sivak2008-04-241-2/+13
|
* Issue reporting and Tasker interruptMartin Sivak2008-04-231-0/+3
|
* Circular buffer works correctly and the baskup system doesn't stay ↵Martin Sivak2008-04-221-1/+2
| | | | initialized because of reporting queue anymore
* Add --nodeps commandline parameter and associated operation.dependencies ↵Martin Sivak2008-04-221-4/+7
| | | | | | configuration flag Modify the Tasker to accept list of plugins and list of flows to run with them (so it is possible to choose arbitrary combination in gui)
* Add method for invoking the GUI mode (-g gui)Martin Sivak2008-04-211-16/+58
|
* Add --flags commandline option to list all known dependency flagsMartin Sivak2008-04-181-1/+4
|
* Enhance the configuration system to allow getting configuration bits helping ↵Martin Sivak2008-04-091-2/+0
| | | | | | with different packages|plugins Do not print the lines around --print-config, so we can save it directly into correct configuration file
* The print config part has to be executed right before the Config is locked,Martin Sivak2008-03-181-6/+6
| | | | because command line arguments are making modifications to the Config until that time.
* Have the help and print config first in line.Joel Andres Granados2008-03-181-11/+10
| | | | | Since these two are not modes are operation and exit after executing, they should be first so that an error messages is not showed in the output.
* Fix the help messageMartin Sivak2008-03-171-3/+3
|
* Remove -t parameter from --help and from the man page, as it is an ↵Martin Sivak2008-03-171-3/+2
| | | | undocumented and currently not implemented feature
* Documenting is fun :)Joel Andres Granados2008-03-141-2/+2
|
* If no mode is specified, fall back to the usage message.Joel Andres Granados2008-03-141-0/+4
|
* Tell the user when he is missing arguments for the flow mode. fixes (#38)Joel Andres Granados2008-03-141-0/+5
|
* Leave the '/' characters in the paths with -P optionJoel Andres Granados2008-03-101-1/+1
|
* When listing config, don't execute plugins.Joel Andres Granados2008-03-101-0/+1
|
* Be a little bit more helpfull when the user make a mistake with the commandJoel Andres Granados2008-03-071-3/+9
|
* Update the help stringMartin Sivak2008-03-061-4/+6
|
* Fix wrong verbose conditionMartin Sivak2008-03-051-1/+1
|
* Sanitize the origin/level/importance systemMartin Sivak2008-03-051-6/+48
| | | | | Use reporting when possible (some messages automatically use Logger to avoid duplication) Improve the Output thread to use the new level/importance system
* Modify the reporting system to use dictionary as message containerMartin Sivak2008-03-041-1/+1
|
* import os for the isdir call.Joel Andres Granados2008-03-011-1/+1
|
* Modify the plugins, tasker and cli launcher to provide means to split the ↵Martin Sivak2008-02-281-0/+4
| | | | | | flows into diagnostics and fixes. So when the user launches ./firstaidkit -a it runs only diagnostics. For fixing use ./firstaidkit -a fix
* Add an extra name to the usage string.Joel Andres Granados2008-02-261-1/+1
|