summaryrefslogtreecommitdiffstats
path: root/pyfirstaidkit
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* 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.
* Catch the exception where the user configures a plugin that is not found.Joel Andres Granados2008-07-152-3/+5
|
* 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
|
* 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
|
* These file was missed in the previous format checks.Joel Andres Granados2008-07-142-17/+27
|
* Fix typo.Joel Andres Granados2008-07-141-1/+1
|
* Avoid the ugly space left by adding "\" to a string separation.Joel Andres Granados2008-07-145-35/+35
| | | | | | | | | | | | | | | 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")
* Put the header and footer for the print information function in the FAKInfo ↵Joel Andres Granados2008-07-142-3/+7
| | | | | | | class. The only condition to lookout for is that the fd must have a write function implemented. By default the stdout is used.
* Fix the format of the firstaidkit file.Joel Andres Granados2008-07-1412-210/+358
| | | | | | | | | | | | | - 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-0/+1
|
* Add the Info object and make it possible to override lock for single sectionMartin Sivak2008-06-303-4/+28
|
* Fix typo.Joel Andres Granados2008-06-061-1/+1
|
* Add an exists function to the backup system.Joel Andres Granados2008-06-061-2/+26
|
* Always use os.path.join when using the chroon.Joel Andres Granados2008-06-061-1/+1
| | | | This will avoid the double backslash.
* Create a general purpose exception for thing that dont have exception yet.Joel Andres Granados2008-06-041-0/+11
|
* Get the default configuration names right.Joel Andres Granados2008-06-021-1/+1
|
* Check to see if the backup dir is present when creating it.Joel Andres Granados2008-05-301-1/+4
| | | | | If firstaidkit is run and does not end properly it is possible for the backup dir to already be there. The sane thing to do is to tell the user.
* Two reasons to change the backup directory from /tmp/backup to ↵Joel Andres Granados2008-05-301-1/+1
| | | | | | | /tmp/firstaidkitbackup 1. The /tmp/backup might already exist and have some info 2. the directory /tmp/firstaidkitbackup is a bit more specific than the what was used.
* When looking in paths given by the user, check to see if the paths is valid.Joel Andres Granados2008-05-301-0/+3
| | | | We don't want to fail as other paths might be usefull.
* Backup valuesMartin Sivak2008-05-281-0/+34
|
* Change one error message, so it makes senseMartin Sivak2008-05-121-1/+1
|
* Change the detected name to checked.Joel Andres Granados2008-05-122-22/+22
| | | | | The new variable name better expresses the objective of the issue state. This will help avoid confusion for the plugin developer.
* Some API improvements, so the developer do not have to care about the issue ↵Martin Sivak2008-05-051-0/+11
| | | | reporting that much
* Add shortcut to getConfBitsMartin Sivak2008-04-251-1/+2
|
* Fix the gui searching code to support more directories and fix the default pathsMartin Sivak2008-04-241-1/+1
|
* Look for frontend in multiple directoriesMartin Sivak2008-04-241-2/+2
|
* Prepare gui for packaging and update the spec fileMartin Sivak2008-04-241-1/+4
|
* Typo in backup moduleMartin Sivak2008-04-241-3/+3
|
* Issue reporting and Tasker interruptMartin Sivak2008-04-232-2/+8
|
* Circular buffer works correctly and the baskup system doesn't stay ↵Martin Sivak2008-04-221-2/+14
| | | | initialized because of reporting queue anymore
* Move some methods to SimpleIssue classMartin Sivak2008-04-221-25/+25
|
* Add ISSUE message to reporting and create SimpleIssue as a parent for Issue ↵Martin Sivak2008-04-223-32/+49
| | | | class (so everybody can use something simple to report state)
* Fix the flow modeMartin Sivak2008-04-221-0/+1
|
* Introduce "interactive" configuration variable and set it to False by defaultMartin Sivak2008-04-221-0/+1
|
* Add --nodeps commandline parameter and associated operation.dependencies ↵Martin Sivak2008-04-222-23/+24
| | | | | | 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)
* known() returns union of detected and provided flagsMartin Sivak2008-04-221-1/+1
|
* Make the flags and Tasker object reusableMartin Sivak2008-04-212-1/+5
|
* Improvements targeted at better Gui integrationMartin Sivak2008-04-212-10/+29
|
* Add --flags commandline option to list all known dependency flagsMartin Sivak2008-04-182-3/+5
|
* Split the dependency system to its own file, to have better readability when ↵Martin Sivak2008-04-182-40/+69
| | | | new features are introduced
* Flag system is able to list all known flagsMartin Sivak2008-04-182-0/+15
|
* Introduce the reporting queue support for circular buffer and callback ↵Martin Sivak2008-04-181-4/+29
| | | | notifications during put operation
* When plugin throws an exception during plugin discovery, ignore it (just ↵Martin Sivak2008-04-102-4/+7
| | | | print error message)
* Rename internal attributec of configuration object to avoid name clashesMartin Sivak2008-04-091-14/+14
| | | | Add architecture flags into the FLAGS file
* Honor the DEFAULT section in configuration fileMartin Sivak2008-04-091-3/+3
|
* Enhance the configuration system to allow getting configuration bits helping ↵Martin Sivak2008-04-091-1/+13
| | | | | | with different packages|plugins Do not print the lines around --print-config, so we can save it directly into correct configuration file
* Report the task start/stop on correct places and report the exceptions there tooMartin Sivak2008-04-091-4/+7
|