You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 19:01:17 UTC
[19/50] [abbrv] brooklyn-client git commit: add comment on
big-to-small limitation
add comment on big-to-small limitation
explains why we weren't getting the reduction we expected, but now we should be good...
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/3f1b31ae
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/3f1b31ae
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/3f1b31ae
Branch: refs/heads/master
Commit: 3f1b31ae34a635ceb78ef9075fd832fe39b840a8
Parents: ebb4c45
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Wed Dec 16 19:57:59 2015 +0000
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Wed Dec 16 19:57:59 2015 +0000
----------------------------------------------------------------------
big-to-small.sh | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/3f1b31ae/big-to-small.sh
----------------------------------------------------------------------
diff --git a/big-to-small.sh b/big-to-small.sh
index f910e76..b7b109c 100755
--- a/big-to-small.sh
+++ b/big-to-small.sh
@@ -2,6 +2,8 @@
# lists files in history in size order, in big-to-small.gen.txt
# capped at 200 of the biggest blobs (generating about 3000 of the biggest size files in history)
+# however this does not show the former names of the blobs so if the same file is in multiple times this script will not currently show you all instances!
+
pushd incubator-brooklyn
git rev-list --objects --all | sort -k 2 > ../TMP-allfileshas.txt
git gc && git verify-pack -v .git/objects/pack/pack-*.idx | egrep "^\w+ blob\W+[0-9]+ [0-9]+ [0-9]+$" | sort -k 3 -n -r | head -200 > ../TMP-bigobjects.txt