Opened on 09/01/2015 at 11:16:39 AM
Closed on 09/01/2015 at 11:37:14 AM
Last modified on 09/01/2015 at 01:58:03 PM
#2968 closed change (fixed)
Implement multi inheritance for metadata files
Reported by: | sebastian | Assignee: | sebastian |
---|---|---|---|
Priority: | P3 | Milestone: | |
Module: | Automation | Keywords: | |
Cc: | sebastian | Blocked By: | |
Blocking: | Platform: | Unknown / Cross platform | |
Ready: | yes | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description
Background
To avoid duplication in forks of Adblock Plus for multiple platforms we need a way to inherit from multiple metadata files. So a "fork" can derive from from metadata.chrome or metadata.safari as well as from their own metadata mixin for example.
What to change
A metadatra file that uses following option, should inherit all options from both metadata.chrome and metadata.custom, while similar to multi inheritance in Python, options from the former file should override options from the latter in case of a conflict.
[default] inherit = metadata.chrome metadata.custom
Attachments (0)
Change History (3)
Note: See
TracTickets for help on using
tickets.
https://hg.adblockplus.org/buildtools/rev/825954e0ec38