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 09DAE200B95 for ; Tue, 27 Sep 2016 21:21:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 08843160AD2; Tue, 27 Sep 2016 19:21:09 +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 04F70160AB9 for ; Tue, 27 Sep 2016 21:21:07 +0200 (CEST) Received: (qmail 15647 invoked by uid 500); 27 Sep 2016 19:21:06 -0000 Mailing-List: contact general-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@incubator.apache.org Delivered-To: mailing list general@incubator.apache.org Received: (qmail 15635 invoked by uid 99); 27 Sep 2016 19:21:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2016 19:21:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3970EC0E29 for ; Tue, 27 Sep 2016 19:21:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.78 X-Spam-Level: X-Spam-Status: No, score=0.78 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=douma-nu.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id x2QcTajWLgZd for ; Tue, 27 Sep 2016 19:21:04 +0000 (UTC) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id D2B5C5FC24 for ; Tue, 27 Sep 2016 19:21:03 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id l132so30699434wmf.1 for ; Tue, 27 Sep 2016 12:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=douma-nu.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=//WutoYnoNtz9vWMTG48I1uyDgdB8Y8qFmksQYXdULg=; b=MxEG9CsRZ9YhqsnEOfiZtRRAQAKyh646iZZgsKLi2aNEXbw69aot3jC8iLeJKZyFSz l8oqnZrTw4NK3yWcnGdM7MQNK/bVzNwQM4YatzaiZ+B2tIypRh8dt5QBW6Bp5DAitSg9 qaJCdZmh6ocpIO7j+91u9QZK+vdHDjo13cwzq2NXxnOsgqhnW39JtslbR8LW0B489Zdi Zjt74S1OuRLWfluZGstKzOHhs6RMALZya9agGxdCngBp4yZY6SYWBQH6+6L0tiNWzO9O 8UvqZMFpUnzNUcnG1LWSEkn9CLVOlBnrWX3uHN+NnVjP2Luyvy8AlypMfjRXhhCBLZEK tMNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=//WutoYnoNtz9vWMTG48I1uyDgdB8Y8qFmksQYXdULg=; b=gF1TP8Lwa9uX051WpFeCTSpsQvM8FfOJo1DxJm6+M0epM/5XVdeN+RqkvX5zW/8cc+ UZLae5SDwK8U7Dyxag2lKdOKXbTq9r+z3rNxg3u2b9OAMlW9XvGrBOmhE9xc8bninQzG gs8Oa9aNN754BYxluJe324q4LihZpFqiyayZJvnfNAlt0ApeTH5QOVgad9h9WNXHnVOE QK092oEc5Vc9gNOHkNQ2NFmrIHrMLGweLsZlQjmIQs1RO+cRT9K7+WtdQVc6TL+YXjXU T560opk73+dpfBMnVW0D/Je8L/Y+XMjFro4FQCUEqBQJ6nAtpdSvkYMng2TMJy9DPpa5 /Lgg== X-Gm-Message-State: AA6/9RljvPvOWbFcZT+b5WM/63DHrdns3YB3XrYfuZYKrqZ2VU3epWK5f1S8UmSXtLr2mw== X-Received: by 10.28.38.69 with SMTP id m66mr4305077wmm.133.1475004062570; Tue, 27 Sep 2016 12:21:02 -0700 (PDT) Received: from [192.168.1.105] (238-048-128-083.dynamic.caiway.nl. [83.128.48.238]) by smtp.gmail.com with ESMTPSA id k2sm18234121wmg.23.2016.09.27.12.21.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Sep 2016 12:21:01 -0700 (PDT) Subject: Re: Git release candidate tagging policy? [was: Re: [VOTE] Apache BatchEE 0.4-incubating] To: general@incubator.apache.org References: <1960476297.769312.1474896868498@mail.yahoo.com> <1320641991.899576.1474903369034@mail.yahoo.com> <1837219454.1281997.1474962279912@mail.yahoo.com> From: Ate Douma Message-ID: <40d08a49-dbc4-e0f0-c6a4-fe54a8e47677@douma.nu> Date: Tue, 27 Sep 2016 21:20:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1837219454.1281997.1474962279912@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Tue, 27 Sep 2016 19:21:09 -0000 Hi Mark, On 2016-09-27 09:44, Mark Struberg wrote: > Hi Ate! > > It's quite natural that many other projects just point to DeltaSpike. > DS was in 2011 amongst the very first projects using GIT at the ASF. > > One of the results of this effort (together with the CouchDB community) was following document > http://wiki.apache.org/couchdb/Git_At_Apache_Guide > > Note the paragraph "Tagging during a VOTE": > "Please note that the only officially result of an ASF release is the source tarball! These zipped and signed sources are also the only thing a VOTE is upon. All other artifacts produced during a build are just nice to have goodies which are no official ASF products. This includes the TAG on any SCM hosted at the ASF or elsewhere" > > > This (and many other GIT questions) also got heavily discussed at the 2014 ApacheConEU. > Search the private repos for "[DISCUSS] sandbox GIT repo for each of our projects using GIT". > And you will find many other GIT discussions in that timeframe around Mid 2012 and Nov/Dec 2014. > There have been dozen other times when this did pop up, e.g. search "Immediate change to git". > > > And it also just recently (August 2016) got discussed on this very list here. See the "Ease of release process and exit criteria" thread. > Thanks for the clear pointers: that'll get me going :-) > > But I agree it might be time to collect all these informations together and write an incubator compendium for it. Yeah I think so. I've just reviewed and gave a +1 a release candidate for Streams, which now possibly might not yet be in line with the suggested Git tagging policy... I now will have to check again for this too. And if it isn't, well. That would rather annoying, because it hasn't been documented in the incubator guidelines yet. Ate > > LieGrue, > strub > > > > >> On Monday, 26 September 2016, 22:09, Ate Douma wrote: >>> Hi Mark, >> >> On 2016-09-26 17:22, Mark Struberg wrote: >>> Stian, this is established practice in the ASF since the very early days of >> playing with GIT. >>> It is used e.g. in the following TLPs: >>> TomEE >>> DeltaSpike >>> Johnzon >>> CouchDB >>> Maven >>> and many, many more! >>> >>> >>> It also got discussed on members, infra and even board lists. >> >> The suggestion 'this' is established practice in the ASF made me wonder. >> So I tried to lookup some reference, background and/or discussion around it. >> But I have not been able to find anything! >> Of the above listed projects, only DeltaSpike actually has a page describing >> *what* to do, written by you, but otherwise: nothing AFAICT. >> I also briefly scanned the members and board lists, seeing if I somehow missed a >> crucial discussion about this in the last several years. >> But nothing jumped out to me what might be related. >> >> I haven't been really actively involved (much) in ASF projects using git >> so far, so it didn't really matter much to me yet until now. >> And I probably didn't try hard enough researching it either. >> >> But if this really is an established practice, then at least it should be easy >> to find and properly described, somewhere. Especially as some incubator guide. >> So where is or was this discussed, do you have some pointers? >> >> Thanks, Ate >> >> >>> >>> The nice thing about GIT is that it absolutely doesn't matter where I >> push the commit to as long as the sha1 of the commit later pushed to the ASF >> repo is the same. >>> >>> >>> Regarding 'pushing something different'. I trust an ASF member that >> he doesn't do that. Plus we have the sha as explained before. >>> Regarding 'not getting pushed at all': This would get catched >> pretty quickly as we would miss the version update ;) >>> >>> >>> Also bear in mind that ASF projects do NOT vote on the tags nor branches - >> we solely vote on the release source distributable! >>> >>> >>> >>>> branches are there to be created and removed again >>> Branches in GIT _cannot_ get removed from any downstream repo! >>> >>> That's the whole point. And if you do RCs, then you actually would have >> to later do a NEW vote again with the 'RC' removed from the version. But >> who guarantees that the source tarball is the same now? What if someone changed >> the source in the meantime? You see, it also has flaws. >>> >>>> Perhaps "git tag --sign" so you get a PGP-signed tag commit >>> >>>> would be a good idea? >>> >>> Agree, would be a good idea! >>> It happens that I wrote the Maven GIT integration somewhen in the 2000s... >> ;) >>> >>> We don't have the tagging feature yet. Could you please file a ticket >> against Maven SCM? >>> >>> >>> txs and LieGrue, >>> strub >>> >>> >>> >>> >>>> On Monday, 26 September 2016, 16:34, Stian Soiland-Reyes >> wrote: >>>>> On 26 September 2016 at 14:34, Mark Struberg >> >>>> wrote: >>>>> We *never* push commits for in-progress votes to hte ASF repos >> when we use >>>> GIT! >>>>> The reason is that we cannot get rid of those afterwards! Of >> course we can >>>> delete the branch/tag/commit from the ASF repo, but we cannot delete >> them from >>>> all the hundreds downstream repos which almost immediately pull those >> changes... >>>>> >>>>> You can think of pushing this to a private (but PMC owned!) github >> repo as >>>> kind of parallel to the Maven 'staging' process. >>>> >>>> Of course it is up to each project what particular release/tag >>>> practice they want to follow. Many projects do this classically even >>>> with git, e.g. using branches or tags like 0.4-RC1 - see for instance: >>>> >>>> https://lists.apache.org/list.html?dev@jena.apache.org:lte=10M:VOTE >>>> >>>> Some communities like Apache Commons even keep around all RC tags; >>>> then archived emails around failed RCs still have valid links - e.g. >>>> https://github.com/apache/commons-lang/releases >>>> >>>> I wouldn't personally see a problem with a RC branch showing up in >>>> forked repositories - branches are there to be created and removed >>>> again - if downstream want to keep them for archival purposes >> that's >>>> their choice - just like they can keep the commit emails. >>>> >>>> >>>> But if that's not your project's cup of tea, then I guess just >> a >>>> commit IDs and hashes in the email should work, no matter where the >>>> commit 'is' - in git the commit is hashed and it's not >> forgotten >>>> after >>>> the vote is passed. >>>> >>>> Perhaps "git tag --sign" so you get a PGP-signed tag commit >> would be a >>>> good idea? >>>> >>>> >>>> Without the commit ID or hashes in the email - then particularly for >>>> mutable release candidates tags hosted in third-party repositories, we >>>> don't have a record over exactly what was voted on and the commiter >>>> could easily by mistake push the 'wrong' RC commits or dists >> without >>>> anyone being able to notice or check later. In fact, this very vote >>>> shows two different commit IDs which this time luckily had the same >>>> content. >>>> >>>> Many projects posts RCs on https://dist.apache.org/repos/dist/dev/ - >>>> which is SVN-based - here the revision number and log is sufficient - >>>> we assume the ASF-hosted SVN repository to be 'trusted'. A >> closed >>>> Nexus repository is similarly tracked and immutable. >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Stian Soiland-Reyes >>>> http://orcid.org/0000-0001-9842-9718 >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org >>> For additional commands, e-mail: general-help@incubator.apache.org >> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org >> For additional commands, e-mail: general-help@incubator.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org > For additional commands, e-mail: general-help@incubator.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org For additional commands, e-mail: general-help@incubator.apache.org