summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* syntax fixlcg/keepalives2Lamont Granquist2016-03-081-1/+1
|
* keepalive rebaseLamont Granquist2016-03-088-63/+206
|
* Merge pull request #4673 from dduponchel/GH-2561Thom May2016-03-082-4/+33
|\ | | | | preferred_manifest_record: fix pretty print.
| * preferred_manifest_record: fix pretty print.David Duponchel2016-03-072-4/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `preferred_manifest_record` function pretty prints the list of existing files when the asked file can't be found. To do that, the root path of the cookbook is removed from each existing file but the update is done on the `existing_files` variable, not on a copy. When called several times, this variable will eventually be equals to `[nil]`, leading to a NoMethodError. Without the fix, the new unit test fails with > expected Chef::Exceptions::FileNotFound, got #<NoMethodError: undefined method `[]' for nil:NilClass> with backtrace: > # ./lib/chef/cookbook_version.rb:321:in `block in preferred_manifest_record' > # ./lib/chef/cookbook_version.rb:319:in `map!' > # ./lib/chef/cookbook_version.rb:319:in `preferred_manifest_record' > # ./spec/unit/cookbook_version_file_specificity_spec.rb:318:in `block (3 levels) in <top (required)>' > # ./spec/unit/cookbook_version_file_specificity_spec.rb:317:in `block (2 levels) in <top (required)>' Fixes #2561.
* | Bump version to 12.8.112.8.1jk/bump-versionJohn Keiser2016-03-074-6/+11
|/
* Merge pull request #4667 from chef/accept_dockerMatt Wrock2016-03-043-0/+16
|\ | | | | adding docker to top_cookbooks
| * adding docker to top_cookbooksMatt Wrock2016-03-043-0/+16
| |
* | Revert "Unpin github_changelog_generator"Lamont Granquist2016-03-041-1/+1
| | | | | | | | This reverts commit 57ea7d9278201d23c94397650a454281fe16fb7d.
* | Unpin github_changelog_generatorJohn Keiser2016-03-041-1/+1
|/
* Merge pull request #4617 from chef/lcg/chefstyle-perfLamont Granquist2016-03-0473-106/+156
|\ | | | | Autofixing new Perf cops in 0.37.2
| * add some @yield docsLamont Granquist2016-03-0416-5/+53
| | | | | | | | added some FIXMEs because trying to sort out types for random undocumented code was making me completely aggro
| * remove unused block argumentslcg/chefstyle-perfLamont Granquist2016-02-2325-29/+29
| |
| * Autofixing new Perf cops in 0.37.2Lamont Granquist2016-02-2363-75/+77
| | | | | | | | | | | | | | | | | | | | 6 Performance/Casecmp 18 Performance/Detect 1 Performance/RangeInclude 27 Performance/RedundantBlockCall 6 Performance/RedundantMatch 5 Performance/RedundantMerge 18 Performance/StringReplacement
* | Merge pull request #4651 from chef/tball/rehash_errorTyler Ball2016-03-048-4/+105
|\ \ | | | | | | Always rehash from gem source and not existing hash file
| * | Adding specs for rehash updatetyler-ball2016-03-046-3/+72
| | |
| * | Changing the knife behavior when using the cached plugins to only display 1 ↵tyler-ball2016-03-041-3/+21
| | | | | | | | | | | | error message when plugin files are missing from the cache
| * | First part of fixing the rehash command, it now always loads gems from disc ↵tyler-ball2016-03-043-1/+15
|/ / | | | | | | instead of using the hash file
* | Merge pull request #4663 from chef/lcg/better-chef-rspec-constraintsLamont Granquist2016-03-0414-44/+39
|\ \ | | | | | | better chef+ruby rspec constraints
| * | remove merge conflict resolution errorlcg/better-chef-rspec-constraintsLamont Granquist2016-03-031-4/+0
| | |
| * | better chef+ruby rspec constraintsLamont Granquist2016-03-0314-42/+41
| | | | | | | | | | | | | | | | | | | | | | | | lets us use Gem::Dependency constraints directly as rspec constraints for matching Chef::Version and RUBY_VERSION. copies some magic sauce from bundler that does something similar
* | | Merge pull request #4664 from chef/salam/databag-fixThom May2016-03-042-3/+55
|\ \ \ | | | | | | | | Data bag item hash can have name key
| * | | Data bag item hash can have name keysalam/databag-fixSalim Alam2016-03-032-3/+55
| | | |
* | | | Merge pull request #4478 from chef/lcg/rfc-060-gem-metadataLamont Granquist2016-03-0315-8/+245
|\ \ \ \ | |_|/ / |/| | | RFC-060 gem metadata MVP
| * | | need to require bundlerlcg/rfc-060-gem-metadataLamont Granquist2016-02-231-0/+1
| | | | | | | | | | | | | | | | for Bundler::UI
| * | | pull latest nightly instead of latest releaseLamont Granquist2016-02-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | if we're dependent upon fixing something in the omnibus build (i.e. the shipped version of appbundler) it makes sense to install over the latest nightly rather than the latest release.
| * | | remove now-unnecessary requireLamont Granquist2016-02-091-1/+0
| | | |
| * | | add some metadata specs around 'gem' methodLamont Granquist2016-02-091-0/+27
| | | |
| * | | try to avoid the halite tests for nowLamont Granquist2016-02-091-0/+4
| | | |
| * | | rubocopismsLamont Granquist2016-02-091-2/+2
| | | |
| * | | can't strip the PATH out of the env.Lamont Granquist2016-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | also add back a bunch of other ruby env vars so that our ruby environment remains sane.
| * | | fix broken specsLamont Granquist2016-02-092-1/+4
| | | |
| * | | add comments and cleanupLamont Granquist2016-02-093-7/+14
| | | |
| * | | remove unnecessary paranoiaLamont Granquist2016-02-091-5/+1
| | | |
| * | | make rubygems.org configurableLamont Granquist2016-02-093-2/+4
| | | | | | | | | | | | | | | | for bonus points gem_package will pick this up as well.
| * | | get the formatting for cookbook gems correctLamont Granquist2016-02-096-18/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this leverages the PR: https://github.com/bundler/bundler/pull/4245 to redirect output from bundler into chef's logger/formatter to get the UI right. if you don't have that in the external bundler you'll just get output on STDOUT. fix is to upgrade bundler.
| * | | also update rubygems correctlyLamont Granquist2016-02-091-0/+2
| | | |
| * | | remove bundle_install override on haliteLamont Granquist2016-02-091-1/+0
| | | |
| * | | always update bundlerLamont Granquist2016-02-091-0/+1
| | | |
| * | | fixed my .vimrc auto-copyright headerLamont Granquist2016-02-091-1/+1
| | | |
| * | | spellngLamont Granquist2016-02-091-1/+1
| | | |
| * | | set the floor to when bundler/inline was releasedLamont Granquist2016-02-091-2/+3
| | | |
| * | | bundler is now a runtime depLamont Granquist2016-02-091-0/+3
| | | |
| * | | RFC-060 gem metadata MVPLamont Granquist2016-02-095-1/+90
| | | |
* | | | Merge pull request #4654 from chef/salam/chef-cleanupSalim Alam2016-03-031-0/+2
|\ \ \ \ | |_|/ / |/| | | Cleanup static libs at build time
| * | | Cleanup static libs at build timesalam/chef-cleanupSalim Alam2016-03-031-0/+2
|/ / /
* | | Merge pull request #4652 from chef/missing_chefdk_maintainersTyler Ball2016-03-032-3/+3
|\ \ \ | | | | | | | | ChefDK was mistakenly left out of the Chef maintenance policy
| * | | ChefDK was mistakenly left out of the Chef maintenance policymissing_chefdk_maintainerstyler-ball2016-03-022-3/+3
| | | |
* | | | Merge pull request #4655 from coderanger/solobagNoah Kantrowitz2016-03-032-0/+6
|\ \ \ \ | | | | | | | | | | Clearer exception for loading non-existent data bag items in solo mode.
| * | | | Clearer exception for loading non-existent data bag items in solo mode.Noah Kantrowitz2016-03-022-0/+6
| | | | |
* | | | | Merge pull request #4657 from chef/tm/option_changelog_generatorThom May2016-03-031-6/+10
|\ \ \ \ \ | | | | | | | | | | | | guard against changelog generator not being installed