Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cache vendored gems

  • Loading branch information...
commit 1a6ad365694fc1e608a0a04ea35c292d00e2b6f2 1 parent 1b1d558
@rodjek authored
View
2  .gitignore
@@ -0,0 +1,2 @@
+.bundle/
+vendor/gems
View
28 Gemfile.lock
@@ -0,0 +1,28 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ diff-lcs (1.1.3)
+ facter (1.6.9)
+ puppet (2.7.14)
+ facter (>= 1.5.1)
+ puppet-lint (0.1.13)
+ rake (0.9.2.2)
+ rspec (2.10.0)
+ rspec-core (~> 2.10.0)
+ rspec-expectations (~> 2.10.0)
+ rspec-mocks (~> 2.10.0)
+ rspec-core (2.10.1)
+ rspec-expectations (2.10.0)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.10.1)
+ rspec-puppet (0.1.3)
+ rspec
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ puppet (>= 2.7)
+ puppet-lint
+ rake
+ rspec-puppet
View
BIN  vendor/cache/diff-lcs-1.1.3.gem
Binary file not shown
View
BIN  vendor/cache/facter-1.6.9.gem
Binary file not shown
View
BIN  vendor/cache/puppet-2.7.14.gem
Binary file not shown
View
BIN  vendor/cache/puppet-lint-0.1.13.gem
Binary file not shown
View
BIN  vendor/cache/rake-0.9.2.2.gem
Binary file not shown
View
BIN  vendor/cache/rspec-2.10.0.gem
Binary file not shown
View
BIN  vendor/cache/rspec-core-2.10.1.gem
Binary file not shown
View
BIN  vendor/cache/rspec-expectations-2.10.0.gem
Binary file not shown
View
BIN  vendor/cache/rspec-mocks-2.10.1.gem
Binary file not shown
View
BIN  vendor/cache/rspec-puppet-0.1.3.gem
Binary file not shown

2 comments on commit 1a6ad36

@malthe

Why would you include binary gems in your repository? Did you even check the licenses?

Your module is supposed to make it "easy" to write logrotate.d rules such as:

/var/log/dpkg.log {
    monthly
    rotate 12
}

I'm not sure it can be justified to generate such a rule in the first place, but certainly using 3.2 megabytes to pull off that stunt is rather gross.

tcp90

@rodjek
Owner

Why would you include binary gems in your repository?

  • Because rubygems.org doesn't have the greatest uptime.
  • Because I like to work in places that don't have internet connectivity (like planes).
  • Because it's my repo and I'll do as I damn well please

Pick one.

Did you even check the licenses?

You mean the MIT and Apache licenses that allow redistribution?

I'm not sure it can be justified to generate such a rule in the first place

So don't use my module, I'm sure as hell not going to force you.

using 3.2 megabytes

Perhaps use the packages built for distribution that are 12Kb in size instead of my development environment?

rather gross

Please sign in to comment.
Something went wrong with that request. Please try again.