Return-Path: Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=linux.intel.com (client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=david.j.cobbley@linux.intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41mjTT58pBzDqgF for ; Fri, 10 Aug 2018 08:23:56 +1000 (AEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2018 15:23:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,217,1531810800"; d="scan'208";a="79034065" Received: from parzival.jf.intel.com (HELO [10.54.51.103]) ([10.54.51.103]) by fmsmga004.fm.intel.com with ESMTP; 09 Aug 2018 15:23:30 -0700 Subject: Re: Managing openbmc with subtree To: Brad Bishop Cc: openbmc@lists.ozlabs.org, prashanth.giri@dell.com, sachit_bakshi@dell.com References: <00e6e0a4-027d-7a9c-ad49-363290e62c68@linux.intel.com> <54643fe1-d382-3df7-8630-bb5e01ea2edb@linux.intel.com> <8E5317F7-E0B1-4A2F-B047-52B77E1AD13F@fuzziesquirrel.com> <9b967642-9c97-c7e5-7114-c024ada10a4f@linux.intel.com> <7B99FD60-9493-4A17-ABF0-D1315D86B1CB@fuzziesquirrel.com> <8b4c11b3-d6d7-c586-5d10-9c028d3fefb2@linux.intel.com> <27F75378-E985-47F6-8516-086CF8197D85@fuzziesquirrel.com> From: Dave Cobbley Message-ID: Date: Thu, 9 Aug 2018 15:23:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <27F75378-E985-47F6-8516-086CF8197D85@fuzziesquirrel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2018 22:23:58 -0000 On 08/09/2018 01:16 PM, Brad Bishop wrote: >> On Aug 8, 2018, at 6:14 PM, Dave Cobbley wrote: >> >> >>>> On Aug 7, 2018, at 1:16 PM, Dave Cobbley wrote: >>>> >>>> I do agree that we can find a scriptable solution to this, however, I feel using the OWNERS plugin provides a much easier workflow for all developers, i.e. nothing changes from their perspective. >>> Hrm, while I agree that the OWNERS plugin preserves the existing workflow >>> I’m not convinced that is the best path forward. >> I suppose it does only give us one of the two goals, where as moving straight to subtrees fulfills all of the goals. >>>>> This gives us the same process for all subtrees, whether or not they are >>>>> openbmc hosted subtrees. It also does not require people hacking on a >>>>> subtree to clone OpenBMC when it doesn’t make sense for them to do that, >>>>> such as someone just using the Aspeed BSP layer. >>> I still have these concerns. >> I understand your concerns and agree > Is this an agreement to my proposed workflow? I am running through the workflows locally to ensure the paradigm works as planned. I have verified that the commit and subtree branch/push works - still working through how a dev would go work on something else, and then jump back into the feature to update the commit. > > For reference the proposal was distro hackers could have an openbmc/openbmc repo > with multiple remotes, one for the distro and one for each subtree and then: > >>>>> $ git checkout -b phosphor-master meta-phosphor-gerrit/master >>>>> $ git cherry-pick —-strategy=subtree -Xsubtree=meta-phosphor >>>>> $ git push meta-phosphor-gerrit HEAD:refs/for/master >> - Here is what I would propose for the subtree folder structure: >> >> Splat * represents a subtree >> >> Yocto & more: >> import-layers/ >> *meta-openembedded/ >> *meta-virtualization/ >> *poky/ >> *meta-security/ > Would it make sense to put meta-* directly in the root, along with all our other > subtrees? I don’t see the point in calling them out as upstream trees - I’d like > to see some or all of our project meta trees become hosted elsewhere someday, > much in the same way as meta-virt for example. > Sure I believe that is fine. I like to put things in boxes so that habit is bleeding through :) >> BSP: >> meta-openbmc-bsp/ >> *meta-ibm/ >> *meta-aspeed/ >> *meta-nuvoton/ >> *meta-raspberrypi/ > lgtm > >> MACHINES: >> meta-openbmc-machines/ >> meta-arm/ >> *meta-qualcomm/ >> meta-openpower/ >> * meta-ibm/ >> * meta-ingrasys/ >> * meta-inventec/ >> * meta-rackspace/ >> meta-x86/ >> *meta-intel/ >> *meta-mellanox/ >> *meta-portwell/ >> *meta-quanta/ > I’d like to get away from this and just put the company subtrees at the root. > That way meta-xyzcorp could support both an x86 and an arm server. Makes sense. > >> REFERENCE: >> meta-phosphor/ > I’d suggest the arch metas here, at the root. Honestly I’d like to get to a point > where all the arch layers are just merged into meta-phosphor and we can say > meta-phosphor supports x86, power, and arm servers (along with TORSes). But we can > save that for another day. > >> >> -Dave > So to net these all out: > > *poky/ > > *meta-openembedded/ > *meta-virtualization/ > *meta-security/ > *meta-arm/ > *meta-openpower/ > *meta-x86/ > *meta-phosphor/ > > *meta-aspeed/ > *meta-nuvoton/ > *meta-raspberrypi/ > > *meta-intel/ > *meta-mellanox/ > *meta-portwell/ > *meta-quanta/ > *meta-ibm/ > *meta-ingrasys/ > *meta-inventec/ > *meta-rackspace/ > *meta-qualcomm/ Just to clarify - *meta-intel would contain our machine specific configurations for particular intel platforms, while *meta-x86 would contain image-like things that are generic to all x86 server platforms? Not sure I understand why meta-x86 exists if meta-intel/mellanox/portwell/quanta are all on the top level. Meta-x86 was simply a folder in my proposal. -Dave