Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A698FF370 for ; Wed, 10 Apr 2013 14:46:47 +0000 (UTC) Received: (qmail 97289 invoked by uid 500); 10 Apr 2013 14:46:47 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 97215 invoked by uid 500); 10 Apr 2013 14:46:47 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 97136 invoked by uid 99); 10 Apr 2013 14:46:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 14:46:47 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rob.j.godfrey@gmail.com designates 209.85.219.44 as permitted sender) Received: from [209.85.219.44] (HELO mail-oa0-f44.google.com) (209.85.219.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 14:46:42 +0000 Received: by mail-oa0-f44.google.com with SMTP id h1so522440oag.3 for ; Wed, 10 Apr 2013 07:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=VTNZyAGZGRw34c5cqc5fT8ixaVuqgNMyzkU6eiHGe6g=; b=JwA7oY+XuNltB06MV1kFHR3JgNnKQx3M28cTnqJ6OFqoKFcfRqS1DfXBVbnCD+nffw uJmmBFdouWlNqYlYnWfLH66gDvJS15qi4tF38qDPytgUyBG2T9aFT2/SETvivf/RkU2i YfLTWiHBDB8xdH7XS8l3SMWhjqhUm13KuZuDQ9vjgLeOiDynXo9gzRPYjtJ794QqfYli uWWB2yo8PbMMzBxcLvkI900RWjeYbDo2FLm+PxgB+laII+gRbuwGAk5tAGdGk96auiM5 w8f2bs7o0rENn58b/GpYl9g4c3yqmhXwy9PTGF7Xmv3oZsjbp6cqzgBlPZJSPndwsApb G93g== MIME-Version: 1.0 X-Received: by 10.60.101.163 with SMTP id fh3mr846198oeb.95.1365605182025; Wed, 10 Apr 2013 07:46:22 -0700 (PDT) Received: by 10.60.22.194 with HTTP; Wed, 10 Apr 2013 07:46:21 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Apr 2013 16:46:21 +0200 Message-ID: Subject: Re: Modularizing Qpid From: Rob Godfrey To: qpid Cc: "users@qpid.apache.org" Content-Type: multipart/alternative; boundary=089e0111b302c7820304da02bb9b X-Virus-Checked: Checked by ClamAV on apache.org --089e0111b302c7820304da02bb9b Content-Type: text/plain; charset=ISO-8859-1 I'm +1 this... Obviously we need to understand better the amount of work to achieve the separation of the components... but if this were in place then we wouldn't be facing the sort of issues we are currently experiencing with the 0.22 release which would strongly benefit from not having the release cycles of all components tied together. -- Rob On 10 April 2013 15:55, Justin Ross wrote: > Hi, everyone. We've recently been discussing the components of our > project in a couple different contexts. This is a proposal to take > the outcomes of those discussion and apply them to how Qpid is > organized. > > Thanks for taking a look, > Justin > > ## Related discussions > > - > http://qpid.2158936.n2.nabble.com/Proposal-to-adjust-our-source-tree-layout-td7587237.html > - http://qpid.2158936.n2.nabble.com/Website-update-td7590445.html > > ## The problem > > For a long time, Qpid was in many respects treated as one thing, with > one release cycle. Its parts were divided at the top level by > language, not function. > > The division by language provides little incentive to factor out > dependencies into clean interfaces, and it has tended to mean that > developers often work in just one language silo. > > It has also meant that our source modules have only a weak > correspondence to the user-focused release artifacts that we produce. > > With Proton, we've broken the mold, and the overall picture of Qpid is > inconsistent and confusing, to the Qpid developers and users. > > ## The proposed approach > > - Qpid the project embraces a functional division of components > > - Each source component is self-contained and independent, with a > focused purpose; among components, there are well defined > dependencies > > - The source components should correspond closely to the pieces our > users want to use independently; nonetheless, there would in some > cases be multiple release artifacts from a component > > - Each component has its own set of branches, supporting independent > releases > > - Each component should be neither too large nor too small; large > enough to ease development and release management; small enough to > represent a focused functional unit and to clarify dependencies > > - API components would in some cases also contain code shared by APIs > and servers; the server would in that case depend on the API code > base > > ## Proposed source components > > - Proton (this one already exists) > - /qpid/proton/trunk/ > > - JMS > - /qpid/jms/trunk/ > - Depends on Proton > > - Java broker > - /qpid/java-broker/trunk/ > - Depends on JMS (?) > > - Messaging API > - /qpid/messaging-api/trunk/ > - Both the C++ (and bindings) and python implementations would > move here > - Depends on Proton > > - C++ broker > - /qpid/cpp-broker/trunk/ > - Depends on Messaging-API > > Note that this matches the download page of the new website pretty > nicely. > > - http://people.apache.org/~jross/transom/head/download.html > > There's some debate about the right names for these things. Don't > take my suggestions seriously. I just had to put something down to > illustrate. If I had my druthers, we'd give the two brokers names > that didn't include a programming language. > > ## First steps > > This change can't happen all at once. We propose to start with these: > > - Isolate JMS from the existing qpid/trunk/qpid tree > - Isolate the Messaging API from the existing qpid/trunk/qpid tree > > If this is agreed, the idea is to bite off this much during the 0.24 > cycle. > > ## Developer infrastructure > > This change calls for some work to support developers using multiple > components in one development environment. This needs more > investigation. > > ## JIRA instances > > We propose *not* to create new jira instances for each component. We > can do that later on if necessary. For now we can overload the > version field in the qpid jira instance to include a component name. > > ## A Qpid "distribution" of source component releases > > While this scheme supports independent releases of each source > component, it doesn't rule out a Qpid-wide release. There may be > reason for Qpid as a whole to share a release cadence and > produce a new "distribution" of components each cycle. It would all > be more flexible, however. A component might want to produce three > revisions in the space of a standard Qpid-wide four-month cycle, or a > component might produce no new revisions. > > To me the advantage of producing a periodic distribution is (a) > coordinated testing and (b) a known distribution set for users to > deploy together. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org > For additional commands, e-mail: dev-help@qpid.apache.org > > --089e0111b302c7820304da02bb9b--