Oleg Broytmann wrote:
> On Mon, Oct 02, 2006 at 12:37:23AM +0300, Ilias Lazaridis wrote:
>> would this be much effort to add this?
> 
>    In the beginning it would. The developer's learning curve is steep 'cause
> I am trying not to accept quick'n'direty hacks. You have to learn SQLObject
> test suite.

'chirugical' additions can be quick&dirty, they do not interfere with 
the existent API.

e.g. an additional(!) function "evolveTable", clearly marked as 
"in-development" can be added immediately to a development trunk.

>                             GUIDELINES TO PATCHING
> 
>    The quality of patches is determined by the following conditions:
> 
> -- small, clear, non-invasive patches are the best ones; patches that
>    change public API in an incompatible way cannot be applied to the bugfix
>    branches;
> 
> -- do not break compatibility, remember, SQLObject is still supports Python
>    2.2; SQLObject works with a lot of database backends, with MySQL,
>    PostgreSQL and SQLite being the three major ones; for example, different
>    versions of MySQLdb (mysql-python DB API 2 driver) work differently in
>    relation to unicode, a patch should not make MySQLConnection more
>    unicode-aware because it breaks other connection classes - SQLObject
>    currently works only with non-unicode string queries;

again, a "development" tagged function can be tested and modified more 
and more.

> -- the quality of code; never do "copy/paste programming" - do code reuse
>    as much as possible;

ok

> -- there must be at least a test; the more tests the better;

ok, but tests can be provided from interested parties, too (after 
becoming exited about the provided "development" function addition).

> -- documentation is a big plus.

again, can be provided incrementally

> Oleg.

I think it is important to get new functionality into the actual 
development version. It can be later removed if it cannot be stabelized. 
If yes, the function (here: evolveTable) is moved to "alpha", "beta" and 
the "final" status.

.

-- 
http://lazaridis.com


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to