Opened 4 years ago

Closed 4 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):

https://codereview.adblockplus.org/29319007

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.

Change History (2)

comment:1 Changed 4 years ago by sebastian

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

comment:2 Changed 4 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.