Edgewall Software
Modify

Ticket #3897 (closed enhancement: wontfix)

Opened 4 years ago

Last modified 3 years ago

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

Reported by: ilias@… Owned by: cmlenz
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: setuptools inheritance
Cc:

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

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

Change History

Changed 4 years ago by ilias@…

Changed 4 years ago by ilias@…

new patch with corrected name of option "parent_env"

comment:2 Changed 4 years ago by ilias@…

blocks #3905

comment:3 Changed 4 years ago by ilias@…

comment:4 Changed 4 years ago by ilias@…

  • Keywords setuptools inheritance added
  • Owner changed from jonas to cmlenz

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 Changed 4 years ago by ilias@…

related: setuptools-merge, see [4819]

comment:6 Changed 3 years ago by ilias@…

  • Status changed from new to closed
  • Resolution set to wontfix

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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.