Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B80C117A3 for ; Fri, 16 May 2014 19:03:46 +0000 (UTC) Received: (qmail 54771 invoked by uid 500); 16 May 2014 19:03:25 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 16600 invoked by uid 500); 16 May 2014 18:38:33 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 34866 invoked by uid 99); 16 May 2014 18:19:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 18:19:43 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FORGED_YAHOO_RCVD,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of david_jencks@yahoo.com designates 98.138.91.108 as permitted sender) Received: from [98.138.91.108] (HELO nm15-vm6.bullet.mail.ne1.yahoo.com) (98.138.91.108) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 18:00:05 +0000 Received: from [98.138.100.103] by nm15.bullet.mail.ne1.yahoo.com with NNFMP; 16 May 2014 17:59:44 -0000 Received: from [98.138.226.129] by tm102.bullet.mail.ne1.yahoo.com with NNFMP; 16 May 2014 17:59:44 -0000 Received: from [127.0.0.1] by smtp216.mail.ne1.yahoo.com with NNFMP; 16 May 2014 17:59:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1400263184; bh=GkUMDVnulWjNFiY9gV9AJIoWF+yrVwrgUg8fijTM+es=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=N7Fii9zy4HFfuEXYJbGyM6oOagwVwerscCfJD7Vin0OKwLeJfL0K3q3wm88UpoRXAI6GxlAsqHvllIZoLiZbzoaOikbswMrsUrZFj2TYr6VOOr5kYTDCdXGfFiDMZskgbiVk76GAWH5sRGIa6LwrOX6N245J1cYF6CeA4FoLHxY= X-Yahoo-Newman-Id: 271636.82113.bm@smtp216.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: gN57FdsVM1nWsxihXedITcoWwnBVXLmrIxcsJ9Z4vo3_CZ4 Q3ogrwlW4Lpm2xdiKhcbHohz3Lta6z3YdOU8ymFcB8uvNNXYByBxrUIz7yOO b4IV05PqBtiPSngIKwWCAwTwONBYAVGYhEd8H7OiCLjBiHoP7SZI0AwXf2F_ pWIFm5csCQRJPGvNOjwYtruQWKJWexBH5b.nOiFD39tex6rQYhUqWiC_bQ88 Hb06_81Xb_6pCrlz5Y5wJEENvhoCgzGjuLTb.FH6ds2X40bpnSGBdELuhdwx 8r9C.67Bo.P4XtRe_CkzHgN7VsbxRYDoY3kjYLIa_cCx9qzkvTtt7.RulmMo 4DUqt8aPOno_ixhDjGnSOJK0tiIUBNXCJrpA4pKrwtjWnxdiwKNHj2mqzP.c OZ1qtvj6srbbP2IzH0r0KWD8bWvuo_r3Qq5vMS7_BmHExs9pmhyKWXB7e.em LO9EnN3w9zunHiiuSYp4r5NNDfc.fa8vbT1azNsdU8rQzmE3jswjV_9j_rxX xR_OjjvF9kgxbYkpz52HAk01NX2nR9hRe X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- X-Rocket-Received: from [10.0.1.2] (david_jencks@98.246.196.64 with plain [98.138.105.21]) by smtp216.mail.ne1.yahoo.com with SMTP; 16 May 2014 10:59:44 -0700 PDT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Handling of provisional OSGi API? From: David Jencks In-Reply-To: Date: Fri, 16 May 2014 10:59:42 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <21176F9C-9657-4B1C-B17D-997A951E59FE@yahoo.com> References: To: dev@felix.apache.org X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org Well, I pretty much disagree with the existing policy being good or = nice, but I think I agree with your proposal. I think that there should be very different policy for the svn tree and = for releases. I don't think it's a very good idea to have a release = with a provisional osgi api, whether or not it's had its packages = shaded. However if we decide we need to do this I think _either_ = renaming the packages _or_ marking the packages provisional should be = sufficient, not both. For the svn tree, I think it's fine to just copy the osgi draft source = into some appropriate location and build it as part of the project. The = svn tree is not for general consumption, if you use it you are supposed = to know what you are doing and you certainly aren't supposed to rely on = it for production without doing your own deternimation that it is = entirely suitable, since it comes with no assurances of anything from = apache. We just shouldn't release anything in this state: either the = spec gets released first, or we mark the spec packages provisional or = rename them. I have the same problem with the felix ds/rfc 190 work, with the new = runtime and dto packages, and realistically for me the options are = either changing the policy, or keeping my work visible on github until = the spec is released. I don't have time or interest to investigate, but it might be possible = to use the maven shade plugin to rename the packages in byte code. I = imagine we'd have to run bnd after this step. I don't know if the = shading can be done to integration tests as well so the instructions to = bnd don't have to be duplicated with and without the mangled package = names so we can create an unshaded bundle for unshaded integration = tests. thanks for reminding me to think about this before I committed :-) david jencks On May 15, 2014, at 11:14 PM, Carsten Ziegeler = wrote: > Hi, >=20 > right now we have a policy for handling provisional OSGi API (API that = is > currently drafted in the OSGi expert groups but not final or = officially > released yet): > = http://felix.apache.org/documentation/development/provisional-osgi-api-pol= icy.html >=20 > While the policy is good and nice, it requires to rename the packages = from > an OSGi namespace to an Apache one for the reasons stated in the = policy. > However, this creates a burden for people using this stuff, e.g. when > writing tests as these need to be refactored later on anyway. >=20 > The reference implementation of the new Http Service (RFC 189) will be = done > as part of Apache Felix and we would like to start working on this in = the > open. Therefore we need to commit the current version of the API draft > somewhere. I think if we do this in the whiteboard section, it should = be > clear enough that the API is provisional and we don't need to rename = the > packages. We can also add all kinds of disclaimers/readmes etc. > But before doing so, I would like to get the general feeling about = this. >=20 > So, wdyt? >=20 > Thanks > Carsten > --=20 > Carsten Ziegeler > cziegeler@apache.org