From dev-return-104185-archive-asf-public=cust-asf.ponee.io@sling.apache.org Mon Mar 2 10:12:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2A20518062C for ; Mon, 2 Mar 2020 11:12:02 +0100 (CET) Received: (qmail 36305 invoked by uid 500); 2 Mar 2020 10:12:01 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 36282 invoked by uid 99); 2 Mar 2020 10:12:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2020 10:12:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D6E1FE00B7 for ; Mon, 2 Mar 2020 10:12:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 54ABD780383 for ; Mon, 2 Mar 2020 10:12:00 +0000 (UTC) Date: Mon, 2 Mar 2020 10:12:00 +0000 (UTC) From: "A. J. David Bosschaert (Jira)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SLING-9136) Check if a feature model exports overlapping packages with an API Region MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SLING-9136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] A. J. David Bosschaert updated SLING-9136: ------------------------------------------ Component/s: Feature Model Analyser > Check if a feature model exports overlapping packages with an API Region > ------------------------------------------------------------------------ > > Key: SLING-9136 > URL: https://issues.apache.org/jira/browse/SLING-9136 > Project: Sling > Issue Type: New Feature > Components: Feature Model, Feature Model Analyser > Reporter: A. J. David Bosschaert > Assignee: A. J. David Bosschaert > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > If a feature model that doesn't opt-in to the api-regions exports packages that overlap with packages exported from the api regions, this can have problematic results. > We need an analyzer that can report on this. The analyser should generally be used on aggregate feature models. It can identify in those aggregates: > * The exported packages from various API Regions > * Bundles that originate from feature models that don't participate in the api-regions and obtain the exported packages from those bundles. > Then it will produce an error if there is any package in the intersection of the exported package lists. > We need to add additional configuration that lists packages > * to be ignored completely > * to produce a warning instead of an error if it appears in the intersection -- This message was sent by Atlassian Jira (v8.3.4#803005)