summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package
Commit message (Collapse)AuthorAgeFilesLines
* break yum provider out into fileslcg/yum-readabilityLamont Granquist2016-05-254-959/+1022
|
* sacrifice a commit to rubocopLamont Granquist2016-05-091-3/+3
|
* the =~ in ruby is awfulLamont Granquist2016-05-091-3/+3
| | | | | | | | if you decorate/delegate =~ you can't update the capture variables which are local to the calling context. maybe something could be done to update the $~ in the binding of the caller, but i don't want to do that today...
* Merge pull request #4760 from svmastersamurai/fix_choco_nil_chompPhil Dibowitz2016-05-051-0/+1
|\ | | | | Chocolatey Package Provider chomps nil object
| * fix quotesDan Sedlacek2016-03-281-1/+1
| |
| * Let's just be more paranoidDan Sedlacek2016-03-281-1/+1
| |
| * updated code + specsDan Sedlacek2016-03-281-0/+1
| |
* | Merge pull request #4888 from chef/lcg/multipackage-apt-providerLamont Granquist2016-05-051-103/+97
|\ \ | | | | | | Make apt package provider use_multipackage_api aware
| * | handle purging and removing virtual packagesLamont Granquist2016-05-031-3/+9
| | |
| * | add check for passing nil candidate_version to superclassLamont Granquist2016-05-031-3/+0
| | |
| * | make private things privateLamont Granquist2016-05-031-60/+60
| | |
| * | lazier assembly of data, more multipackagingLamont Granquist2016-05-031-42/+34
| | |
| * | code is much less brain-hurty nowLamont Granquist2016-05-031-25/+41
| | | | | | | | | | | | | | | | | | i think i fixed a bug here where now we expect the superclass to raise on candidate_version = nil when installing, so now we can remove packages that do not have a candidate_version
| * | vastly simplify extracting the installed versionLamont Granquist2016-05-031-4/+1
| | |
| * | this variable does nothingLamont Granquist2016-05-031-9/+0
| | |
| * | multipackage apt providerLamont Granquist2016-05-031-34/+29
| | |
* | | this seems both more readable and correctLamont Granquist2016-05-021-13/+2
| | |
* | | WIPLamont Granquist2016-05-021-2/+2
| | |
* | | Update gem_package with version constraint on :upgrade actionWill Jordan2016-05-021-11/+18
|/ / | | | | | | | | | | Add Package#version_requirement_satisfied? to separate fuzzy-match (:install) and exact-match (:upgrade) version checks when supported by the package subclass. Wrap Package#candidate_version in a lazy-initialization object to minimize unnecessary API queries when candidate_version is not needed. (fixes #3867)
* | The easy_install provider (and resource) are deprecated and will be removed ↵Noah Kantrowitz2016-04-231-0/+2
| | | | | | | | | | in Chef 13. This is because easy_install itself is long-since deprecated by the Python community and has been de-facto unmaintained for around 5 years.
* | Update rubygems provider to support local install of gems if so specifiedksubrama+praj/FLOW-298/local_gemPrajakta Purohit2016-04-211-1/+4
| |
* | update to latest chefstyle - fix casecmptm/fix_casecmpThom May2016-04-201-1/+1
| |
* | fix for #4715Andrii Melnyk2016-03-161-1/+1
|/
* This commit is why AndOr needs to be bannedLamont Granquist2016-03-141-2/+2
| | | | | | | | I can barely understand what these intend. I'm pretty certain that the logic in the encrypted data bag item code was wrong (fixed now to match the comment) and I'm believe I converted the yum code to preserve the logic. But holy fuck its hard to read the yum code that I'm replacing.
* chefstyle Style/AndOr fixesLamont Granquist2016-03-145-43/+43
| | | | | this is part of our informal style guide, lets make it formal since clearly its not getting followed very well.
* s/escape_glob/escape_glob_dir/lcg/fix-escape-globLamont Granquist2016-03-102-3/+3
| | | | | Removes all remaining references to the deprecated escape_glob helper routine.
* Merge pull request #4617 from chef/lcg/chefstyle-perfLamont Granquist2016-03-042-2/+2
|\ | | | | Autofixing new Perf cops in 0.37.2
| * Autofixing new Perf cops in 0.37.2Lamont Granquist2016-02-232-2/+2
| | | | | | | | | | | | | | | | | | | | 6 Performance/Casecmp 18 Performance/Detect 1 Performance/RangeInclude 27 Performance/RedundantBlockCall 6 Performance/RedundantMatch 5 Performance/RedundantMerge 18 Performance/StringReplacement
* | Merge pull request #4478 from chef/lcg/rfc-060-gem-metadataLamont Granquist2016-03-031-1/+1
|\ \ | | | | | | RFC-060 gem metadata MVP
| * | make rubygems.org configurableLamont Granquist2016-02-091-1/+1
| | | | | | | | | | | | for bonus points gem_package will pick this up as well.
* | | fixes #4639 and returns true from define_resource_requirements for MSIsmsiMatt Wrock2016-02-291-1/+1
| | |
* | | Meant to use the value from the if..then, then put a line above the if.cd/fix-choco-errorChris Doherty2016-02-251-6/+4
| | |
* | | Add a spec to better mimic the acceptance test.Chris Doherty2016-02-251-6/+6
| | |
* | | Change the Chocolatey check to look for choco.exe in #choco.exe.unknown2016-02-241-11/+10
| |/ |/|
* | fixed exe package downloadsMatt Wrock2016-02-221-30/+39
| |
* | flip multiline function arguments aroundlcg/rubocop-0.37.2Lamont Granquist2016-02-191-2/+2
| | | | | | | | no enforced trailing comma on arguments...
* | deal with 0.37.2 renamed copsLamont Granquist2016-02-184-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 252 Style/TrailingCommaInLiteral 84 Style/TrailingCommaInArguments 15 Style/SpaceAroundKeyword -- 351 Total We already dealt with SpaceAroundKeyword under its old name SpaceBeforeModifierKeyword, it looks like it got stricter about spaces after keywords. TrailingComma also got split, and it looks like the TrailingCommaInArguments behavior is new?
* | zypper multipackage performance fixlcg/fix-zypperLamont Granquist2016-02-171-1/+1
| | | | | | | | | | helps to remember the values of expensive things that we go off and compute.
* | do not include source parameter when removing a chocolatey package and ↵no_webMatt Wrock2016-02-111-3/+4
| | | | | | | | ensure source is used on all functional tests
* | autofixing auto-inserted delimiterslcg/chefstyle-batchLamont Granquist2016-02-092-2/+2
| |
* | auto fixing some rubocopsLamont Granquist2016-02-095-5/+5
|/ | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* autofixing whitespace copsLamont Granquist2016-02-0519-94/+92
| | | | | | | | | | | | | | | | | | | | | | 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
* Chocolatey provider: Raise a MissingLibrary exception if we can't find ↵cd/choco-error-msgChris Doherty2016-02-031-8/+28
| | | | Chocolatey.
* Update for chef.io domain in copyright lines too.Noah Kantrowitz2016-02-021-1/+1
|
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-027-8/+8
| | | 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-028-8/+8
| | | 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-0226-31/+31
| | | 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"
* only require what we needlcg/zypper-multipackageLamont Granquist2016-01-251-3/+1
|
* zypper multipackage patchLamont Granquist2016-01-251-39/+52
|
* Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimetersLamont Granquist2016-01-184-4/+4
| | | | | | See chef/chefstyle#11 for analysis and discussion. We select '{}' since audit of our source code shows that is the most common, and that used to be the dominant learning paradigm (e.g. in ruby 1.9 pickaxe book.