Opened 16 years ago
Closed 10 years ago
#3725 closed enhancement (fixed)
NewHack should include stub in the wiki page detailing plugin enablement
Reported by: | Jeff Hammel | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | low | Component: | TracHacksPlugin |
Severity: | normal | Keywords: | |
Cc: | Jun Omae | Trac Release: | 0.11 |
Description
all plugins are enabled in much the same way; the wiki page generated by going through the new-hack process should include a stub for how to enable the plugin, including relevant links to wiki pages on http://trac.edgewall.org
Attachments (0)
Change History (15)
comment:1 Changed 16 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 16 years ago by
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:3 Changed 16 years ago by
Owner: | changed from Noah Kantrowitz to Jeff Hammel |
---|---|
Status: | reopened → new |
reassigning this to myself for study
comment:4 Changed 16 years ago by
Priority: | normal → high |
---|
comment:5 Changed 16 years ago by
Priority: | high → low |
---|
de-prioritizing; have other tickets to look at right now
comment:6 Changed 15 years ago by
Summary: | new-hack should include stub in the wiki page detailing plugin enablement → NewHack should include stub in the wiki page detailing plugin enablement |
---|
See also #3116.
comment:7 Changed 15 years ago by
I'm in favor of this. Plugins are installed the same way, and a lot of pages have poorly written installation information. It would be better to point to a single page with plugin installation information, and have the author add their specific trac.ini options and installation of dependencies on their plugin's wiki page.
comment:8 Changed 15 years ago by
Some brainstorm ideas for NewHackTemplate "Install and Configure" section at NewHackTemplate/InstallAndConfigureProposal?.
comment:9 Changed 15 years ago by
I have a couple of comments/changes/suggestions:
- Rather than using a fake plugin/macro name, generate the steps for a real plugin/macro and use one that is simple to install, very mature, and generally useful to most people. That way, someone can run through the whole set of steps for a real plugin and rule out simple permission and environment configuration issues. If that is successful, it should be straightforward for someone to extrapolate the steps to another plugin. Perhaps the FootNoteMacro would be a good one to use for the example.
- My understanding is that there are really 3 ways to install: using easy_install, manual global installation, manual installation for a single Trac environment.
- I think that each option should be clearly outlined with a full set of steps for each, as opposed to having a single set of steps with switches depending on the mode of installation (i.e. if installing this way, do this, otherwise do this). For example:
- Manual installation - Global
- Manual installation - Single Trac Environment
- Automatic installation using easy_install
- It would be nice to provide general guidance as to which is best to use in certain situations, particularly for someone new who doesn't understand the trade-offs.
- I think that each option should be clearly outlined with a full set of steps for each, as opposed to having a single set of steps with switches depending on the mode of installation (i.e. if installing this way, do this, otherwise do this). For example:
- Recommend that plugin authors/maintainers add a section, where appropriate, for an end user to test the plugin functionality. I have tried to do this with the FootNoteMacro, for instance: FootNoteMacro#Example.
- Should there be separate instructions for Windows vs Linux? I have never worked with Trac on Windows.
comment:10 Changed 14 years ago by
I see that some work has been done here: Install. I'd be in favor of updating TracPlugins, renaming it to InstallingTracPlugins and then adding a stub to the NewHack template, such as:
== Installation == {{{ #!comment Plugin authors should add plugin-specific installation information below, including the module name for enabling the plugin by editing trac.ini. }}} For generic installation information, see InstallingTracPlugin.
This section could be placed between the Source and Example sections.
comment:12 Changed 12 years ago by
Adrian: You may be interested in SiteUpgradeProposal, and feel free to add your suggestions to the Wish list.
comment:13 Changed 12 years ago by
Owner: | changed from Jeff Hammel to Michael Renzmann |
---|
comment:14 Changed 10 years ago by
Cc: | Jun Omae added; anonymous removed |
---|---|
Component: | TracHacks → TracHacksPlugin |
Owner: | changed from Michael Renzmann to Ryan J Ollos |
Status: | new → accepted |
The NewHackTemplate@29 has an Installation section. The following could be the default string for the form:
Generic instructions for installing Trac plugins can be found on the TracPlugins page.
Generic instructions for installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
The module name isn't known directly, so this really wouldn't work well.