View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003519 | unreal | ircd | public | 2007-08-20 05:05 | 2007-08-27 12:16 |
Reporter | Assigned To | Dan | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | open | ||
Platform | All | OS | All | OS Version | All |
Product Version | 4.0-devel | ||||
Summary | 0003519: Implement @merge config directive | ||||
Description | When the config transformations meet a @merge config directive on form: @merge block-name; it will merge all blocks with this block-name into one. for instance: features/default.conf: @merge set; set { // some defaults; }; unrealircd.conf: include "features/default.conf"; set { // override some of the defaults }; to the IRCd the set {} block will look as if it is one tag. Conflict resolution in the case of two matching key's (key "value"; ) in block, is the the latest setting is the one that wins. | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
child of | 0003417 | closed | TODO list for Unreal4.0 |
|
I'm not sure how useful this feature would be. There's already default values defined in ServerConfig::Read (configreader.cpp, line 629) which are overridden in blocks actually defined in the config file. The way I see it, the defaults.conf purpose is to let the user define values which differ from the hard-coded default values. But if they want to do that, wouldn't they just add it into unrealircd.conf? |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-08-20 05:05 |
|
New Issue | |
2007-08-20 05:05 |
|
QA | => Not touched yet by developer |
2007-08-20 05:05 |
|
U4: Need for upstream patch | => No need for upstream InspIRCd patch |
2007-08-20 05:05 |
|
U4: Upstream notification of bug | => Not decided |
2007-08-20 05:05 |
|
U4: Contributor working on this | => None |
2007-08-20 05:09 |
|
Status | new => confirmed |
2007-08-20 05:10 |
|
Relationship added | child of 0003417 |
2007-08-21 03:07 | Dan | Note Added: 0014732 | |
2007-08-27 12:02 | Dan | Status | confirmed => assigned |
2007-08-27 12:02 | Dan | Assigned To | => Dan |
2007-08-27 12:16 | Dan | QA | Not touched yet by developer => Fixed by developer, needs QA testing |
2007-08-27 12:16 | Dan | Status | assigned => resolved |