Return-Path: X-Original-To: apmail-corinthia-dev-archive@minotaur.apache.org Delivered-To: apmail-corinthia-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 116311029D for ; Tue, 30 Dec 2014 23:27:54 +0000 (UTC) Received: (qmail 33584 invoked by uid 500); 30 Dec 2014 23:27:54 -0000 Delivered-To: apmail-corinthia-dev-archive@corinthia.apache.org Received: (qmail 33559 invoked by uid 500); 30 Dec 2014 23:27:54 -0000 Mailing-List: contact dev-help@corinthia.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@corinthia.incubator.apache.org Delivered-To: mailing list dev@corinthia.incubator.apache.org Received: (qmail 33548 invoked by uid 99); 30 Dec 2014 23:27:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2014 23:27:54 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 30 Dec 2014 23:27:53 +0000 Received: (qmail 33505 invoked by uid 99); 30 Dec 2014 23:27:33 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2014 23:27:33 +0000 Received: from [192.168.1.33] (unknown [202.44.228.15]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 882561A0234 for ; Tue, 30 Dec 2014 23:27:27 +0000 (UTC) From: Peter Kelly Content-Type: multipart/alternative; boundary="Apple-Mail=_922690B1-CC92-4B2F-A159-595708F30010" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2064\)) Subject: Re: [6/6] incubator-corinthia git commit: Don't store bin/lib/include dirs in repository Date: Wed, 31 Dec 2014 06:27:13 +0700 References: <37b7c4a06d7b497db8bc2e76f585a136@git.apache.org> <3b702590e3a648ea9fb5388194dc6d6c@git.apache.org> To: dev@corinthia.incubator.apache.org In-Reply-To: X-Mailer: Apple Mail (2.2064) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_922690B1-CC92-4B2F-A159-595708F30010 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 31 Dec 2014, at 12:44 am, jan i wrote: >=20 > On Tuesday, December 30, 2014, jan i wrote: >=20 >> Hi Peter >>=20 >> Seems your commit, destroyed some of the files I had made like = NamesTest.c >> and OStest.c >>=20 >=20 > think I got it covered, at least my branch can merge with master = again. >=20 > you deleted namestest.c with an explanation, and it seems ostest.c was = not > added, my fault, due to a git problem I have......earlier removed > non-committed files when I changed branch. The way we=E2=80=99re dealing with names needs to change; ideally each = filter should have a separate set of enum definitions for the XML names. = Currently every element name from every possible filter is included in = the one place, which isn=E2=80=99t scalable, and mixes in details from = the various filters into core. The main reason I removed it though was it was defining a duplicate = symbol called LibTests, which was causing problems. I can easily enough = add it back with the symbol NameTests, though until we have some tests = there it probably doesn=E2=80=99t make a difference. > can we agree that updates to stable is done with --squash so it is not = a > repeat of master but a line of points in time where our project was = stable. >=20 > I would like to be able to checkout any commit in stable and know its = a > stable version. I=E2=80=99m not keen on the squash idea, for three reasons: 1. We =E2=80=9Close=E2=80=9D history in the stable branch (that is, a = git log shows less detail, and we can=E2=80=99t narrow things down to = individual commits). Of course we still have all this information in = master, so it=E2=80=99s not necessarily so bad, but my opinion is it = would be nice to have all this information present in master. 2. With squash commits, there=E2=80=99s absolutely nothing to formally = relate commits in the stable branch to those in the master branch. The = only way to get a correspondence between the two is to look for similar = times and compare the commit messages/content, to match up a given = commit in stable and a given commit in master. If you see some change = that has crept into stable, and you want to find out the full history of = how that happened, you would have to first figure out which master = commit it corresponded to, and then look at the history for master to = see the individual commits which made up the corresponding squash commit = in master. 3. With squash commits, we get multiple commit messages in one, meaning = that each commit in stable could contain a series of multiple unrelated = changes. If we want to make sure that every commit to stable is a line of points = at which the code was actually stable (that is, *not* containing commits = that don=E2=80=99t compile or pass the tests), then I recommend we go = for a normal merge instead. This avoids the problems above, while also = giving us a set of known stable points. =E2=80=94 Dr Peter M. Kelly pmkelly@apache.org PGP key: http://www.kellypmk.net/pgp-key = (fingerprint 5435 6718 59F0 DD1F BFA0 5E46 2523 BAA1 44AE 2966) --Apple-Mail=_922690B1-CC92-4B2F-A159-595708F30010--