Commit Graph

39 Commits

Author SHA1 Message Date
Jason Gerard DeRose
36737c2d91 Added frontend.LocalOrRemote command base class for commands like env 2008-11-14 21:29:46 -07:00
Jason Gerard DeRose
3433840692 Fixed doctest in tutorial 2008-11-14 19:48:01 -07:00
Jason Gerard DeRose
f8f4058014 Tutorial: fixed typo in 'How your command should print to stdout' section 2008-11-14 14:53:55 -07:00
Jason Gerard DeRose
caa98476f0 Tutorial: fixed typo in 'First steps: A simple command plugin' section 2008-11-14 14:49:48 -07:00
Jason Gerard DeRose
1abe3abb87 Tutorial: another small change to section on using output_for_cli() 2008-11-14 14:35:52 -07:00
Jason Gerard DeRose
0f1ed3e904 Tutorial: command in output_for_cli() example now also takes an argument 2008-11-14 14:27:09 -07:00
Jason Gerard DeRose
6d1ec6360c Tutorial: small improvements to section on using output_for_cli() 2008-11-14 12:43:10 -07:00
Jason Gerard DeRose
0313bb7ec0 Tutorial: added section on implementing an output_for_cli() method 2008-11-14 12:19:18 -07:00
Jason Gerard DeRose
44171a0bad Tutorial: added section on allowed return values from a command's execute() method 2008-11-14 01:25:05 -07:00
Jason Gerard DeRose
860d391f3e Change Param.__repr__() so it returns the exact expression that could create it; added unit test for Param.__repre__() 2008-11-13 22:16:04 -07:00
Jason Gerard DeRose
f3869d7b24 Renamed ipalib.get_standard_api() to create_api() 2008-11-11 15:24:18 -07:00
Jason Gerard DeRose
1894513574 Tutorial: improved clarity of 'How this tutorial is written' section 2008-11-11 10:24:30 -07:00
Jason Gerard DeRose
786c965c12 Tutorial: fixed typo 2008-11-10 21:36:56 -07:00
Jason Gerard DeRose
16b86d559a Tutorial: added intro section about Python interactive intepreter 2008-11-10 21:33:15 -07:00
Jason Gerard DeRose
2be9f2bba8 More tutorial work: made introduction more concise; moved note on markup to end; added note about Bazaar 2008-11-10 20:08:22 -07:00
Jason Gerard DeRose
9aa14333a4 Added 'conf_dir' env variable, which is directory containing config files 2008-11-10 15:53:10 -07:00
Jason Gerard DeRose
174af50f6d Fixed typo and made sentance clearer in tutorial 2008-11-07 02:30:19 -07:00
Jason Gerard DeRose
c26a3c8542 Finished fist draft of plugin tutorial in ipalib/__init__.py docstring 2008-11-07 02:26:38 -07:00
Jason Gerard DeRose
2fee6a3e20 Added tests.util.get_api() function to create a standard (api, home) tuple for unit testing 2008-10-30 01:34:46 -06:00
Jason Gerard DeRose
ddb5449c7f Did some initial work for Context plugins 2008-10-30 01:11:33 -06:00
Jason Gerard DeRose
f1eb74e22c make-test now runs doctests also; fixed several broken doctests 2008-10-17 20:50:34 -06:00
Jason Gerard DeRose
f7b7fa5553 Cleaned up ipalib package-level docstring, removed broken cross-referce to 2008-10-17 19:11:26 -06:00
Jason Gerard DeRose
b2b5b904bc Made package-level docstrings more consistent so they read better in generated documentation 2008-10-07 20:07:16 -06:00
Martin Nagy
149429f305 Environment is now subclassed from object, rather then dict. Added tests for Environment and config.py 2008-10-02 17:22:41 -06:00
Martin Nagy
afdc721038 Add support for environment variables, change tests accordingly 2008-09-29 17:45:14 -06:00
Jason Gerard DeRose
4dbbf5656d 322: Updated ipalib package docstring, replacing cross reference to 'public' with 'frontend' 2008-09-24 01:43:51 +00:00
Jason Gerard DeRose
c38b90d5d4 321: Standard ipalib.api attribute now accepts plugins from the Backend base class 2008-09-24 01:36:54 +00:00
Jason Gerard DeRose
4e8ff5c656 318: Renamed all references to 'public' module to 'frontend' 2008-09-24 00:01:29 +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
5157d8fc50 194: Removed like to Bazaar Plugin doc as it's not very relevant 2008-08-26 00:28:43 +00:00
Jason Gerard DeRose
0d35c96f1a 192: Added a quick console example to docstring in ipalib/__init__.py 2008-08-26 00:04:15 +00:00
Jason Gerard DeRose
2fc3819bec 191: Removed ipalib/api.py module; standard plugable.API instance is now in ipalib.__init__.py 2008-08-25 23:35:29 +00:00
Jason Gerard DeRose
ec0596b429 174: Fleshed out docstrings for SetProxy, DictProxy, and MagicDict 2008-08-15 03:24:37 +00:00
Jason Gerard DeRose
43c04f1cd3 163: Docstring improvement for ipalib/__init__.py and plugable.py 2008-08-14 19:36:54 +00:00
Jason Gerard DeRose
a3dc04ade4 157: More docstring cleanup; fixed remaining epydoc warnings 2008-08-14 09:01:02 +00:00
Jason Gerard DeRose
7acf12e988 10: Updated base.API to reflect the fact that base.Object is now the new unit of plugin functionality; updated corresponding unit tests 2008-07-20 01:29:59 +00:00
Jason Gerard DeRose
ef7594ffe1 4: Got basics of API.register_command() working; added corresponding unit tests 2008-07-19 04:28:03 +00:00
Jason Gerard DeRose
00f4da79a9 2: Got basics of NameSpace working, added corresponding unit tests 2008-07-18 20:31:12 +00:00
Jason Gerard DeRose
556abfaf0b 1: Started roughing out ipalib package 2008-07-18 17:51:34 +00:00