krobertson / deb-s3

Easily create and manage an APT repository on S3 -- NO LONGER MAINTAINED
MIT License
482 stars 148 forks source link

Use options[:skip_package_upload] where needed #111

Closed dlecocq closed 7 years ago

dlecocq commented 8 years ago

When running a few commands (including upload, list, show, verify), I met with this error:

$ bundle exec deb-s3 verify --bucket=<bucket>
>> Retrieving existing manifests
>> Checking for missing packages in: stable/main amd64
bundler: failed to load command: deb-s3 (/Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bin/deb-s3)
ArgumentError: wrong number of arguments (5 for 6)
  /Users/dan/moz/deb-s3/lib/deb/s3/manifest.rb:34:in `retrieve'
  /Users/dan/moz/deb-s3/lib/deb/s3/cli.rb:508:in `block in verify'
  /Users/dan/moz/deb-s3/lib/deb/s3/cli.rb:506:in `each'
  /Users/dan/moz/deb-s3/lib/deb/s3/cli.rb:506:in `verify'
  /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
  /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
  /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
  /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
  /Users/dan/moz/deb-s3/bin/deb-s3:8:in `<top (required)>'
  /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bin/deb-s3:23:in `load'
  /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bin/deb-s3:23:in `<top (required)>'