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 AAF82200B95 for ; Tue, 13 Sep 2016 05:23:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A99AC160AC8; Tue, 13 Sep 2016 03:23:58 +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 CB938160AB8 for ; Tue, 13 Sep 2016 05:23:57 +0200 (CEST) Received: (qmail 95509 invoked by uid 500); 13 Sep 2016 03:23:57 -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 95493 invoked by uid 99); 13 Sep 2016 03:23:56 -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; Tue, 13 Sep 2016 03:23:56 +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 0D771C042C for ; Tue, 13 Sep 2016 03:23:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.928 X-Spam-Level: *** X-Spam-Status: No, score=3.928 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, RCVD_IN_SORBS_SPAM=2.397] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pivotal-io.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Bae54hBHAMsJ for ; Tue, 13 Sep 2016 03:23:52 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 472285FAE3 for ; Tue, 13 Sep 2016 03:23:52 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id y2so356755600oie.0 for ; Mon, 12 Sep 2016 20:23:52 -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=ycxL3OnTR8E2vhkqsRuigaICA2XKawj57LB8tk+0wgM=; b=PphmQwY5zIiWfzwj2uz3rw/jlZwzCencIsPrfL3huDgnDSsbJZ49UMUfQhz5imQ53q lR6D+GtZE/e66AOItDuLYdcLbNTnQKKT2eYQAlMeaUZ7HB4w2SU1nz4nDJVwlnTGt5Lv YaZKM/9UxEcrYOwUX553PfZVZHb+BFUAy9Pi4jrvVxELgyb8xd9pX+QzDd0McrYT9gFI R+J39Blyusw/VGGlT7BM5MOCn56/sCbP+QNgBA5tVvig+xLB3U12aP0mlLM/0RqvmdMH 08uyN55xEhgvorscVNM8TkjcuzCI6ZVoZLVgBC0etxCkFVShoK4NGMUP2vuseTD+bohO 1PTw== 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=ycxL3OnTR8E2vhkqsRuigaICA2XKawj57LB8tk+0wgM=; b=fH8a5aDFaY7exBOh84kHc4HWl1XqV7B3pBoS/vVCjc7NcYMg5LkHoB+ttUICYfaTE4 Eg6bn/WZByZ9HJ/s9ZT6aPycdT2ffEPx8fsC93A96RDY68DMX+jYRM7oDmLW8OIbS0/4 /sgSLokzjZqOiGhPV99BDlcrejhtD4h8AEFASCsvwob8vy7SGCsKgELs0Jw3a5sPsgip NRLHeA0u3UXwkb+r1uImvgs2pC+aLAgpyvXp0E++fQk090TK2lJhyA5pJAOjhlAIzssE c/aAYHtGpgw3SPhK7+C7coLqpBBKRJfKIofvuwB6UT97Op1GdqLkTh7D/yQVzrQb+KvQ WECQ== X-Gm-Message-State: AE9vXwOpesVBkCj6wh3+tJGmoie9H78J1th0pf32BaIgCy5TKQ7yvh4DzkGUleqBGZiuVuXExdRD2j3m4mPDkUqf X-Received: by 10.202.186.65 with SMTP id k62mr3896751oif.143.1473737031225; Mon, 12 Sep 2016 20:23:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.205.131 with HTTP; Mon, 12 Sep 2016 20:23:50 -0700 (PDT) In-Reply-To: References: From: Ming Li Date: Tue, 13 Sep 2016 11:23:50 +0800 Message-ID: Subject: Re: [Vote] Shrink a Git Repository To: dev@hawq.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113cd8563d2d46053c5b2446 archived-at: Tue, 13 Sep 2016 03:23:58 -0000 --001a113cd8563d2d46053c5b2446 Content-Type: text/plain; charset=UTF-8 Even it is no need at current time, we need to shrink after release because previous we changed a lot for building process, and now all these processes are stable now. A lot of files under specific directories are useless(e.g. goh/ext/*), we can delete all files to decrease more space. On Tue, Sep 13, 2016 at 10:48 AM, Radar Da lei wrote: > 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 * > > > > > > > > > > --001a113cd8563d2d46053c5b2446--