-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Jan 25, 2007, at 1:45 PM, Christopher Lenz wrote: > > Am 21.01.2007 um 01:07 schrieb Noah Kantrowitz: >> On Jan 19, 2007, at 1:05 AM, John Hampton wrote: >>> I'm definitely +1 on the merge too. However, why not add >>> tracext? I >>> like the idea of having third party plugins use a different >>> namespace, >>> even though it's not technically *needed*. Any reason why adding >>> tracenv is a bad idea with the advent of the global plugins folder? >> >> 1. It is an abuse of the namespacing stuff in setuptools. All plugins >> are not part of a single package. > > The idea was to avoid having hundreds of plugins using naming > conventions such as trac_xyz or tracxxx poluting the Python root > package namespace (e.g. imagine pydoc output with many plugins > installed.) The global plugins folder already does this. > > I don't actually care much about this, myself, and would be > absolutely willing to drop it from the proposal. > >> 2. Redundancy is bad. This offers no new functionality really. > > What does that have to do with redundancy? It would be redundant with the global folder as far as limiting namespace pollution. > >> 3. It makes it adds one more step to making a plugin. > > Using the namespace would of course be completely optional. > >> 4. It makes it somewhat harder to interface "normal" code with >> plugins, as the namespacing system in setuptools is rather weird. > > Can you elaborate on this point? What kind of problems have you > encountered with namespace packages? Anyone accidently putting code in the __init__.py in the namespace folder (or anything else at level) may be confused at first if they don't read up on how the namespace system works. Ditto for if the forget to call the declare_namespace() function. For someone not used to working Python, which is the case for many new plugin developers, this all might be a bit much. - --Noah -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFuZBGA9fEp2eRsU8RAkDyAJ9HLJ6q6d6Occ4r1MIx7jHRM++vuQCg6ZJ9 B/lFcaGAnLIuFfXBDYKFMns= =EPuV -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
