From 3be5a9143987a4a20eea53ebef16458fbf7858dd Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 23 Oct 2008 21:10:19 -0600 Subject: Added a TODO file --- TODO | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 TODO (limited to 'TODO') diff --git a/TODO b/TODO new file mode 100644 index 00000000..e954e81f --- /dev/null +++ b/TODO @@ -0,0 +1,21 @@ +Prompt for password using getpass. + +Add API.finalize_env() method so environment initallization is standardized. +This method should detect whether running in-tree or not and intelligently +construct the paths. + +import all Types, Param, DefaultFrom, and import base classes into +ipalib.__init__ and add an __all__ list so plugins can safely +from ipalib import * + +Setup logging + +Add in-tree default config files for distinct cli, server, and webui contexts + +Remove Env.get() have Env return None if no value exists (Env.get() allows +a bad pattern of default values being detemined by the consumer and possibly +different default values being used for the same key). + +Package for rpm (.spec file) + +Package for apt (debian/ dir) -- cgit From 37e759432e4acbb03c84a2ae31c6213bcc60d461 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 27 Oct 2008 12:23:17 -0400 Subject: Add migration to TODO --- TODO | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index e954e81f..cd64e29b 100644 --- a/TODO +++ b/TODO @@ -19,3 +19,7 @@ different default values being used for the same key). Package for rpm (.spec file) Package for apt (debian/ dir) + +Migration + - Add the IPAService objectclass to existing principals + - Move existng host/ principals from cn=services to cn=computers? -- cgit From e37760a27358021962a6e6a8a7fbdc5195ce5bbe Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 29 Oct 2008 20:20:43 -0600 Subject: Followig Rob's good form, cleanup my mess in TODO --- TODO | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index cd64e29b..1c6d7281 100644 --- a/TODO +++ b/TODO @@ -1,24 +1,17 @@ -Prompt for password using getpass. - -Add API.finalize_env() method so environment initallization is standardized. -This method should detect whether running in-tree or not and intelligently -construct the paths. - -import all Types, Param, DefaultFrom, and import base classes into -ipalib.__init__ and add an __all__ list so plugins can safely -from ipalib import * - -Setup logging - -Add in-tree default config files for distinct cli, server, and webui contexts - -Remove Env.get() have Env return None if no value exists (Env.get() allows -a bad pattern of default values being detemined by the consumer and possibly -different default values being used for the same key). - -Package for rpm (.spec file) - -Package for apt (debian/ dir) +CLI + - Prompt for password using getpass + - Passed the param dict to output_for_cli() + - Implement a TextUI class and also pass it to output_for_cli() + +Improve ease of plugin writting + - make "from ipalib import *" import everything a plugin writter will need + - Finish ipa_types, add Str and Float Types + +Packaging + - Use setuptools instead of plain distutils + - Make setup.py generate dev-docs and run unit tests + - Package for rpm (.spec file) + - Package for apt (debian/ dir) Migration - Add the IPAService objectclass to existing principals -- cgit From 5a2b0cd6b8151a18fa5fd0e4f7eacf9e2c9dde8f Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Tue, 25 Nov 2008 18:21:29 -0700 Subject: Added notes in TODO on planned API changes --- TODO | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 1c6d7281..3a58d719 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,21 @@ +API chages before January 2009 simi-freeze: + + * Merge Param and Type together so that rather than taking the type as a + kwarg, you simply use the Type. For example, instead of: + >>> Param('number', type=Int()) + You would do this: + >>> Int('number') + The types will correspond to Python 3.0 text/binary disambiguaiton, so we + will have Bytes, Str, Int, Float, and Bool. + + * Rename crud Method base classes to standard CRUDS name: Add=>Create, + Get=>Retrieve, Mod=>Update, Del=>Delete, Find=>Search. + + * Add a Command.backend convenience attribute that checks if the class + uses_backend attribute is sets the Command.backend attribute like this: + self.backend = self.Backend[self.uses_backend] + + CLI - Prompt for password using getpass - Passed the param dict to output_for_cli() -- cgit From 9862cc404bcfe494d57310fe2efb027ad4e4cb4f Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 8 Dec 2008 13:11:28 -0700 Subject: Added more of my notes to TODO --- TODO | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 3a58d719..4a51676b 100644 --- a/TODO +++ b/TODO @@ -15,6 +15,14 @@ API chages before January 2009 simi-freeze: uses_backend attribute is sets the Command.backend attribute like this: self.backend = self.Backend[self.uses_backend] + * Finish methods on Plugin base class for calling external commands via + subprocess. + + * Probably renamed ipa_server package to ipaserver. + + * Add special logging methods to Plugin baseclass for authorization events + (escalation, de-escalation, and denial). + CLI - Prompt for password using getpass -- cgit From a3ab787d23331cf4d060d8463ca66ff602f3629b Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 10 Dec 2008 09:55:00 -0700 Subject: Added not about gettext in TODO --- TODO | 1 + 1 file changed, 1 insertion(+) (limited to 'TODO') diff --git a/TODO b/TODO index 4a51676b..62e2a63d 100644 --- a/TODO +++ b/TODO @@ -23,6 +23,7 @@ API chages before January 2009 simi-freeze: * Add special logging methods to Plugin baseclass for authorization events (escalation, de-escalation, and denial). + * Implement gettext service. CLI - Prompt for password using getpass -- cgit From 5c47b56d14d56b825cbfe6a06e056bb98fbb2378 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 11 Dec 2008 18:07:54 -0700 Subject: Finished kwarg validation and extension mechanism in parameter.Param --- TODO | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 62e2a63d..23c46244 100644 --- a/TODO +++ b/TODO @@ -25,6 +25,8 @@ API chages before January 2009 simi-freeze: * Implement gettext service. + * Add ability to register pre-op, post-op plugins per command. + CLI - Prompt for password using getpass - Passed the param dict to output_for_cli() -- cgit From e1aa5539fce070ef0b382074ebb7d1519bc6bf3f Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 17 Dec 2008 17:08:09 -0700 Subject: Added some notes in TODO about requirements for Andrew's post-process stuff needed for CA plugin --- TODO | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 23c46244..e6abd677 100644 --- a/TODO +++ b/TODO @@ -27,6 +27,14 @@ API chages before January 2009 simi-freeze: * Add ability to register pre-op, post-op plugins per command. + * Add ability to have certain args/options only active on either client-side + or server-side, and also the same for things like default_from callbacks. + + * Add ability to have a post-processing step that only gets called + client-side. It should have a signature like output_for_cli() minus the + textui argument. Need to decide whether we allow this method to modify + the return value. + CLI - Prompt for password using getpass - Passed the param dict to output_for_cli() -- cgit From e5dabc852bfdf7a4be47e4cfb300c6a2ea53a3f9 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 17 Dec 2008 17:33:29 -0700 Subject: A few more notes in TODO, including about making Enum's self-documenting --- TODO | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index e6abd677..6af88f7d 100644 --- a/TODO +++ b/TODO @@ -35,10 +35,16 @@ API chages before January 2009 simi-freeze: textui argument. Need to decide whether we allow this method to modify the return value. -CLI - - Prompt for password using getpass - - Passed the param dict to output_for_cli() - - Implement a TextUI class and also pass it to output_for_cli() + * Make Plugin base class parse class docstring into overview and + full-description strings (similar to Bazaar). + + +Command Line interface: + + * Finish textui plugin + + * Make possible Enum values self-documenting + Improve ease of plugin writting - make "from ipalib import *" import everything a plugin writter will need -- cgit From b71d1e6b6f7d2ab31f26c21e4246056a808766c0 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Sun, 21 Dec 2008 15:11:08 -0700 Subject: Added some more notes in TODO --- TODO | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 6af88f7d..a4b25fd8 100644 --- a/TODO +++ b/TODO @@ -38,6 +38,16 @@ API chages before January 2009 simi-freeze: * Make Plugin base class parse class docstring into overview and full-description strings (similar to Bazaar). + * Removed depreciated code in config.py. + + * Remove __getattr__() from Env (and probably elsewhere) as in Python 2.4 and + 2.5 hasattr() will catch KeyboardInterrupt and SystemExit exceptions (BTW, + this has been fixed in Python 2.6). + + * Remove support for dynamic environment values from Env... Jason feels this + the Env class should be simple and static. Other mechanisms should be used + for retrieving per-request dynamic environment variables. + Command Line interface: -- cgit From ec14fbfbc5f822490ed5266f1b0a8eb110a13a98 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 14 Jan 2009 21:55:04 -0700 Subject: Updated host plugins module to where it can at least be imported --- TODO | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index a4b25fd8..64a9f097 100644 --- a/TODO +++ b/TODO @@ -49,6 +49,12 @@ API chages before January 2009 simi-freeze: for retrieving per-request dynamic environment variables. +CRUD base classes: + + * The Retrieve method should add in the common Flag('all') option for + retrieving all attributes. + + Command Line interface: * Finish textui plugin -- cgit From 64c072b7b3deb1800c242b365e277591f056093d Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 14 Jan 2009 22:10:09 -0700 Subject: Updated hostgroup plugins module to where it can at least be imported --- TODO | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 64a9f097..2e3dcde4 100644 --- a/TODO +++ b/TODO @@ -54,6 +54,19 @@ CRUD base classes: * The Retrieve method should add in the common Flag('all') option for retrieving all attributes. + * We probably need some LDAP centric crud method base classes, like + LDAPCreate, etc. Or other options it to have an LDAPObject base class and + have the crud Method plugins rely more on their corresponding Object plugin. + + +Existing plugins: + + * Many existing plugins that are doing crud-type operations aren't using the + Object + Method way of defining their parameters, and are therefore defining + the exact same parameter several times in a module. This should be fixed + one way or another... if there are deficiencies in the crud base classes, + they need to be improved. + Command Line interface: @@ -61,6 +74,10 @@ Command Line interface: * Make possible Enum values self-documenting + * All "comma-separated list of..." parameters should really be changed to + multivalue and have a flag that tells the CLI whether a multivalue should + be parsed as comma-separated. + Improve ease of plugin writting - make "from ipalib import *" import everything a plugin writter will need -- cgit From fdda31c50bcf79ef4e4017dc8075d55b3e5df466 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 14 Jan 2009 22:59:44 -0700 Subject: Fixed a problem in the host plugin module; added not in TODO about using Param.query --- TODO | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 2e3dcde4..56c8c00a 100644 --- a/TODO +++ b/TODO @@ -58,6 +58,9 @@ CRUD base classes: LDAPCreate, etc. Or other options it to have an LDAPObject base class and have the crud Method plugins rely more on their corresponding Object plugin. + * Update the Retrieve, Update, Delete, and Search classes so that the utilize + the new Param.query kwarg (to turn off validation) when cloning params. + Existing plugins: -- cgit