summaryrefslogtreecommitdiff
path: root/lib/chef/deprecation
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-054-9/+8
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-027-7/+7
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-026-6/+6
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-027-7/+7
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-144-7/+7
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Find the spot the user called and use that as the deprecation locationJohn Keiser2015-09-252-2/+2
|
* refactor remote_directory providerLamont Granquist2015-09-021-0/+52
| | | | | | | | | | | | | | | | | | | - Huge speed and memory perf boost. In the prior code if you were copying 10 dotfiles to a home directory with a million files in it, would slurp all million files into a ruby Set object even if you were not ultimately going to purge the unmanaged files. This code inverts the logic and tracks managed files and then iterates through the filesystem without slurping a list into memory. - Only do file purging logic if purging is set. - Fixes mutation of new_resource.overwrite. - Fixes mutation of new_resource.rights (subtle). - Adds helper delegators to the new_resource properties. - Deprecates (instead of removes) now-unused methods. - Renamed a method (with deprecated alias preserved) for consistency. - Adds YARD for everything. - Changes protected to private because protected is largely useless in ruby. - Removes whyrun_supported? because the superclass sets that.
* Rename log.deprecation to log_deprecationJohn Keiser2015-09-011-1/+1
|
* Pass the buck on deprecations from Chef 12 -> 13John Keiser2015-09-016-8/+6
|
* Pass deprecations through formatter instead of logsJohn Keiser2015-09-011-3/+2
|
* peer review feedback for deprecation warningsLamont Granquist2015-02-091-3/+5
|
* Add Chef::Log.deprecation and associated wiringLamont Granquist2015-02-091-3/+2
|
* Escape path for globbing.Claire McQuin2014-09-221-1/+2
|
* Fix bad const. ref in deprecation/provider/templatedanielsdeleo2013-08-021-1/+1
| | | | | | | | | | | | | | Fixes CHEF-4406 http://tickets.opscode.com/browse/CHEF-4406 Calls to Chef::Provider::Template#template_location and #template_finder will now correctly reference the Chef::Provider::TemplateFinder class. Chef::Provider::Package#preseed_resource uses these methods expecting an error to be raised only if there is no template with the desired name, which triggers a fallback to cookbook_file-based preseed files. This patch restores the template-based preseed functionality, but will trigger deprecation warnings from within Chef::Provider::Package's internal code.
* Make sure that windows line endings are protected during template rendering.sersut2013-05-302-2/+51
|
* Move code comments to where rdoc/yard expect themdanielsdeleo2013-05-164-22/+24
|
* Spec for deprecation.sersut2013-05-161-1/+1
|
* Deprecated methods for template provider.sersut2013-05-151-0/+63
|
* Deprecated methods for remote_file provider.sersut2013-05-151-0/+86
|
* Deprecated methods for cookbook_file provider.sersut2013-05-151-0/+54
|
* Deprecated functions for file provider.sersut2013-05-152-0/+234