Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changes to FAK Gui and Info object | Martin Sivak | 2010-09-07 | 1 | -1/+1 |
| | | | | | - Gui allows to save results in info object - Info object allows attaching files and saving as .zip archive | ||||
* | When initializin flows, make it possible to initialize empty flow dict | Martin Sivak | 2010-08-30 | 1 | -2/+5 |
| | |||||
* | Improve the user experience | Martin Sivak | 2010-08-24 | 1 | -1/+2 |
| | | | | | | - Expert tab is hidden by default - Config dialog checks the format of entered values - Example plugin for dialogs updated | ||||
* | Fix flow initialization, use deepcopy to create copied flow structures | Martin Sivak | 2010-08-23 | 1 | -2/+2 |
| | |||||
* | Add support for flow title in plugin. | Tomas Mlcoch | 2010-08-16 | 1 | -2/+36 |
| | |||||
* | Add a finer grained possibility to interrupt execution and do some tweaks in ↵ | Martin Sivak | 2010-06-21 | 1 | -3/+11 |
| | | | | Gtk UI | ||||
* | Various small fixes. | Joel Andres Granados | 2008-11-19 | 1 | -14/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | GrubPlugin: | Joel Andres Granados | 2008-10-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | 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. | ||||
* | Enable prer flow arguments | Martin Sivak | 2008-09-08 | 1 | -5/+8 |
| | |||||
* | Make the argument passing more general. | Joel Andres Granados | 2008-08-08 | 1 | -2/+8 |
| | | | | | | 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 | -2/+7 |
| | | | | | | | | 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. | ||||
* | Direct the failure in prepare to the clean step. | Joel Andres Granados | 2008-08-07 | 1 | -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. | ||||
* | Catch the exception where the user configures a plugin that is not found. | Joel Andres Granados | 2008-07-15 | 1 | -2/+4 |
| | |||||
* | Fix typo. | Joel Andres Granados | 2008-07-14 | 1 | -1/+1 |
| | |||||
* | Avoid the ugly space left by adding "\" to a string separation. | Joel Andres Granados | 2008-07-14 | 1 | -22/+22 |
| | | | | | | | | | | | | | | | When deviding a string into two lines one must use pythons automatic string concatenation (python concatenates strings that are in different line but are inside parenthesis). Do not use the "\" in the string as this will cause strange and unwanted output. Yes: print("long string" "rest of string") No: print("long string \ rest of string") | ||||
* | Fix the format of the firstaidkit file. | Joel Andres Granados | 2008-07-14 | 1 | -102/+161 |
| | | | | | | | | | | | | | - 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/ | ||||
* | Add the Info object and make it possible to override lock for single section | Martin Sivak | 2008-06-30 | 1 | -3/+6 |
| | |||||
* | When looking in paths given by the user, check to see if the paths is valid. | Joel Andres Granados | 2008-05-30 | 1 | -0/+3 |
| | | | | We don't want to fail as other paths might be usefull. | ||||
* | Change one error message, so it makes sense | Martin Sivak | 2008-05-12 | 1 | -1/+1 |
| | |||||
* | Change the detected name to checked. | Joel Andres Granados | 2008-05-12 | 1 | -1/+1 |
| | | | | | The new variable name better expresses the objective of the issue state. This will help avoid confusion for the plugin developer. | ||||
* | Add ISSUE message to reporting and create SimpleIssue as a parent for Issue ↵ | Martin Sivak | 2008-04-22 | 1 | -1/+6 |
| | | | | class (so everybody can use something simple to report state) | ||||
* | Flag system is able to list all known flags | Martin Sivak | 2008-04-18 | 1 | -0/+2 |
| | |||||
* | When plugin throws an exception during plugin discovery, ignore it (just ↵ | Martin Sivak | 2008-04-10 | 1 | -3/+6 |
| | | | | print error message) | ||||
* | Report the task start/stop on correct places and report the exceptions there too | Martin Sivak | 2008-04-09 | 1 | -4/+7 |
| | |||||
* | When using the iteration mode, catch all plugin exceptions so we can handle ↵ | Martin Sivak | 2008-04-08 | 1 | -2/+6 |
| | | | | the None result in flow | ||||
* | Add the None path (Exception handling) to flows | Martin Sivak | 2008-03-19 | 1 | -9/+9 |
| | |||||
* | Fix the return values and flag logic of IssuesPlugin | Martin Sivak | 2008-03-19 | 1 | -7/+15 |
| | |||||
* | Add flag handling into the IssuesPlugin | Martin Sivak | 2008-03-18 | 1 | -0/+11 |
| | |||||
* | Fix the traceback with unknown keyword argument backups in IssuesPlugin | Martin Sivak | 2008-03-18 | 1 | -2/+2 |
| | |||||
* | Introduce the common Backup interface and move utils package into directory | Martin Sivak | 2008-03-14 | 1 | -3/+5 |
| | |||||
* | Report the issues from IssuesPlugin.diagnose | Martin Sivak | 2008-03-14 | 1 | -0/+2 |
| | |||||
* | Add IssuesPlugin class and basic rpm plugin, which uses the issues approach | Martin Sivak | 2008-03-14 | 1 | -0/+45 |
| | |||||
* | Create an use the invalidpluginname exception. | Joel Andres Granados | 2008-03-14 | 1 | -1/+9 |
| | |||||
* | improve readability of code | Joel Andres Granados | 2008-03-14 | 1 | -11/+17 |
| | |||||
* | Sanitize the origin/level/importance system | Martin Sivak | 2008-03-05 | 1 | -8/+19 |
| | | | | | Use reporting when possible (some messages automatically use Logger to avoid duplication) Improve the Output thread to use the new level/importance system | ||||
* | When instantiating plugin, pass the path to the plugin, so it knows where to ↵ | Martin Sivak | 2008-03-05 | 1 | -2/+6 |
| | | | | find it's parts | ||||
* | Modify the plugins, tasker and cli launcher to provide means to split the ↵ | Martin Sivak | 2008-02-28 | 1 | -17/+27 |
| | | | | | | flows into diagnostics and fixes. So when the user launches ./firstaidkit -a it runs only diagnostics. For fixing use ./firstaidkit -a fix | ||||
* | Rename the Return* classes to more sane names and update everything to use them | Martin Sivak | 2008-02-26 | 1 | -16/+16 |
| | | | | | Fix the NoOptionError exception throwing in configuration Add the -a|--auto parameter to launch the automatic mode of operation | ||||
* | Appeninding Return to the class names help to identify them in the plugin code. | Joel Andres Granados | 2008-02-26 | 1 | -6/+6 |
| | |||||
* | Use a more intuitive return class names for the default flows. | Joel Andres Granados | 2008-02-26 | 1 | -11/+11 |
| | | | | | True and false are not very generic for the flows. Favorable and Unfavorable are not completely generic but are better. | ||||
* | Move the check for root environment into the interpret and utilize flag ↵ | Martin Sivak | 2008-02-26 | 1 | -2/+4 |
| | | | | | | system for it. Add --info and --list commands for getting the information about plugins. | ||||
* | Its better to have a section of paths. This will allow to add and erase paths | Joel Andres Granados | 2008-02-20 | 1 | -1/+1 |
| | | | | as the user sees necessary. | ||||
* | Allow to look for plugins in multiple places. | Joel Andres Granados | 2008-02-20 | 1 | -31/+32 |
| | |||||
* | Add FlagTrackerPlugin base class | Martin Sivak | 2008-02-13 | 1 | -0/+56 |
| | |||||
* | Add conflict flags to plugin definition | Martin Sivak | 2008-02-11 | 1 | -5/+19 |
| | | | | Add "activity" flags, so our "Tracker plugins logic" can work | ||||
* | Make logging work | Joel Andres Granados | 2008-02-01 | 1 | -1/+3 |
| | |||||
* | The log in __builtins__ might have some strange sideeffects. | Joel Andres Granados | 2008-02-01 | 1 | -1/+1 |
| | |||||
* | Log the pluginsystem stuff ot a file. | Joel Andres Granados | 2008-01-16 | 1 | -1/+1 |
| | | | | | Put the Logger in the __builtin__. Use Config object to initialize the default values. | ||||
* | Change the flows magic a little (unify the defflows and flows variable) | Martin Sivak | 2008-01-02 | 1 | -11/+13 |
| | |||||
* | Move from tasker to pyfirstaidkit to try to follow the standard in ↵ | Joel Andres Granados | 2008-01-02 | 1 | -0/+352 |
site-packages. |