Skip to content

Bump resources with livechecks on brew bump #17401

Open
@Bo98

Description

@Bo98

Verification

Provide a detailed description of the proposed feature

We support bumping Python resources on brew bump but we should support bumping resources with a livecheck block.

This is probably not too big of the task. The update detection code is already there in livecheck and the resource-replacement code is already there in brew update-python-resources - we just need need to extract the pieces and fit them together.

Unlike brew bump on formulae, we don't want to bump resources that don't have an explicit livecheck block as many have rules on when they should be updated. Repology information should also not be used.

Additionally, it would be great to have an additional opt-in flag that is able to bump resources even when the parent formula hasn't actually updated. We will probably want this for Homebrew/portable-ruby (but probably not in Homebrew/core).

What is the motivation for the feature?

To fully automate the one part of Portable Ruby updating that isn't already

How will the feature be relevant to at least 90% of Homebrew users?

Maintainer effort in the long-term is spent elsewhere on impactful issues

What alternatives to the feature have been considered?

Bump these manually

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuresNew featureshelp wantedWe want help addressing this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions