Jason Gerard DeRose
|
21a0bab79e
|
272: Add a quick positional arg experiment
|
2008-09-09 01:41:15 +00:00 |
|
Jason Gerard DeRose
|
13f030d91e
|
271: Improved __repr__ methods for better output from the show-plugins command
|
2008-09-08 21:51:05 +00:00 |
|
Jason Gerard DeRose
|
cb9c442708
|
270: show-plugins now only shows namespaces with at least one member
|
2008-09-08 21:44:53 +00:00 |
|
Jason Gerard DeRose
|
03fd184e8e
|
269: Renamed print_api command to show_plugins
|
2008-09-08 21:42:48 +00:00 |
|
Jason Gerard DeRose
|
7d3d607b55
|
268: Fixed broken unit test for Plugin.__repr__()
|
2008-09-08 21:40:46 +00:00 |
|
Jason Gerard DeRose
|
e74713a076
|
267: Finished builtin CLI api command
|
2008-09-08 21:37:02 +00:00 |
|
Jason Gerard DeRose
|
641403278e
|
266: Started work on new cli.print_api Command
|
2008-09-04 18:35:04 +00:00 |
|
Jason Gerard DeRose
|
22d9b8c078
|
265: Fixed small formatting error with use of CLI.print_commands()
|
2008-09-04 09:27:28 +00:00 |
|
Jason Gerard DeRose
|
553b0c596d
|
264: Cleaned up docstrings on all example plugins
|
2008-09-04 09:22:18 +00:00 |
|
Jason Gerard DeRose
|
6b9ba734e1
|
263: CLI.print_commands() now seperates Command subclasses from Application subclasses
|
2008-09-04 09:04:35 +00:00 |
|
Jason Gerard DeRose
|
86035c8655
|
262: Fixed crossreference in public.Application docstring
|
2008-09-04 08:39:27 +00:00 |
|
Jason Gerard DeRose
|
6f95249d52
|
261: More work on demo using Option.__call__() for interactive input
|
2008-09-04 08:33:41 +00:00 |
|
Jason Gerard DeRose
|
915486dadc
|
260: Option.normalize() now does same conversion for multivalue as Option.convert() does
|
2008-09-04 08:16:12 +00:00 |
|
Jason Gerard DeRose
|
c7cd694d4f
|
259: Option.__normalize_scalar() now raises a TypeError if not isinstance(value, basestring); updated corresponding unit tests
|
2008-09-04 07:47:07 +00:00 |
|
Jason Gerard DeRose
|
71d36aa6a0
|
258: Added some experimental features for interactively prompting for values
|
2008-09-04 07:18:26 +00:00 |
|
Jason Gerard DeRose
|
01b73e6910
|
257: Improved help command, now parsing options with optparse
|
2008-09-04 06:33:57 +00:00 |
|
Jason Gerard DeRose
|
b16deabdff
|
256: Fixed cli.help plugin so it looks up commands in CLI instead of API
|
2008-09-04 05:18:14 +00:00 |
|
Jason Gerard DeRose
|
ab81ca56fd
|
255: CLI help, console commands now subclass from public.Application; other tweeking to make CLI utilize Application
|
2008-09-04 04:39:01 +00:00 |
|
Jason Gerard DeRose
|
e1f8619d4a
|
254: Added public.Application base class; added corresponding unit tests
|
2008-09-04 03:34:16 +00:00 |
|
Jason Gerard DeRose
|
a5c6bf179b
|
253: Fixed error in Option.get_default() where Option.convert() was being called on Option.default; updated corresponding unit tests
|
2008-09-04 02:41:31 +00:00 |
|
Jason Gerard DeRose
|
cf7e4c1038
|
252: Added Command.convert() method; added corresponding unit tests
|
2008-09-04 02:30:40 +00:00 |
|
Jason Gerard DeRose
|
5cdb182ae8
|
251: Fixed Command.validate() so it raises RequirementError; updated and re-enabled unit tests for Command.validate()
|
2008-09-04 02:02:06 +00:00 |
|
Jason Gerard DeRose
|
7e3664a964
|
250: Updated Option.validate to utilize the ValidationError.index attribute; updated unit tests for Option.validate to test use of index attribute
|
2008-09-04 01:01:40 +00:00 |
|
Jason Gerard DeRose
|
b53ff67ff1
|
249: Fixed Option.__convert_scalar() to user index=None instead of position=None; updated unit tests for Option.convert() to test the ConversionError.index attribute
|
2008-09-03 23:21:26 +00:00 |
|
Jason Gerard DeRose
|
490eaee8a9
|
248: Removed depreciated SetError and TwiceSetError exceptions
|
2008-09-03 22:41:53 +00:00 |
|
Jason Gerard DeRose
|
296d59d27a
|
247: Added unit tests for errors.RequirementError
|
2008-09-03 22:29:01 +00:00 |
|
Jason Gerard DeRose
|
004e989dc4
|
246: Added unit tests for errors.RuleError
|
2008-09-03 22:14:25 +00:00 |
|
Jason Gerard DeRose
|
62533bfb2b
|
245: Removed depreciated NormalizationError
|
2008-09-03 21:55:44 +00:00 |
|
Jason Gerard DeRose
|
6f739bcf67
|
244: Added unit tests for errors.ConversionError
|
2008-09-03 21:53:15 +00:00 |
|
Jason Gerard DeRose
|
390c1aa4ba
|
243: Added unit tests for errors.ValidationError
|
2008-09-03 20:05:24 +00:00 |
|
Jason Gerard DeRose
|
5e8f945a1e
|
242: Started cleanup of custom exceptions; added unit tests for errors.IPAError
|
2008-09-03 19:38:39 +00:00 |
|
Jason Gerard DeRose
|
9b9615df79
|
241: Added additional index=None kwarg to errors.ValidationError.__init__()
|
2008-09-03 18:48:58 +00:00 |
|
Jason Gerard DeRose
|
9548b4b951
|
240: Small change in tstutil.check_TypeError(), cleaned up use of check_TypeError() in test_Option.test_normalize()
|
2008-09-03 18:41:46 +00:00 |
|
Jason Gerard DeRose
|
085ea3f62f
|
239: Added errors.ConversionError; started big clean up of how ValidationError is raised so it works well with multivalues
|
2008-09-03 18:32:49 +00:00 |
|
Jason Gerard DeRose
|
baef0e6f49
|
238: Some docstring cleanup & fixes in test_public.py
|
2008-09-03 00:15:20 +00:00 |
|
Jason Gerard DeRose
|
f45dcdd0d0
|
237: Ported public.Method to new Option; updated corresponding unit tests
|
2008-09-03 00:01:45 +00:00 |
|
Jason Gerard DeRose
|
5bfbbe3c38
|
236: Ported pubic.Command to new Option; updated corresponding unit tests
|
2008-09-02 23:40:44 +00:00 |
|
Jason Gerard DeRose
|
c9662adcf7
|
235: Added Public.option instance attribute; updated corresponding unit tests; disable some broken unit tests
|
2008-09-02 22:19:39 +00:00 |
|
Jason Gerard DeRose
|
4f4e8e2712
|
234: Renamed Option2 to Option
|
2008-09-02 20:33:08 +00:00 |
|
Jason Gerard DeRose
|
2784847b73
|
233: Removed public.Option class; removed corresponding unit tests
|
2008-09-02 20:16:34 +00:00 |
|
Jason Gerard DeRose
|
adf8b9b2d8
|
232: Added Option2.get_values() method; added corresponding unit tests
|
2008-09-02 19:29:00 +00:00 |
|
Jason Gerard DeRose
|
85f7a08e5d
|
231: Added Option2.get_default() method; added corresponding unit tests
|
2008-09-02 19:05:10 +00:00 |
|
Jason Gerard DeRose
|
bc08225dcd
|
230: Renamed allow_None kwarg to allow_none
|
2008-09-02 17:44:07 +00:00 |
|
Jason Gerard DeRose
|
f2da06c5cf
|
229: Option2.__init__() now uses check_type()
|
2008-09-02 17:41:55 +00:00 |
|
Jason Gerard DeRose
|
8b7fe7139d
|
228: plugable.check_name() now uses errors.check_type()
|
2008-09-02 17:29:01 +00:00 |
|
Jason Gerard DeRose
|
6697b955ee
|
227: check_type() and check_isinstance() now take arguments in (value, type_, name) order so the first two match the built-in isinstance() call signature
|
2008-09-02 16:42:39 +00:00 |
|
Jason Gerard DeRose
|
5af91df9a5
|
226: check_type() and check_isinstance() now return the value; updated corresponding unit tests
|
2008-09-02 15:15:03 +00:00 |
|
Jason Gerard DeRose
|
2fa8d3be74
|
225: Added errors.check_type() and errors.check_isinstance() functions; added corresponding unit tests
|
2008-08-29 23:53:04 +00:00 |
|
Jason Gerard DeRose
|
44ff0b3d23
|
224: Reworked IPATypeError class into raise_TypeError function
|
2008-08-29 07:05:06 +00:00 |
|
Jason Gerard DeRose
|
76b30dff15
|
223: IPATypeError takes as first argument, has attribute
|
2008-08-29 06:04:38 +00:00 |
|