Opened 3 weeks ago

Closed 3 weeks ago

#10 closed defect (fixed)

Install component dependency plugin

Reported by: Fred Leeflang Owned by: Fred Leeflang
Priority: major Milestone:
Component: System Administration Version:
Keywords: Cc:
Blocked By: Blocking:
Estimated Hours: 0 Parent Tickets:
Total Hours: 0

Description

This is required for the Trac Hours Plugin

Subtickets

Change History (9)

comment:1 Changed 3 weeks ago by Fred Leeflang

Status: assignedaccepted

Automatically accepting in order to start work.

comment:2 Changed 3 weeks ago by Fred Leeflang

The Trac Hours plugin is documented here: https://trac-hacks.org/wiki/TracHoursPlugin

The Trac component dependency plugin is documented here: https://trac-hacks.org/wiki/ComponentDependencyPlugin

comment:3 Changed 3 weeks ago by Fred Leeflang

Cannot use wget on plugins it seems, so first download from browser, then

scp Downloads/componentdependencyplugin-17165.zip apache:/var/www/prd/trac.3dn.nl/plugins

comment:4 Changed 3 weeks ago by Fred Leeflang

Unzip zipfile in plugins folder, then:

root@apache:/var/www/prd/trac.3dn.nl/plugins/componentdependencyplugin# python setup.py bdist_egg

comment:5 Changed 3 weeks ago by Fred Leeflang

That unzip / python creates a file dist/ComponentDependencyPlugin-0.1-py2.7.egg, this needs to be placed in /var/www/prd/trac.3dn.nl/plugins, everything else can then be removed again I think

comment:6 Changed 3 weeks ago by Fred Leeflang

Then edit /var/www/prd/trac.3dn.nl/conf/trac.ini and add line:

componentdependencies.componentdependency.componentdependencyplugin = enabled

Reloading Trac admin plugins page should then display it as active.

comment:7 Changed 3 weeks ago by Fred Leeflang

fredl worked on this ticket for 11 minutes between 04/30/18 11:51:16 and 04/30/18 12:02:00.

Done, documented plugin setup.

The plugin states:

'This plugin allows a Trac ​component to state a dependency on another Component, via the IRequireComponents interface from componentdependencies.interface'

I have no good way just yet to test this, so we'll see when we go on to the next plugin first.

comment:8 Changed 3 weeks ago by Fred Leeflang

Component: 3DN Wordpress SiteSystem Administration

comment:9 Changed 3 weeks ago by Fred Leeflang

Estimated Hours: 0
Resolution: fixed
Status: acceptedclosed

I'm gonna go 'resolve as fixed' this ticket now to see if time gets logged in the new Trac Hours plugin

Note: See TracTickets for help on using tickets.