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

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.

Attachments (0)

Change History (2)

comment:1 Changed on 06/22/2015 at 09:52:58 PM by sebastian

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

comment:2 Changed on 07/09/2015 at 07:44:32 AM by sebastian

  • Resolution set to fixed
  • Status changed from reviewing to closed
  • Tester set to Unknown

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from sebastian.
 
Note: See TracTickets for help on using tickets.