Christopher Lenz wrote:
...
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.

Along those lines, I think we would need some "trac-admin repository" commands, like:
- repository init repo_type repo_path [repo_name]
- repository resync [repo_name]
- repository rename [repo_name] [new_repo_name]
- repository delete [repo_name]

The [repo_name] optional argument and the third command would be useful
for managing multiple repositories (i.e. #2086).

PS: as for the namespace, I think we can use 'tracext' also for the versioncontrol
plugins, as I don't think there's much risk of confusion:
- 'tracext.hg' will be used by the mercurial plugin
- 'tracext.darcs' could be used by the darcs plugin, etc.

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

Reply via email to