Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
1. This is very useful for testing (until we have boto timeout in a more sane manner)
|
|
2. Fixed up importing of modules to handle the failure case better
a. Also realized that using the import class we don't have to reimport a module via getattr, so removed that.
|
|
|
|
a. This allows for more properties to be added as needed in the future, instead of being very restrictive.
2. Fix up all uses of the url reading to now use this new response object.
3. Also fixup user data including, such that if no response actual occurs the url content is not further processed.
|
|
This could and should be useful for unit testing.
|
|
appropriate annotations + metaclasses.
|
|
|
|
|
|
translation to python 3.
|
|
translation to python 3.
|
|
translation to python 3.
|
|
|
|
Some of the cleanups were the following
1. Using standard (logged) utility functions for sub process work, writing, reading files, and other file system/operating system options
2. Having distrobutions impelement there own subclasses to handle system specifics (if applicable)
3. Having a cloud wrapper that provides just the functionality we want to expose (cloud.py)
4. Using a path class instead of globals for all cloud init paths (it is configured via config)
5. Removal of as much shared global state as possible (there should be none, minus a set of constants)
6. Other various cleanups that remove transforms/handlers/modules from reading/writing/chmoding there own files.
a. They should be using util functions to take advantage of the logging that is now enabled in those util functions (very useful for debugging)
7. Urls being read and checked from a single module that serves this and only this purpose (+1 for code organization)
8. Updates to log whenever a transform decides not to run
9. Ensure whenever a exception is thrown (and possibly captured) that the util.logexc function is called
a. For debugging, tracing this is important to not just drop them on the floor.
10. Code shuffling into utils.py where it makes sense (and where it could serve a benefit for other code now or in the future)
|
|
new structure, using unified util functions, logging and eliminating code and calls.
|
|
use logexc instead of log.exception
|
|
|
|
|
|
|
|
objects/logging added...
|
|
|
|
here as well as other find datasource function.
|
|
|
|
2. Cleanup main __init__ file with shell additions, constants usage, os.path usage.
|
|
|