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 9F4AE200B95 for ; Tue, 13 Sep 2016 04:48:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9ABBF160AC8; Tue, 13 Sep 2016 02:48:53 +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 BE93E160AB8 for ; Tue, 13 Sep 2016 04:48:52 +0200 (CEST) Received: (qmail 38934 invoked by uid 500); 13 Sep 2016 02:48:51 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 38920 invoked by uid 99); 13 Sep 2016 02:48:51 -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, 13 Sep 2016 02:48:51 +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 ADC20C09ED for ; Tue, 13 Sep 2016 02:48:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.531 X-Spam-Level: * X-Spam-Status: No, score=1.531 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_05_10=0.001, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_LOW=-0.7, 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=pivotal-io.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 KWUBCjjgW6Jp for ; Tue, 13 Sep 2016 02:48:48 +0000 (UTC) Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 59DB65F1F4 for ; Tue, 13 Sep 2016 02:48:48 +0000 (UTC) Received: by mail-oi0-f53.google.com with SMTP id y2so354971360oie.0 for ; Mon, 12 Sep 2016 19:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=157iGFiy+afZU1tnxSqRhWFLCU4rjrPEDaQquJmbP+E=; b=pXYgA/DQF7+2te71dFf054newi0NI+uEjZpFDYmj1krsZndi67ypU7leCLnGmabhUt 28x5aVqmWHwgYd3hkU+ZNMmQycAHPoA5zXZzGT4dXKMtEoRyOCVyy8He3Q6r/7LRAkol aWkbNTVTIbegVl/dkl37cgkGh8SBveFyYTLMuSPg4+q3ac0ltyucjhVvHq6//AMH3/za DaSlzpEnm2nzvoMSGb5pZY2zEjN+RJGslT6j+A2xchgMdumgrhe12F31RjsVOSyucG+P 4kGJ4Eshj6Z1PyZAjE4e3M43M0ZP/WOq5hT/kbSoiMP++8q9HbQsKbuBB9/9J3XDbari g7eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=157iGFiy+afZU1tnxSqRhWFLCU4rjrPEDaQquJmbP+E=; b=Us97CZCdUWt9hGSLhdydXCbezr+zCLIcfIF2yuy+cLEfs720sIZs+TTda+DWpu7jpS ld0+FdRkSRPZPwv4pViRv5t1nZeYKmONSG/XUBnHnCGB45bl0La6KXc/R7+m5z9ORFsE KSPWZWyv5nGoC4+FMy5zIsMIE+zJU/bXmn2/96qT/hbwhcCxme6fGZr/wzRSMSvHdCk0 Ec9AcSE6eEm0c2V+037aasEolnTs3M3+lpMbysWYOABS0RFIjkYMCWAwaIGp8vHTLJdc 6cZ1+mlVj8tV89jrvaCBpDhf2fUvna9akjTl+qoqTIFLUTyaHO8tXh2ISjFUhR/+9Jwe bhQg== X-Gm-Message-State: AE9vXwNwQ4TpmIFsUCWjwJg2QXyZxChOZ8ptSzmuoL4xU5LuOw708reYqb59pgaw1S5jnNi3X3TmInqfY9hTHej5 X-Received: by 10.157.37.24 with SMTP id k24mr27361705otb.28.1473734921947; Mon, 12 Sep 2016 19:48:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.44.39 with HTTP; Mon, 12 Sep 2016 19:48:21 -0700 (PDT) In-Reply-To: References: From: Radar Da lei Date: Tue, 13 Sep 2016 10:48:21 +0800 Message-ID: Subject: Re: [Vote] Shrink a Git Repository To: dev@hawq.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113e32ec841fb9053c5aa654 archived-at: Tue, 13 Sep 2016 02:48:53 -0000 --001a113e32ec841fb9053c5aa654 Content-Type: text/plain; charset=UTF-8 I don't feel like the shrink is necessary, for a slow network, 177MB to 100MB does not help much. It will make all the users to delete their current git repo and redo the clone. And it might not be a simple git clone, will need to do a lot changes on local git settings, e.g. remotes, branches merges. Users even might need to recreate their github fork. So I think shrinking the HAWQ repo is good, but it's not worth to do it at this point. Thanks. Regards, Radar On Tue, Sep 13, 2016 at 10:33 AM, Paul Guo wrote: > Does this affect an existing cloned repo (i.e. do we need to re-clone a > fresh repo if we want to check in something)? > > Does this affect "git checkout $tag"? (I need to rebase to an old release.) > > 2016-09-12 18:36 GMT+08:00 Ming Li : > > > Hi Ed, > > > > Here I just delete below large files from git repo, the contents in these > > file cannot be retrieved anymore( but all these files are useless in > > current build process), however git log is still there. > > > > Below is all file lists removed. Please review them and point out if they > > are in use. Thanks > > ------------------------ Current removed ------------------------ > > All sizes are in kB. The pack column is the size of the object, > compressed, > > inside the pack file. > > size pack SHA location > > 42707 8921 eb59c507535698b76e67d4965814e417fbdacde9 > > goh/ext/rhel5_x86_64/lib/libmadlib.so > > 22879 22283 bb2673f70c88573c45ea4ffa59da69e517aa2ba5 > > repo/Pivotal/libhdfs3/1.2.1-rc1/targzs/libhdfs3-rhel5_x86_ > > 64-1.2.1-rc1.targz > > 12939 12450 a33fb9101505ab2475861d50b4b1ad9ec4da811a > > repo/Pivotal/libhdfs3/1.2.1-rc1/targzs/libhdfs3-osx106_ > > x86-1.2.1-rc1.targz > > 11077 10890 878971186fde916bab67555bc65ac4dcf662b5f8 > > pxf/tools/pxfd/pxfd-1.0-1.noarch.rpm > > 11019 10989 ec7c1e1a8d76f78c1222230ac13dbbbe8c5acc57 > > pxf/tools/pxfd/rpmbuild/SOURCES/pxfd.tar.gz > > 7573 1722 ab532846e72d24f11066e7c7f248d03d2fbbe8fa > > depends/thirdparty/orc/examples/expected/demo-12-zlib.jsn.gz > > 5618 1836 b4f773943dea27e443abe0ee8bec0679de989e9b > > gpcc/WIN32/gpcc.ncb > > 5182 1016 1031f7d3f70ff48f674927cf486c95e0f9166860 > > goh/ext/osx105_x86/lib/libmadlib.so > > 5027 122 1d1d714a846259ec5b2b0471e55eec94efd7671d > > depends/thirdparty/orc/examples/demo-11-none.orc > > 3685 3669 7c71d14c0fcca416444cda1b0673158b71011973 > > gpcc/ext/openssl-0.9.8r.tar.gz > > 1806 283 1e60f847659633dd4308a21f8d0b5c163cc519a0 > > releng/ereport/ereport.txt > > 1802 1796 97447c5120c7d2f1e738dbe6886cb58609ce739f > > tools/bin/pythonSrc/epydoc-3.0.1.tar.gz > > 1750 314 271bb9448ee8c7baf13db19ada4d99a7c5b418eb > > releng/ereport/ereport.txt > > > > > > > > On Mon, Sep 12, 2016 at 6:17 PM, Ed Espino wrote: > > > > > -1 Need more information. What is the impact (are any useful files > > lost)? > > > Are any files removed? > > > > > > -=e > > > > > > On Mon, Sep 12, 2016 at 4:52 PM, Ming Li wrote: > > > > > > > Hi all, > > > > > > > > I heard from someone complain about the slowness to git clone hawq > > repo. > > > > And we have almost finished large code modification for apache > > release, I > > > > think it is opt time for us to shrink git repo size now. > > > > > > > > I followed the steps in > > > > http://stevelorek.com/how-to-shrink-a-git-repository.html, deleted > > some > > > > large file which is not useful in current build process, it can > reduce > > > > size from 174M to 100M. > > > > > > > > However it need all clone to be re-clone again after git push the > > changed > > > > repo. So I am writing this email to ask for voting it. > > > > > > > > Thanks. > > > > > > > > > > > > > > > > -- > > > *Ed Espino* > > > *espino@apache.org * > > > > > > --001a113e32ec841fb9053c5aa654--