summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add per repo type postsync options.Brian Dolbec2011-02-1711-44/+141
| | | Some minor long lines cleanup.
* make the BareConfig more comparable with the ArgsParser.Brian Dolbec2011-02-171-11/+35
| | | Separate out a True/False function for config option string conversion.
* shorten long linesBrian Dolbec2011-02-171-8/+12
|
* add per repo type config optionsBrian Dolbec2011-02-178-19/+125
|
* fix the incorrect exit code settings which are opposite the True/False that ↵Brian Dolbec2011-02-132-3/+7
| | | | the api returns
* Split out MessageBase class, more code reduction/cleanupBrian Dolbec2011-02-131-15/+38
|
* more DebugMessage class cleanup/transition to subclassing MessageBrian Dolbec2011-02-131-25/+14
|
* fix a missed color_off(), add myself to the copyright, whitespace cleaningBrian Dolbec2011-02-131-10/+7
|
* fix a long line, clean an unused import, fix the sync return value betterBrian Dolbec2011-02-131-4/+3
|
* simplify debug.py to subclass the simplified Message classBrian Dolbec2011-02-131-128/+23
|
* further simplify, reduce the number of functionsBrian Dolbec2011-02-132-28/+16
|
* output more info to the trial for adding an overlayBrian Dolbec2011-02-121-0/+4
|
* 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