Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add question support. | Miloslav Trmač | 2009-07-17 | 1 | -6/+59 |
| | | | | Signed-off-by: Martin Sivak <msivak@redhat.com> | ||||
* | * Replace Reports(round) by Reports(silent) to avoid a lock around all | Miloslav Trmač | 2009-07-17 | 1 | -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 Sivak | 2009-07-14 | 1 | -2/+2 |
| | | | | standard methods of message construction | ||||
* | firstaidkit: | Joel Andres Granados | 2008-10-30 | 1 | -1/+1 |
| | | | | 1. <flow> with the -f function is optional. | ||||
* | firstaidkit: | Joel Andres Granados | 2008-10-30 | 1 | -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 arguments | Martin Sivak | 2008-09-08 | 1 | -1/+1 |
| | |||||
* | Make the argument passing more general. | Joel Andres Granados | 2008-08-08 | 1 | -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 Granados | 2008-08-08 | 1 | -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 Granados | 2008-08-06 | 1 | -2/+1 |
| | | | | If it is not placed in the same line it will look distorted. | ||||
* | Have a shorter message for the user. | Joel Andres Granados | 2008-07-15 | 1 | -2/+1 |
| | |||||
* | Be a bit less apocaliptic when telling the user that we have an | Joel Andres Granados | 2008-07-15 | 1 | -4/+9 |
| | | | | unexpected exception. | ||||
* | Catch the exception where the user configures a plugin that is not found. | Joel Andres Granados | 2008-07-15 | 1 | -0/+3 |
| | |||||
* | Be a bit more informative with the error message. | Joel Andres Granados | 2008-07-14 | 1 | -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 Granados | 2008-07-14 | 1 | -1/+2 |
| | |||||
* | The -f options implies --nodeps. | Joel Andres Granados | 2008-07-14 | 1 | -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 Granados | 2008-07-14 | 1 | -0/+3 |
| | |||||
* | Fix the format of the firstaidkit file. | Joel Andres Granados | 2008-07-14 | 1 | -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 Granados | 2008-07-11 | 1 | -10/+12 |
| | |||||
* | Rename gui frontend to gtk frontend and add some examples to firstaidkit ↵ | Martin Sivak | 2008-06-03 | 1 | -8/+10 |
| | | | | launch script | ||||
* | Catch the exception at the firstaidkit script level. | Joel Andres Granados | 2008-05-30 | 1 | -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 Granados | 2008-05-30 | 1 | -1/+1 |
| | |||||
* | Fix traceback if user not root and has not log file defined. | Joel Andres Granados | 2008-05-30 | 1 | -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 line | Martin Sivak | 2008-04-25 | 1 | -9/+11 |
| | |||||
* | Fix the gui searching code to support more directories and fix the default paths | Martin Sivak | 2008-04-24 | 1 | -4/+4 |
| | |||||
* | Look for frontend in multiple directories | Martin Sivak | 2008-04-24 | 1 | -1/+2 |
| | |||||
* | Prepare gui for packaging and update the spec file | Martin Sivak | 2008-04-24 | 1 | -8/+11 |
| | |||||
* | Detect availability of gui and fallback to console output | Martin Sivak | 2008-04-24 | 1 | -2/+13 |
| | |||||
* | Issue reporting and Tasker interrupt | Martin Sivak | 2008-04-23 | 1 | -0/+3 |
| | |||||
* | Circular buffer works correctly and the baskup system doesn't stay ↵ | Martin Sivak | 2008-04-22 | 1 | -1/+2 |
| | | | | initialized because of reporting queue anymore | ||||
* | Add --nodeps commandline parameter and associated operation.dependencies ↵ | Martin Sivak | 2008-04-22 | 1 | -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 Sivak | 2008-04-21 | 1 | -16/+58 |
| | |||||
* | Add --flags commandline option to list all known dependency flags | Martin Sivak | 2008-04-18 | 1 | -1/+4 |
| | |||||
* | Enhance the configuration system to allow getting configuration bits helping ↵ | Martin Sivak | 2008-04-09 | 1 | -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 Sivak | 2008-03-18 | 1 | -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 Granados | 2008-03-18 | 1 | -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 message | Martin Sivak | 2008-03-17 | 1 | -3/+3 |
| | |||||
* | Remove -t parameter from --help and from the man page, as it is an ↵ | Martin Sivak | 2008-03-17 | 1 | -3/+2 |
| | | | | undocumented and currently not implemented feature | ||||
* | Documenting is fun :) | Joel Andres Granados | 2008-03-14 | 1 | -2/+2 |
| | |||||
* | If no mode is specified, fall back to the usage message. | Joel Andres Granados | 2008-03-14 | 1 | -0/+4 |
| | |||||
* | Tell the user when he is missing arguments for the flow mode. fixes (#38) | Joel Andres Granados | 2008-03-14 | 1 | -0/+5 |
| | |||||
* | Leave the '/' characters in the paths with -P option | Joel Andres Granados | 2008-03-10 | 1 | -1/+1 |
| | |||||
* | When listing config, don't execute plugins. | Joel Andres Granados | 2008-03-10 | 1 | -0/+1 |
| | |||||
* | Be a little bit more helpfull when the user make a mistake with the command | Joel Andres Granados | 2008-03-07 | 1 | -3/+9 |
| | |||||
* | Update the help string | Martin Sivak | 2008-03-06 | 1 | -4/+6 |
| | |||||
* | Fix wrong verbose condition | Martin Sivak | 2008-03-05 | 1 | -1/+1 |
| | |||||
* | Sanitize the origin/level/importance system | Martin Sivak | 2008-03-05 | 1 | -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 container | Martin Sivak | 2008-03-04 | 1 | -1/+1 |
| | |||||
* | import os for the isdir call. | Joel Andres Granados | 2008-03-01 | 1 | -1/+1 |
| | |||||
* | Modify the plugins, tasker and cli launcher to provide means to split the ↵ | Martin Sivak | 2008-02-28 | 1 | -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 Granados | 2008-02-26 | 1 | -1/+1 |
| |