Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8309 closed enhancement (fixed)

Make [inherit] plugins_dir and templates_dir support relative paths

Reported by: osimons Owned by: osimons
Priority: normal Milestone: 0.11.5
Component: general Version: 0.11-stable
Severity: normal Keywords: config
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Currently only absolute paths are supported for these two settings. Simple fixes needed for the two places we read those config settings.

I'll prepare a patch.

Attachments (0)

Change History (3)

comment:1 by osimons, 15 years ago

Status: newassigned

Actually, only one was incorrect (shared plugins dir):

  • trac/env.py

    a b  
    197197        self._href = self._abs_href = None
    198198
    199199        from trac.loader import load_components
    200         plugins_dir = self.config.get('inherit', 'plugins_dir')
     200        plugins_dir = self.shared_plugins_dir
    201201        load_components(self, plugins_dir and (plugins_dir,))
    202202
    203203        if create:

comment:2 by Christian Boos, 15 years ago

Looks good to me.

comment:3 by osimons, 15 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [8214] (0.11) and [8220] (0.12).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from osimons to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.