mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
* Adjust highline requires. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Refactor glibc_build237. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust cmake logic for cmake_build_relative_dir. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update buildsystems... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Rebuild glibc 2.37 packages. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust fixup for case of loading from much older crew. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Try to handle loading fixup on older crew update. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Handle older crew setups. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Use rubocop exclusion for only const.rb and fixup.rb. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Remove attr_accessor from buildsystems. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Force update compatible if coming from an older crew. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * remove require_gem from package.rb Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add fallback for remove.rb Signed-off-by: Satadru Pramanik <satadru@gmail.com> * const tweaks... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust const.rb & fixup.rb to remove error messages on load after require. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Make remove run crew update compatible if being run on a newer underlying chromebrew. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust fixup to be more resilient to being loaded in an older crew. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Switch from symbolized json import. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Revert most changes. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust essential deps handling in fixup. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Cleanup save_json in fixup. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update highline Signed-off-by: Satadru Pramanik <satadru@gmail.com> * save json more. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * save json more. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * test remove changes Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more remove debug code. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more remove debug code. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * add debug to fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * add debug to fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * add debug to fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Refresh crew json when calling crew functions or exiting fixup. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Refresh crew json when calling crew functions or exiting fixup. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fix json string usage in remove Signed-off-by: Satadru Pramanik <satadru@gmail.com> * essential package debugging Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust remove debugging... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more remove debugging Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Remove debugging code from commands/remove.rb Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Remove more debugging code from lib/fixup. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust remove test to test both remove with and without debug argument. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update const.rb to not set x86 constants when not on x86. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Set x86 constants to nil when not on x86. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Bump crew version. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
126 lines
2.5 KiB
YAML
126 lines
2.5 KiB
YAML
---
|
|
# The behavior of RuboCop can be controlled via the .rubocop.yml
|
|
# configuration file. It makes it possible to enable/disable
|
|
# certain cops (checks) and to alter their behavior if they accept
|
|
# any parameters. The file can be placed either in your home
|
|
# directory or in some project directory.
|
|
#
|
|
# RuboCop will start looking for the configuration file in the directory
|
|
# where the inspected file is and continue its way up to the root directory.
|
|
#
|
|
# See https://docs.rubocop.org/rubocop/configuration
|
|
|
|
AllCops:
|
|
Exclude:
|
|
- 'lib/docopt.rb'
|
|
NewCops: enable
|
|
TargetRubyVersion: 3.3
|
|
|
|
# These cops have been temporarily disabled and should be reenabled asap
|
|
Lint/ShadowingOuterLocalVariable:
|
|
Enabled: false
|
|
|
|
Lint/Debugger:
|
|
DebuggerMethods:
|
|
Pry: ~
|
|
|
|
# Need to allow reloading const.rb from fixup.rb
|
|
Lint/OrAssignmentToConstant:
|
|
Exclude:
|
|
- 'lib/const.rb'
|
|
- 'lib/fixup.rb'
|
|
|
|
Lint/SuppressedException:
|
|
Enabled: false
|
|
|
|
Layout/HashAlignment:
|
|
EnforcedHashRocketStyle:
|
|
- separator
|
|
EnforcedColonStyle:
|
|
- separator
|
|
# When this is reenabled, keep the EnforcedHashRocketStyle and EnforcedColonStyle configuration
|
|
Enabled: false
|
|
|
|
# End temporarily disabled cops
|
|
|
|
Layout/EmptyLineAfterGuardClause:
|
|
Enabled: false
|
|
|
|
Layout/FirstHashElementIndentation:
|
|
Enabled: false
|
|
# EnforcedStyle: consistent
|
|
|
|
Layout/LineLength:
|
|
Enabled: false
|
|
|
|
Style/RedundantReturn:
|
|
Enabled: false
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: false
|
|
|
|
Style/MutableConstant:
|
|
Enabled: false
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
Style/GuardClause:
|
|
Enabled: false
|
|
|
|
Style/DocumentDynamicEvalDefinition:
|
|
Enabled: false
|
|
|
|
# https://github.com/rubocop/rubocop/issues/12132
|
|
Style/OptionalBooleanParameter:
|
|
Enabled: false
|
|
|
|
Style/ClassVars:
|
|
Enabled: false
|
|
|
|
Style/GlobalVars:
|
|
Enabled: false
|
|
|
|
Style/FormatStringToken:
|
|
Enabled: false
|
|
|
|
Style/MultilineBlockChain:
|
|
Enabled: false
|
|
|
|
Style/NumericLiterals:
|
|
Enabled: false
|
|
|
|
Style/RedundantCapitalW:
|
|
Enabled: false
|
|
|
|
Style/RedundantLineContinuation:
|
|
Enabled: false
|
|
|
|
Style/RedundantStringEscape:
|
|
Enabled: false
|
|
|
|
Metrics:
|
|
Enabled: false
|
|
|
|
Naming/AccessorMethodName:
|
|
Enabled: false
|
|
|
|
Naming/BlockParameterName:
|
|
Enabled: false
|
|
|
|
Naming/ClassAndModuleCamelCase:
|
|
Exclude:
|
|
- 'packages/*'
|
|
|
|
Naming/VariableName:
|
|
EnforcedStyle: snake_case
|
|
# Allow variable names which are in all caps (with optional numbers and underscores)
|
|
AllowedPatterns:
|
|
- '^@?[A-Z0-9_]+$'
|
|
|
|
Naming/VariableNumber:
|
|
Enabled: false
|
|
|
|
Naming/HeredocDelimiterNaming:
|
|
Enabled: false
|