Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup gems checked into git #239

Open
nmaludy opened this issue Sep 6, 2018 · 0 comments
Open

Cleanup gems checked into git #239

nmaludy opened this issue Sep 6, 2018 · 0 comments
Assignees

Comments

@nmaludy
Copy link
Member

nmaludy commented Sep 6, 2018

I was just poking through the git history using this script https://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/

I found that at some point in the past a bunch of gem binaries where checked directly into the repo.

size  pack  SHA                                       location
2561  2557  be6aa88e765c4a14e70ffeb7f45e20bc28f82a87  vendor/cache/puppet-3.7.3.gem
869   866   0050cbd9d0abf38ff600fea3f3914259d54e2ca9  vendor/cache/term-ansicolor-1.3.2.gem
383   275   b6e2422fca0ced54dece99ee8b756d996ef72c0a  vendor/cache/unf_ext-0.0.7.1.gem
292   289   720d862809234400652619427697ec66fc50642b  vendor/cache/tins-1.5.4.gem
228   225   5fa79db2f805d31212edd78c890df2db2c4fa549  vendor/cache/facter-2.3.0-universal-darwin.gem
185   182   f76f65d8bb56fce308de665923a0876901f26a18  vendor/cache/mime-types-2.6.1.gem
179   175   43921dc55a877f3cc39ddc85f9a99bf71a5c83d1  vendor/cache/simplecov-html-0.10.0.gem
148   145   6474a4fcf3d21038d3adc2ce16e2f22ab68cc663  vendor/cache/json-1.8.3.gem
148   145   f766dc258973eacf0dfbdfdb7add2a30eb2c8a58  vendor/cache/json_pure-1.8.2.gem
127   124   0bea3c015a9245240eada0dfa03a6153fb87fb7b  vendor/cache/rake-10.4.2.gem
122   118   81d44af456c5e9239e58a71d9b4192426d2b8369  vendor/cache/rest-client-1.8.0.gem
117   74    01f1852db84d327dad9e72bd2d80a8f4a2d70074  vendor/cache/unf-0.1.4.gem
109   104   2b20659f2b9762051d8d0cc17c07375ba7dcaee0  vendor/cache/rspec-core-3.1.7.gem
102   98    5c16809eb79f2e1ca8f674d6370f66c4049d240a  vendor/cache/domain_name-0.5.24.gem
89    86    1ca502f3a513ea990d71c14abf341e220995ce06  vendor/cache/thor-0.19.1.gem
85    82    39128ca4c29f26c9f19d816ed73053eb06703fce  vendor/cache/mocha-1.1.0.gem
63    58    1625553b9e32036153499080b1c5feb4ff28fb04  vendor/cache/rspec-mocks-3.1.3.gem
62    57    1b0f2258dcf391db924c9c3726a1cc10ae0eb11a  vendor/cache/rspec-expectations-3.1.2.gem
51    48    372564fe138ab7e3aa85f226fae3d0b07820955f  vendor/cache/simplecov-0.10.0.gem
48    43    e4436ccc54911911961bcc89113b273459102fcf  vendor/cache/diff-lcs-1.2.5.gem
42    40    15c8f4bba1c309843abce49c817f1a620d6f8929  vendor/cache/puppet-lint-1.1.0.gem
37    34    9c90dcd5be1280df2ba177da11c8816f5c02ff7a  vendor/cache/http-cookie-1.0.2.gem
29    26    c7c1a52744283a582420dd3dd77ab7e560ebac84  vendor/cache/hiera-1.3.4.gem
22    16    0a230d618d71654d320d4cbae659f9a287d79392  vendor/cache/rspec-support-3.1.2.gem
18    15    c7f1ed24a85cecc9f64164c9abc8fba879eda755  vendor/cache/puppetlabs_spec_helper-0.8.2.gem
17    6     dc6213f5991c266643fc39d365cf0355389ca9c2  CHANGELOG.md
16    13    37be94b763511aefc813dfcfecfd2b184cec5c86  vendor/cache/coveralls-0.8.2.gem
15    12    122a14b85f69c0fd3d092427ecf21a20dcba1c03  vendor/cache/rspec-puppet-1.0.1.gem
15    12    adf1cf0caf5c8c7ea9f0515b1b43b15f91834b08  vendor/cache/CFPropertyList-2.2.8.gem
14    11    4eb5de66b7af6ac04c5e08713640bf3df0fa77eb  vendor/cache/docile-1.1.5.gem
12    2     d6ea4241821cdafbf50bfad9fdb79ea7e75a1275  manifests/profile/server.pp
11    4     354f387c6b8689bb44308dd9ca0a348def2fd701  README.md
11    2     909da8c4354fec99ef4f7159ff6e7c1d95004722  manifests/init.pp
11    8     10e3ff028d1eba39d5107254eae4e0fda7ee3cc1  vendor/cache/puppet-syntax-1.4.1.gem
10    3     0b9b4ea88a5cab47f4569cca0c6ce2dbeea68bbc  manifests/profile/mistral.pp
10    7     29e5655301e637c20a7ef572977aadd28b7e50c1  vendor/cache/netrc-0.10.3.gem
10    3     a3c475c65f9b58f953e388ae715aff2cd8dcac64  spec/helpers/fact_helper.rb
8     2     574cb0435ec74e6264cc230c5e6998e18cb0dc92  manifests/profile/mongodb.pp

We need to delete these from history so the size of the git repo isn't so big.

@nmaludy nmaludy self-assigned this Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant