Opened on 06/22/2015 at 09:50:14 PM
Closed on 07/09/2015 at 07:44:32 AM
#2711 closed change (fixed)
Allow manipulation of list items in derived metadata files
Reported by: | sebastian | Assignee: | sebastian |
---|---|---|---|
Priority: | P3 | Milestone: | |
Module: | Automation | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Platform: | Unknown | |
Ready: | yes | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description
Background
Currently, if you want to add or remove an item to a list from an inherited option in a metadata file, you have to duplicate the whole list. This is becoming problematic for the metadata file for Adblock Browser iOS.
What to change
If metdata.common looks like this:
[section] opt1 = foo bar opt2 = foo bar
And you inherit from this file like that:
[default] inherit = metadata.common [section] opt1 += baz opt2 -= foo
Then section.opt1 should be set to foo bar baz and section.opt2 should be set to bar.
Attachments (0)
Change History (2)
Note: See
TracTickets for help on using
tickets.
https://hg.adblockplus.org/buildtools/rev/41f4621a29dd