Skip to content

Commit

Permalink
Merge pull request #226 from dylanratcliffe/r10k_parallelism
Browse files Browse the repository at this point in the history
Added support for r10k config files
  • Loading branch information
Dylan authored Apr 21, 2020
2 parents d91309e + c3380f6 commit e80b564
Show file tree
Hide file tree
Showing 25 changed files with 202 additions and 152 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Gemfile.local
/.bin
/.ruby-version
tmp
vendor

# Vim
/.projections.json
Expand Down
154 changes: 72 additions & 82 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
AllCops:
Include:
- 'lib/**/*.rb'
- 'ext/**/*.rb'
- "lib/**/*.rb"
- "ext/**/*.rb"
Exclude:
- '**/*.erb'
- 'acceptance/**/*'
- 'autotest/**/*'
- 'spec/**/*'
- 'tasks/**/*'
- 'vendor/**/*'

Lint/ConditionPosition:
- "**/*.erb"
- "acceptance/**/*"
- "autotest/**/*"
- "spec/**/*"
- "tasks/**/*"
- "vendor/**/*"

Layout/ConditionPosition:
Enabled: true

Lint/ElseLayout:
Expand All @@ -27,11 +27,7 @@ Lint/EnsureReturn:
Enabled: false

# MAYBE useful - errors when rescue {} happens.
Lint/HandleExceptions:
Enabled: false

# MAYBE useful - catches while 1
Lint/LiteralInCondition:
Lint/SuppressedException:
Enabled: false

Lint/ShadowingOuterLocalVariable:
Expand All @@ -41,7 +37,6 @@ Lint/ShadowingOuterLocalVariable:
Lint/LiteralInInterpolation:
Enabled: true


# DISABLED really useless. Detects return as last statement.
Style/RedundantReturn:
Enabled: false
Expand Down Expand Up @@ -97,15 +92,15 @@ Security/Eval:
Enabled: false

# DISABLED
Lint/BlockAlignment:
Layout/BlockAlignment:
Enabled: false

# DISABLED
Lint/DefEndAlignment:
Layout/DefEndAlignment:
Enabled: false

# DISABLED
Lint/EndAlignment:
Layout/EndAlignment:
Enabled: false

# DISABLED
Expand All @@ -123,7 +118,7 @@ Lint/ParenthesesAsGroupedExpression:
Lint/RescueException:
Enabled: false

Lint/StringConversionInInterpolation:
Lint/RedundantStringCoercion:
Enabled: false

Lint/UnusedBlockArgument:
Expand All @@ -147,22 +142,22 @@ Lint/Void:
Layout/AccessModifierIndentation:
Enabled: false

Style/AccessorMethodName:
Naming/AccessorMethodName:
Enabled: false

Style/Alias:
Enabled: false

Layout/AlignArray:
Layout/ArrayAlignment:
Enabled: false

Layout/AlignHash:
Layout/HashAlignment:
Enabled: false

Layout/AlignParameters:
Layout/ParameterAlignment:
Enabled: false

Layout/IndentHeredoc:
Layout/HeredocIndentation:
Enabled: false

Metrics/BlockNesting:
Expand All @@ -174,9 +169,6 @@ Style/AsciiComments:
Style/Attr:
Enabled: false

Style/BracesAroundHashParameters:
Enabled: false

Style/CaseEquality:
Enabled: false

Expand All @@ -195,7 +187,7 @@ Layout/MultilineMethodCallBraceLayout:
Style/CharacterLiteral:
Enabled: false

Style/ClassAndModuleCamelCase:
Naming/ClassAndModuleCamelCase:
Enabled: false

Style/ClassAndModuleChildren:
Expand All @@ -216,29 +208,25 @@ Style/ClassVars:
Style/WhenThen:
Enabled: false


# DISABLED - not useful
Style/WordArray:
Enabled: false

Style/UnneededPercentQ:
Style/RedundantPercentQ:
Enabled: false

Layout/Tab:
Layout/IndentationStyle:
Enabled: false

Layout/SpaceBeforeSemicolon:
Enabled: false

Layout/TrailingBlankLines:
Layout/TrailingEmptyLines:
Enabled: false

Layout/SpaceInsideBlockBraces:
Enabled: false

Layout/SpaceInsideBrackets:
Enabled: false

Layout/SpaceInsideHashLiteralBraces:
Enabled: false

Expand Down Expand Up @@ -278,7 +266,6 @@ Layout/SpaceBeforeBlockBraces:
Layout/SpaceBeforeComma:
Enabled: false


Style/CollectionMethods:
Enabled: false

Expand All @@ -294,7 +281,7 @@ Style/CommentAnnotation:
Metrics/CyclomaticComplexity:
Enabled: false

Style/ConstantName:
Naming/ConstantName:
Enabled: false

Style/Documentation:
Expand All @@ -319,10 +306,10 @@ Style/EachWithObject:
Layout/EmptyLineBetweenDefs:
Enabled: false

Layout/IndentArray:
Layout/FirstArrayElementIndentation:
Enabled: false

