Return-Path: X-Original-To: apmail-infrastructure-dev-archive@minotaur.apache.org Delivered-To: apmail-infrastructure-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 B070918671 for ; Wed, 11 Nov 2015 06:10:13 +0000 (UTC) Received: (qmail 88809 invoked by uid 500); 11 Nov 2015 06:10:08 -0000 Delivered-To: apmail-infrastructure-dev-archive@apache.org Received: (qmail 88652 invoked by uid 500); 11 Nov 2015 06:10:08 -0000 Mailing-List: contact infrastructure-dev-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: infrastructure-dev@apache.org Delivered-To: mailing list infrastructure-dev@apache.org Received: (qmail 88639 invoked by uid 99); 11 Nov 2015 06:10:08 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2015 06:10:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id CADF4180375 for ; Wed, 11 Nov 2015 06:10:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id dpTWoXGfzMh4 for ; Wed, 11 Nov 2015 06:10:06 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 87D1724E9B for ; Wed, 11 Nov 2015 06:10:05 +0000 (UTC) Received: from [192.168.1.5] ([85.180.104.194]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lug8u-1aMccR0OlU-00zrCn for ; Wed, 11 Nov 2015 07:09:59 +0100 Subject: Re: git and deleting branches To: infrastructure-dev@apache.org References: <5641DE35.3050001@gmx.org> From: Jochen Theodorou Message-ID: <5642DBB6.4050203@gmx.org> Date: Wed, 11 Nov 2015 07:09:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:wJZH3tmzK7zZFLczN9y44KxfnBFXkShuZJA2FoyOPp72erEogj0 u/t0YYu3ej9rQOjV39cNYrU/zqXstlROjN9V74o98XqMAQcqfNGR5XtF78HJJ6KllZJ9AwZ ohO9NfkpPa0Vg/03Jz558NqHb0MYET60SupGcObgJ4VYxR9NHApshHrhoVDKe24bjO6pxfd sdUYCdH5lGgXsz4SoJw5g== X-UI-Out-Filterresults: notjunk:1;V01:K0:U4cNTZS9r8U=:q8iAimhKJw5pxRB2SXms0w WGP/kdMhpRnEHz4iC59mJnaOF9ftVm1osgkzE29cHQJXE2nx9m6lET+P1Sz16cI7g09R0iviO VJRuGxMhgvmPnpzu5gdqrHXTRqrwAgsg2KJYFYvka/PZ5kgv+XoZaFTigC5yjArsmw2j074yS jdK8YYG4QVXsVfKuXKCROoKsoTrzFnqReDLgRQQTJNppTPrkeUSr+/keZQHfdysF65ahnKdF8 yqkQrXmsFKENWhuZHXORcohH0c/ng1sJZCGvLluJXoxniiNGbTuiXEde565FbIWofWtM8LGSH FH3LP7UREvMXQ24hSixm/ap2tGOBjkw8CcSiosaRS9CQU9FALNYfF8XC2tfHsWrooCXhJ0a40 rdLYvAAWp7RWOfJZ0g5RO6Lp8jichpCH7d6RiRF0UtHl7LntTcbtJFDax4ih6Vohj14bkPAzp az24IhPebu4xXk3v6wCWnfS2xyaZ97yfXlzY7jx51agKk2INhXKb+pvG9/LSri77OHpcGsmIh urenOMn4RUHA9Tu4r1kvvsdxUmFAs76yS2491JQQzE3d/c/1BtZLxC2McvnBsjzwxHIE3n9GH T+73vXLxzHz0oohWROJ494lHpmY3OOTiXdejX6M/dQY9tjaC0HZslcLq9vYUBHTB1YaHqvEuU 2vkbDawK9yLvBDYgNcEniLFisxtonYX21AEmAs3pW5HMPYXL4DIdkZso1miO+5KizsUxiExgL Yeb+XswJXv6WUcghDZ+FrwCYrbNQUx9Otgv4HAQZ2QhTjxBsd9pEZlVTIAczBKO3fWwfWm0bu 0+ge+Va On 11.11.2015 03:28, Joseph Schaefer wrote: > Oh calm down Marvin. None of this is being hotly debated at this point, particularly none of jochens concerns are. > > What is happening internally is a measured and mostly rational conversation about generic policy matters, some of which tangentially touch on this issue. This is probably more directed at Marvin... I can perfectly well understand that we don't want to loose history to any release. But for example in he GROOVY_1_5_X branch... There is a GROOVY_1_5_8 tag describing the last release made from this branch. After that, there are 3 small commits from 2010, to correct version number scheme changes, and there will never be any release from this branch. Deleting this branch would not mean loosing anything but those 3 commits, since the tag stays. After all, in git a branches and tags are just references to points in a DAG commits. > But jochen's concern certainly hasn't been kicked around in any detail yet so sure why not discuss it here since projects are experiencing the ramifications as we speak. > > The problem is that when we created the git infra at apache, we intended for projects to use the master branch and a select set of other references to be considered protected from history modification. Originally I believe the thinking was to protect the entire repo but that was considered too invasive by people smarter than me. As of https://git-wip-us.apache.org/docs/switching-to-git.html#protected-ref-lists the protected references are refs/heads/trunk refs/heads/master refs/heads/rel/ refs/tags/rel/ Since we come from a existing repository (that was formerly SVN, that was formerly CVS) we never used the /rel/ structure to begin with. At the same time we would not want anyone to delete GROOVY_2_3_X right now, since that is the current maintenance version. We usually have up to 3 branches in work in parallel of which releases are done. Problem here: the names change, since they are version oriented. For major versions there might also be branches for beta and rc versions, which might exist in parallel. Of course I realize now, that the branch should have been under rel as well, but even our change to git was done long before we came to apache > So while what we came up with was essentially limitations on a few select reference namespaces, it turned out that many projects were either explicitly avoiding those references, or their tooling led them to make alternate choices when it came to the use of the master branch for development. In effect our policies were being circumvented so someone made a call to deal with the situation and that leads us to where we are today. In no way should this be viewed as a permanent change, but one that level sets the problem across the board. The release process is often a reason, pre apache structures another. The 72h voting period is also not helping here. In the end it means a lot of work for infra, if all branches and tags stay protected. A non-protected namespace would help, but not sure if the tooling can do that properly (after all, most of those tools would not need to have a branch in the remote repo at all) bye Jochen