Re: [tor-bugs] #26185 [Applications/rbm]: rbm should do deep merge of options hashes

2019-10-05 Thread Tor Bug Tracker & Wiki
#26185: rbm should do deep merge of options hashes
--+---
 Reporter:  boklm |  Owner:  boklm
 Type:  task  | Status:  new
 Priority:  Medium|  Milestone:
Component:  Applications/rbm  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+---

Comment (by boklm):

 `Hash::Merge` and `Hash::Merge::Simple` look like two modules we could use
 for that:
 https://metacpan.org/pod/Hash::Merge
 https://metacpan.org/pod/Hash::Merge::Simple

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #26185 [Applications/rbm]: rbm should do deep merge of options hashes

2018-05-24 Thread Tor Bug Tracker & Wiki
#26185: rbm should do deep merge of options hashes
--+---
 Reporter:  boklm |  Owner:  boklm
 Type:  task  | Status:  new
 Priority:  Medium|  Milestone:
Component:  Applications/rbm  |Version:
 Severity:  Normal|   Keywords:
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:|
--+---
 In templates, when using the `c()` or `pc()` functions, it is possible to
 give as 2nd or 3rd argument an hash table containing variables to be
 overridden. To do that, we merge this hash table into the main options
 hash table. However we only merge one level, which means that if the new
 options hash table contains variables in a second level with something
 like `var => { option_1 => 'value1' }`, then `var` is replaced instead of
 merged, and all `var/*` options other than `option_1` are removed.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs