Am 04.08.2006 um 20:26 schrieb Matthew Good:
On Fri, 2006-08-04 at 20:24 +0530, K.S.Sreeram wrote:
I've got a new version of the trac-darcs plugin. Its a major rehaul of
the code, and fixes various rename/move bugs. It currently uses a
separate set of db tables to store repo history. It also uses Alberto
Bertogli's ann2ascii to fetch a particular snapshot of a file.

Very cool.

However, I wonder if the patches to the Trac source are necessary. IIUC
the plan is to have a "namespace package" called "tracvc" that version
control plugins will install under and they will be automatically
enabled.  I'm not sure what the status is in the trunk for this, so
maybe the patches will be necessary until some further refactoring of
the version control layer is done.

Cboos, can you comment on that?

I don't like the idea of providing some magic namespace where plugins are automatically enabled (outside of the main "trac." namespace, of course).

The setuptools sandbox branch provides a "tracext" namespace package, but that's only to avoid plugins polluting the main Python package namespace (as is happening right now, unfortunately). Plugins in that package are *not* automatically enabled.

For versioncontrol plugins, I think the need to auto-enable will go away as soon as we simplify "trac-admin initenv", so that it no longer requires any mandatory arguments. Configuring the repository with the corresponding VC plugin would then be done after an environment has been initialized, from within WebAdmin or directly in trac.ini.

Cheers,
Chris
--
Christopher Lenz
  cmlenz at gmx.de
  http://www.cmlenz.net/

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to