Layout/IndentHash:
Layout/FirstHashElementIndentation:
Enabled: false

Layout/IndentationConsistency:
Expand All @@ -340,7 +327,7 @@ Layout/EmptyLinesAroundAccessModifier:
Style/EmptyLiteral:
Enabled: false

Metrics/LineLength:
Layout/LineLength:
Enabled: false

Style/MethodCallWithoutArgsParentheses:
Expand All @@ -358,7 +345,10 @@ Layout/TrailingWhitespace:
Style/StringLiterals:
Enabled: false

Style/TrailingCommaInLiteral:
Style/TrailingCommaInArrayLiteral:
Enabled: false

Style/TrailingCommaInHashLiteral:
Enabled: false

Style/TrailingCommaInArguments:
Expand Down Expand Up @@ -394,7 +384,6 @@ Style/SingleLineMethods:
Style/SpecialGlobalVars:
Enabled: false


Style/TrivialAccessors:
Enabled: false

Expand All @@ -404,7 +393,7 @@ Style/UnlessElse:
Style/VariableInterpolation:
Enabled: false

Style/VariableName:
Naming/VariableName:
Enabled: false

Style/WhileUntilDo:
Expand All @@ -413,7 +402,7 @@ Style/WhileUntilDo:
Style/EvenOdd:
Enabled: false

Style/FileName:
Naming/FileName:
Enabled: false

Style/For:
Expand All @@ -422,7 +411,7 @@ Style/For:
Style/Lambda:
Enabled: false

Style/MethodName:
Naming/MethodName:
Enabled: false

Style/MultilineTernaryOperator:
Expand Down Expand Up @@ -458,7 +447,7 @@ Style/NumericLiterals:
Style/OneLineConditional:
Enabled: false

Style/OpMethod:
Naming/BinaryOperatorParameterName:
Enabled: false

Style/ParenthesesAroundCondition:
Expand All @@ -470,7 +459,7 @@ Style/PercentLiteralDelimiters:
Style/PerlBackrefs:
Enabled: false

Style/PredicateName:
Naming/PredicateName:
Enabled: false

Style/RedundantException:
Expand Down Expand Up @@ -584,13 +573,10 @@ Layout/EmptyLinesAroundMethodBody:
Lint/IneffectiveAccessModifier:
Enabled: false

Performance/StringReplacement:
Enabled: false

Layout/ClosingParenthesisIndentation:
Enabled: false

Style/UnneededInterpolation:
Style/RedundantInterpolation:
Enabled: false

Layout/ElseAlignment:
Expand All @@ -605,7 +591,7 @@ Layout/FirstParameterIndentation:
Style/IfInsideElse:
Enabled: false

Layout/IndentAssignment:
Layout/AssignmentIndentation:
Enabled: false

Layout/SpaceAroundBlockParameters:
Expand All @@ -614,42 +600,24 @@ Layout/SpaceAroundBlockParameters:
Style/ParallelAssignment:
Enabled: false

Performance/RedundantBlockCall:
Enabled: false

Style/IdenticalConditionalBranches:
Enabled: false

Performance/RedundantMatch:
Enabled: false

Style/CommandLiteral:
Enabled: false

Performance/Casecmp:
Enabled: false

Lint/NestedMethodDefinition:
Enabled: false

Layout/SpaceInsideStringInterpolation:
Enabled: false

Performance/RedundantMerge:
Enabled: false

Performance/ReverseEach:
Enabled: false

Style/NestedModifier:
Enabled: false

Lint/NonLocalExitFromIterator:
Enabled: false

Performance/Count:
Enabled: false

Style/NestedParenthesizedCalls:
Enabled: false

Expand All @@ -659,19 +627,10 @@ Layout/RescueEnsureAlignment:
Lint/DuplicateMethods:
Enabled: false

Performance/RangeInclude:
Enabled: false

Style/TrailingUnderscoreVariable:
Enabled: false

Performance/DoubleStartEndWith:
Enabled: false

Performance/RedundantSortBy:
Enabled: false

Performance/TimesMap:
Style/RedundantSortBy:
Enabled: false

Layout/InitialIndentation:
Expand All @@ -691,7 +650,38 @@ Style/ZeroLengthPredicate:

Bundler/OrderedGems:
Enabled: false

# Enforce LF line endings, even when on Windows
Layout/EndOfLine:
EnforcedStyle: lf

Layout/SpaceAroundMethodCallOperator:
Enabled: true

Lint/RaiseException:
Enabled: true

Lint/StructNewOverride:
Enabled: true

Style/ExponentialNotation:
Enabled: true

Style/HashEachMethods:
Enabled: true

Style/HashTransformKeys:
Enabled: true

Style/HashTransformValues:
Enabled: true

# Not used becuase too new for support matrix
Style/NumericPredicate:
Enabled: false

# Not used becuase too new for support matrix
Style/SafeNavigation:
Enabled: false

Style/MixinUsage:
Enabled: false
Loading

0 comments on commit e80b564

Please sign in to comment.