Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#3897 closed enhancement (wontfix)

[PATCH] - Enable use of __shared_dir__ within siteconfig.py

Reported by: ilias@… Owned by: Christopher Lenz
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: setuptools inheritance
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The attached patch introduces the use of the attribute "shared_dir" within siteconfig.py.

This addition does not change the existent behaviour, thus installations do not break.

A user _can_ set this attribute and delete all existent default… attributes (which contain redundant path information).

Existent default… attributes have priority over the shared_dir attribute.

context:

http://dev.lazaridis.com/base/ticket/43

Attachments (2)

SiteconfigSharedDir.diff (1.3 KB ) - added by ilias@… 18 years ago.
SiteconfigParentEnv.diff (1.3 KB ) - added by ilias@… 18 years ago.
new patch with corrected name of option "parent_env"

Download all attachments as: .zip

Change History (8)

by ilias@…, 18 years ago

Attachment: SiteconfigSharedDir.diff added

by ilias@…, 18 years ago

Attachment: SiteconfigParentEnv.diff added

new patch with corrected name of option "parent_env"

comment:2 by ilias@…, 18 years ago

blocks #3905

comment:4 by ilias@…, 18 years ago

Keywords: setuptools inheritance added
Owner: changed from Jonas Borgström to Christopher Lenz

an possible implementation, which would be backwards compatible even if setuptools is introduced would be:

  • apply the patch
  • use the planned setuptools package-data
  • if siteconfig.py is existent, the locations override the package-data

comment:5 by ilias@…, 18 years ago

related: setuptools-merge, see [4819]

comment:6 by ilias@…, 18 years ago

Resolution: wontfix
Status: newclosed

Closing, as wontfix (or cannotfix) in the way suggested.

Reasoning:

The trac-code is read-only-data and must remain free of any configuration data.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.