Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 689C1200D5A for ; Thu, 14 Dec 2017 19:07:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 669E8160C16; Thu, 14 Dec 2017 18:07:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AB9DF160BFC for ; Thu, 14 Dec 2017 19:07:19 +0100 (CET) Received: (qmail 88217 invoked by uid 500); 14 Dec 2017 18:07:18 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 88200 invoked by uid 99); 14 Dec 2017 18:07:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2017 18:07:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B1CB1C0B4C for ; Thu, 14 Dec 2017 18:07:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 0k3qTLF3t21d for ; Thu, 14 Dec 2017 18:07:16 +0000 (UTC) Received: from mail-ot0-f181.google.com (mail-ot0-f181.google.com [74.125.82.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id BA0C55FB9E for ; Thu, 14 Dec 2017 18:07:13 +0000 (UTC) Received: by mail-ot0-f181.google.com with SMTP id s4so5678071ote.4 for ; Thu, 14 Dec 2017 10:07:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=5qHyBtV0tUmKRQUY24ZLRFpTcXR+BXN4f5sPVrIvWkE=; b=d4PG8l6PM3XvczsGW0eSAzD3F+F6BCW45ZCB+pF3pozihMWFhgdohJGqHa9Qny0TOL AxA1kg7z6M3qBNeQBY1eIxiCpZIruWtscd0PPeF5Oqx1QuUZ9LDi1oxiCznwj5+zccxH YBIBDlevIeQlAob75cUbzsmReG8IKusv2ZoBf2SxR9+NGFulUEoNEUuJEK9nAaFmdgK1 Hzh2MzGJeJU3cO94vHmyKyySeqkdG27tq/NZX3lhMNIRnaLkVrpAzekaGn3t1/4vST1l eghyis5limtqIBCudmDrm4DbZEhY0UEclUyE90hQRw3U5w/9t+5Kg5B2fKzZLP6CfkZm uTZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=5qHyBtV0tUmKRQUY24ZLRFpTcXR+BXN4f5sPVrIvWkE=; b=pfyPlei6NGLVLpToOzrL+lL5+o4j2IMTmL6yLXpAqdNS9VkEFqebs4S2jDqb/DrkMK BErGiY0Qe5Gs1DcNgEUcyn6FSNJvKOGAtnQaSY+lYMbnjlU+vVEBQWA55cbW+GrPhhwM 0NVp7rPoYUr2M68GrjKR0f8TDX0SvCYLpRFaIf+2UdVyb9SCcUJN18Y1Xr0aQbWg4LoI I9tpFDWaUyXzOVVzd1bvaWR+WeSe8UKwqpaVxOMkLdQ1D2jKiSzcE7kJJ8thRvPCwoQ1 gHLSyIcch3JWJDCRLFmEXJc7IH6fA5FHns/JmXtG6jE7RnfA783+XVpo7ZljrI5D76lH io8Q== X-Gm-Message-State: AKGB3mKIxwv7jTeoLHCdEpNuIbIkARuYJk2/aCQJnhcnx12mz7Rcenlr KWHGkJAoLzuziC68lmNzraQfanS/lmam/hiLRVviLMh2 X-Google-Smtp-Source: ACJfBovGl9uFxs2W9SKn0+dYWarA2844Fbvp3MJ0WKQ3OkmVqsqw7eCfKodHHliNlInei52ND1HN7Qx+87Y+SaIo1qo= X-Received: by 10.157.19.45 with SMTP id f42mr5516081ote.4.1513274832136; Thu, 14 Dec 2017 10:07:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.11.170 with HTTP; Thu, 14 Dec 2017 10:07:11 -0800 (PST) In-Reply-To: References: From: =?UTF-8?Q?Rafael_Weing=C3=A4rtner?= Date: Thu, 14 Dec 2017 16:07:11 -0200 Message-ID: Subject: Re: Clean up old and obsolete branches To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary="001a1145d1c0d12d90056050c0b1" archived-at: Thu, 14 Dec 2017 18:07:20 -0000 --001a1145d1c0d12d90056050c0b1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Guys, Khosrow has done a great job here, but we still need to move this forward and create a standard/guidelines on how to use the official repo. Looking at the list in [1] we can clearly see that things are messy. This is a minor discussion, but in my opinion, we should finish it. [1] https://issues.apache.org/jira/browse/CLOUDSTACK-10169 I will propose the following regarding the use of the official repository. I will be waiting for your feedback, and then proceed with a vote. 1. Only maintain the master and major release branches. We currently have a system of X.Y.Z.S. I define major release here as a release that changes either ((X or Y) or (X and Y)); 2. We will use tags for versioning. Therefore, all versions we release are tagged accordingly, including minor and security releases; 3. When releasing the =E2=80=9CSNAPSHOT=E2=80=9D is removed and the bran= ch of the version is created (if the version is being cut from master). Rule (1) o= ne is applied here; therefore, only major releases will receive branches. Every release must have a tag in the format X.Y.Z.S. After releasing, we bump the pom of the version to next available SNAPSHOT; 4. If there's a need to fix an old version, we work on HEAD of corresponding release branch; 5. People should avoid using the official apache repository to store working branches. If we want to work together on some issues, we can set= up a fork and give permission to interested parties (the official repositor= y is restricted to committers). If one uses the official repository, the branch used must be cleaned right after merging; 6. Branches not following these rules will be removed if they have not received attention (commits) for over 6 (six) months. I think that is all. Do you guys have additions/removals/proposals so we can move this forward? On Mon, Dec 4, 2017 at 7:20 PM, Khosrow Moossavi wrote: > I agree Erik. I updated the list in CLOUDSTACK-10169 with more informatio= n > (last updated, last commit, HEAD on master and PR status/number) to give = us > more immediate visibility of the status of those branches. So any branche= s > can > be deleted if: > > - which its HEAD exists on master > - its PR was merged or closed (which surprisingly are not so many) > - it's old (last updated in 2015 or before?) > > and the rest of them can be deleted after more examination (if need be). > > > On Mon, Dec 4, 2017 at 6:37 AM, Rafael Weing=C3=A4rtner < > rafaelweingartner@gmail.com> wrote: > > > I thought someone might bring that up. The problem with using branches = in > > the official repo is that only committers will be able to commit there. > So, > > we would restrict the group of people that might be able to participate > in > > this type of cooperation. I do not see the difficulty for a > > contributor/committer to give permissions for others in their own > > repository that is a fork from our official one. I have done that with > some > > friends before. > > > > Also, do not worry Erik; the idea is not to delete anything right away. > We > > are only bringing the topic for a broader discussion here. > > > > On Mon, Dec 4, 2017 at 8:58 AM, Erik Weber wrote: > > > > > On Thu, Nov 30, 2017 at 9:05 PM, Khosrow Moossavi > > > wrote: > > > > Hi Community > > > > > > > > I would like to start the discussion around deleting old and obsole= te > > > > branches on github repository. This will help newcomers (including > > > myself) > > > > to keep track of which branches are important and which are not. An= d > > > since > > > > almost everyone's working on their own forks there is no need to ke= ep > > > > feature/bugfix/hotfix branches around in the main official > repository. > > > > > > > > I've created an issue which contains full list of branches in > > > > GH/apache/cloudstack repo as of time of writing this email and the > > > > proposition of which one of them can be deleted. > > > > > > > > https://issues.apache.org/jira/browse/CLOUDSTACK-10169 > > > > > > > > I would appreciate your questions, comments, suggestions. > > > > > > Do note that there might be branches with unmerged changes, I don't > > > think we should just automatically delete those without reflecting > > > over its content. > > > Although these branch might be stray now, there could be pieces there > > > that someone else could use at a later point. > > > > > > As for old feature/fix branches that has been merged, I'm +1 to > > > cleanup up those. > > > > > > -- > > > Erik > > > > > > > > > > > -- > > Rafael Weing=C3=A4rtner > > > --=20 Rafael Weing=C3=A4rtner --001a1145d1c0d12d90056050c0b1--