summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use the new message class and fix the error recording and outputBrian Dolbec2011-02-124-24/+27
|
* new simplified message classBrian Dolbec2011-02-121-0/+187
|
* rename Overlay's __str__(). split out UnknownOverlayMessage() from the ↵Brian Dolbec2011-02-122-4/+6
| | | | exception class
* add the ability to plugin repository definition xml files without editing ↵Brian Dolbec2011-02-121-5/+33
| | | | the config file
* add an example testpath for testing the git checkoutBrian Dolbec2011-02-121-0/+17
|
* add an irc data element to the overlay xmlBrian Dolbec2011-02-122-0/+14
|
* add a list_ids() and use the itBrian Dolbec2011-02-122-2/+8
|
* add missing output statements, debug all the new actionsBrian Dolbec2011-02-121-17/+26
|
* minor word changeBrian Dolbec2011-02-121-1/+1
|
* add missing output messagesBrian Dolbec2011-02-121-3/+20
|
* add a generator for source types the same as source uris.Brian Dolbec2011-02-122-11/+17
| | | | | use the generator in get_all_info(). pylint cleanup.
* add a few more files to ignoreBrian Dolbec2011-02-121-0/+2
|
* create a new cli interface to use the new apiBrian Dolbec2011-02-122-2/+291
|
* overhaul the api, add several functions, delay loading of the db's, etcBrian Dolbec2011-02-122-97/+140
|
* move utility functions out of the Overlay classBrian Dolbec2011-02-112-41/+61
|
* add a linefeed to the hint message for better output separationBrian Dolbec2011-02-111-2/+2
|
* fix long lines and a typo, minor code improvementsBrian Dolbec2011-02-111-10/+19
|
* Move color codes to a new file.Brian Dolbec2011-02-112-14/+53
| | | | Add some message string constants
* add optional repo list limiter to the list functionBrian Dolbec2011-02-111-2/+5
|
* slight code change to my modified base.Brian Dolbec2011-02-111-10/+10
| | | | whitespace cleanup
* update to using basestring instead of str.Brian Dolbec2011-02-111-4/+5
| | | | Otherwise assume it is an iterable.
* Apply tulcod's g-common support changes.Brian Dolbec2011-02-113-0/+78
|
* some docstring updatesBrian Dolbec2011-02-111-2/+12
|
* remove the extra comma that wrapped the dict in a tuple.Brian Dolbec2011-02-111-1/+1
|
* change add_repo and delete_repo to add_repos,Brian Dolbec2011-02-111-6/+69
| | | | | | | delete_repos to reflect they can take a list. fix the dumb error in get_errors(). change get_info() to get_info_str() and code get_all_info() that returns data instead of the string representation of it.
* fix the docstrings to match current input types.Brian Dolbec2011-02-111-7/+7
|
* make the sync_results saved every time rather than conditional.Brian Dolbec2011-02-111-2/+2
|
* fix some typos, copy/paste errors, and debug/fix some changes to the api.Brian Dolbec2011-02-111-8/+8
|
* Remove the Output class as it is not needed, was used for initial testing only.Brian Dolbec2011-02-111-63/+0
|
* Add a get_option function as a convenience function for option retrieval ↵Brian Dolbec2011-02-111-0/+5
| | | | instead of using the class instance as a dictionary.
* Modify the API to be more compatible with a c interface.Brian Dolbec2011-02-111-37/+87
| | | | | | | | Make all main repo functions accept either a string or a list of strings. Change most functions to return True/False for success/failure and save error messages for separate retrieval. Change other functions to return a dictionary instead of tuples or lists. Add a get_errors() for retrieving and resetting error messages. Change sync to either save or print the success, warnings, fatals info.
* Separate out the configs from the args parsing code. This will allow basic ↵Brian Dolbec2011-02-114-34/+97
| | | | configs for api consumers that are changeable.
* change the shebang because it would not run in my test environmentBrian Dolbec2011-02-111-1/+1
|
* create a new readme to explain a bit how to use the new apiBrian Dolbec2011-02-111-0/+57
|
* fix results trackingBrian Dolbec2011-02-111-22/+22
|
* add new layman API file and class to be used by api consumers, but could ↵Brian Dolbec2011-02-111-0/+354
| | | | also be used by the cli if they desire to migrate to it. That would eliminate the duplication in hte action.py file. Unfortunately, the action classes were not suitable for api consumers. They worked efficiently as one time cli use only. I also have subclassed the debug.py's Message class to override some print statements for data capture instead. This may not survive when the api is completed. create_fd() is handy for creating opened file descriptors to use for output re-direction.
* Change the remaining modules to use the config['output'] variable so ↵Brian Dolbec2011-02-113-12/+17
| | | | re-direction is possible for all output.
* Add an output parameter to Message class and change the prints that weren't ↵Brian Dolbec2011-02-111-5/+10
| | | | already re-directed to re-direct to it
* change to use the config['output'] variableBrian Dolbec2011-02-112-12/+15
|
* Add an input parameter, 'output' to delete_empty_directory so that it can be ↵Brian Dolbec2011-02-111-5/+5
| | | | overriden if desired
* add new __init__ input parameters, output (replaces OUT import), stdout, ↵Brian Dolbec2011-02-111-18/+32
| | | | stdin, stderr. These are then added to the config dictionary for all other modules to use. This creates a single point to assign them and makes it possible to re-assign them from the defaults in the case of API consumers.
* Extend .gitignoreSebastian Pipping2011-02-081-0/+1
|
* MANIFEST.in: Ship file doc/docbook-xsl.cssv1.4.2Sebastian Pipping2011-02-081-0/+1
|
* Prepare release of 1.4.2 (set release date, sync release notes)Sebastian Pipping2011-02-083-8/+11
|
* Makefile: Extract version from layman/version.py (was hardcoded before)Sebastian Pipping2011-02-081-4/+6
|
* Makefile: Add target "website" to ease uploading the latest man page to ↵Sebastian Pipping2011-02-081-0/+7
| | | | layman.sf.net
* Makefile: Remove target "www"Sebastian Pipping2011-02-081-4/+0
|
* Add missing asciidoc.confSebastian Pipping2010-11-071-0/+3
|
* Improve documentation on option nocheck (bug #267686)Sebastian Pipping2010-11-072-4/+18
|
* man page: Add "=" to long optionsSebastian Pipping2010-11-071-8/+8
|