-
-
Notifications
You must be signed in to change notification settings - Fork 11k
formula_auditor: audit no_autobump! stanza on version bump
#21550
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -368,10 +368,12 @@ def self.check_deprecate_disable_reason(formula_or_cask) | |||||
| "#{reason} is not a valid deprecate! or disable! reason" unless reasons.include?(reason) | ||||||
| end | ||||||
|
|
||||||
| sig { params(message: T.any(String, Symbol)).returns(T.nilable(String)) } | ||||||
| def self.no_autobump_new_package_message(message) | ||||||
| sig { params(message: T.any(String, Symbol), new_package: T::Boolean).returns(T.nilable(String)) } | ||||||
| def self.no_autobump_audit_message(message, new_package: false) | ||||||
| return if message.is_a?(String) || message != :requires_manual_review | ||||||
|
|
||||||
| "`:requires_manual_review` is a temporary reason intended for existing packages, use a different reason instead." | ||||||
| msg = new_package ? "use a different reason instead" : "change or remove autobump exclusion reason" | ||||||
|
|
||||||
| "`:requires_manual_review` is a temporary to-be deprecated reason, #{msg}." | ||||||
|
||||||
| "`:requires_manual_review` is a temporary to-be deprecated reason, #{msg}." | |
| "`:requires_manual_review` is a temporary reason slated for deprecation, #{msg}." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a #odeprecated somewhere to be uncommented when we're ready to deprecate for the next major/minor release?
Uh oh!
There was an error while loading. Please reload this page.