Opened 5 years ago

Closed 5 years ago

#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):



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:

opt1 = foo bar
opt2 = foo bar

And you inherit from this file like that:

inherit = metadata.common

opt1 += baz
opt2 -= foo

Then section.opt1 should be set to foo bar baz and section.opt2 should be set to bar.

Change History (2)

comment:1 Changed 5 years ago by sebastian

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed 5 years ago by sebastian

  • Resolution set to fixed
  • Status changed from reviewing to closed
  • Tester set to Unknown
Note: See TracTickets for help on using tickets.