Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable ConsistentOverrides by default #1820

Merged
merged 2 commits into from
Jul 8, 2021

Conversation

carterkozak
Copy link
Contributor

Note that this will automatically apply fixes for findings, which
must be manually reviewed relatively carefully to avoid making
certain bugs less detectable. This will allow more upgrades to
merge successfully and prevent future bugs from merging because
these are only automatically applied by baseline upgrades and
when they're run manually.

This change also updates the check to allow case-insensitive matching
which will allow checks to pass in places that previously caused
friction or required suppressions. Sometimes third party APIs
use upper-camel names, and it can be difficult to fix them in a
reasonable amount of time. I've never encountered such a case where
two parameters had the same name with different casing. If we find
such APIs, it may be best to migrate to other libraries...

==COMMIT_MSG==
Enable ConsistentOverrides by default
==COMMIT_MSG==

Note that this will automatically apply fixes for findings, which
_must_ be manually reviewed relatively carefully to avoid making
certain bugs less detectable. This will allow more upgrades to
merge successfully and prevent _future_ bugs from merging because
these are only automatically applied by baseline upgrades and
when they're run manually.

This change also updates the check to allow case-insensitive matching
which will allow checks to pass in places that previously caused
friction or required suppressions. Sometimes third party APIs
use upper-camel names, and it can be difficult to fix them in a
reasonable amount of time. I've never encountered such a case where
two parameters had the same name with different casing. If we find
such APIs, it may be best to migrate to other libraries...
@carterkozak carterkozak requested a review from ferozco July 8, 2021 14:51
@changelog-app
Copy link

changelog-app bot commented Jul 8, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Enable ConsistentOverrides by default

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from tpetracca July 8, 2021 14:52
@bulldozer-bot bulldozer-bot bot merged commit fed6c87 into develop Jul 8, 2021
@bulldozer-bot bulldozer-bot bot deleted the ckozak/apply_ConsistentOverrides branch July 8, 2021 14:57
@svc-autorelease
Copy link
Collaborator

Released 3.97.0

This was referenced Jul 8, 2021
bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Jul 8, 2021
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 3.97.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Enable ConsistentOverrides by default | palantir/gradle-baseline#1820 |



To enable or disable this check, please contact the maintainers of Excavator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants