Edgewall Software

Ticket #3897 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 2 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 Download (1.3 KB) - added by ilias@… 3 years ago.
SiteconfigParentEnv.diff Download (1.3 KB) - added by ilias@… 3 years ago.
new patch with corrected name of option "parent_env"

Change History

Changed 3 years ago by ilias@…

Changed 3 years ago by ilias@…

new patch with corrected name of option "parent_env"

Changed 3 years ago by ilias@…

Changed 3 years ago by ilias@…

blocks #3905

Changed 2 years ago by ilias@…

Changed 2 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

Changed 2 years ago by ilias@…

related: setuptools-merge, see [4819]

Changed 2 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.

Add/Change #3897 ([PATCH] - Enable use of __shared_dir__ within siteconfig.py)

Author


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


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cmlenz. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.