Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE75FD9FD for ; Thu, 11 Oct 2012 17:14:04 +0000 (UTC) Received: (qmail 53110 invoked by uid 500); 11 Oct 2012 17:14:04 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 53083 invoked by uid 500); 11 Oct 2012 17:14:04 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 53075 invoked by uid 99); 11 Oct 2012 17:14:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 17:14:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of purplecabbage@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 17:13:58 +0000 Received: by mail-we0-f175.google.com with SMTP id t44so1203901wey.6 for ; Thu, 11 Oct 2012 10:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=G4NP78HFA3Mu9H+2WMKq1yJ6Sbakk5R3psj3Baxe6CY=; b=QaEn0yuybzjcsg55+fuBpYcASBLo9rIfuvc4ekpo+HEZewSYLA4MRokkYNMMOPdXeU KqjfvoJ7tGkFJQZVqe6p7c/3H4s1unFKCVhLZ/rOPtk3Agese69kBLKiWu5xC6sqgCvv tuvCgIe+ANGZo06RcaqdoueJMidNwS3J7ZMFfNtxakAsbICr424sRtwk3vaKC4Qq3Qb1 4h37ZK7KCObbcO7gagDEeWgvnvthHLCWSqmwc5pB1LW8ftvtv5Njyf+YNJZBcqyakTQW W9UndoTf4M1OXAfj+oHD5hUm6Tgzkb4FwHAn60O2vdwtANKKpjzlejhsVUGTFMPf+5HP m7OQ== MIME-Version: 1.0 Received: by 10.180.8.134 with SMTP id r6mr22143642wia.18.1349975618318; Thu, 11 Oct 2012 10:13:38 -0700 (PDT) Received: by 10.216.33.134 with HTTP; Thu, 11 Oct 2012 10:13:38 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Oct 2012 10:13:38 -0700 Message-ID: Subject: Re: plugin format: why plugin.xml instead of plugin.json ? From: Jesse To: callback-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Can use both ... .json for npm-like package discovery and .xml for install-time configuration. On the wp7 pluginstall, I liked the xml format because I essentially just defined an xml fragment that gets appended to the output project file ( also an xml file ) On Thu, Oct 11, 2012 at 10:02 AM, Anis KADRI wrote: > I think we should stick to it for now. I am totally in favor of using JSON > in the future but right now I would like to see more plugins use this XML > format. > > On Thu, Oct 11, 2012 at 9:51 AM, Brian LeRoux wrote: > >> ya the past is irrelevant. since we're moving to npm for the pkg mgmt we >> should probably move to an extension of package.json >> >> instead of clobbering andrew's work (and creating work for him) we should >> have a light module in-between that is responsible for marshaling between >> the formats. >> >> this stuff is decidedly not hard but certainly not interesting or fun. >> >> On Thu, Oct 11, 2012 at 9:41 AM, Filip Maj wrote: >> >> > Probably no reason other than "because Andrew wrote it and that's what he >> > chose" >> > >> > On 10/11/12 3:20 AM, "Mike Reinstein" wrote: >> > >> > >If this is an old discussion/argument I'm sorry for re-hashing this. I'm >> > >wondering why express the plugin manifest in xml, when its managed in >> > >node/javascript which handles json natively. There doesn't seem to be >> any >> > >significant nesting or complex XML within the doc thus far. Intentional >> > >design decision? Any info on this would be enlightening and helpful. >> > > >> > >thanks, >> > > >> > >-Mike >> > >> > >> -- @purplecabbage risingj.com