2025-04-24 15:04:49 +02:00
|
|
|
# typed: strict
|
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2025-06-24 16:38:11 +02:00
|
|
|
NO_AUTOBUMP_REASONS_INTERNAL = T.let({
|
|
|
|
extract_plist: "livecheck uses `:extract_plist` strategy",
|
|
|
|
latest_version: "`version` is set to `:latest`",
|
|
|
|
}.freeze, T::Hash[Symbol, String])
|
|
|
|
|
|
|
|
# The valid symbols for passing to `no_autobump!` in a `Formula` or `Cask`.
|
|
|
|
# @api public
|
2025-04-24 15:04:49 +02:00
|
|
|
NO_AUTOBUMP_REASONS_LIST = T.let({
|
|
|
|
incompatible_version_format: "incompatible version format",
|
2025-05-03 00:36:48 +02:00
|
|
|
bumped_by_upstream: "bumped by upstream",
|
2025-05-27 21:27:40 +02:00
|
|
|
requires_manual_review: "a manual review of this package is required for inclusion in autobump",
|
2025-06-24 16:38:11 +02:00
|
|
|
}.merge(NO_AUTOBUMP_REASONS_INTERNAL).freeze, T::Hash[Symbol, String])
|